Results 1 to 3 of 3
  1. #1
    ziggy is offline Member
    Join Date
    Nov 2008
    Posts
    11
    Rep Power
    0

    Default excludes in javac target

    Hi all,

    I am new here.. :)

    Can anyone see why "excludes" in this ANT code snippet does not work?

    Java Code:
    <target name="compile" depends="prepare,resources">
    		<echo>Compiling java sources:</echo>
    		<echo>${junit.path}**</echo>
    		<javac excludes="${junit.path}/**" srcdir="${src.dir}" destdir="${classes.dir}">
                <classpath refid="compile.classpath"/>
            </javac>
     </target>
    Here are the relevant properties used in the above code

    Java Code:
    <property name="src.dir"		value="../java/com"/>
    <property name="junit.path"		value="${src.dir}/bt/ccs21/test" />
    <property name="classes.dir"	value="${build.dir}/classes"/>

  2. #2
    racerxadam is offline Member
    Join Date
    Jul 2008
    Posts
    68
    Rep Power
    0

    Default

    What is the error output?

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. javac command not recognized
    By sunshine39 in forum New To Java
    Replies: 7
    Last Post: 03-04-2009, 03:54 AM
  2. javac?
    By sardare in forum Eclipse
    Replies: 1
    Last Post: 06-14-2008, 02:06 AM
  3. source code of 'javac'?
    By Pooja Deshpande in forum Advanced Java
    Replies: 2
    Last Post: 06-04-2008, 11:24 AM
  4. javac DOS
    By rdunne in forum New To Java
    Replies: 3
    Last Post: 01-01-2008, 11:49 AM
  5. Help with javaC
    By Daniel in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •