ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veena pandit <v.kri...@gmail.com>
Subject compile in ant
Date Mon, 21 Sep 2009 19:22:08 GMT
I have the following directory structure
      WORKSPACE
            |
            |__________src
                       |
                       |______com.test.test1
                       |         |______program1.java
                       |
                       |____tests
                           |
                           |_________com.test.test1
                                  |
                                  |______program1Test.java


The compile.all target compiles the program1.java but not the
program1Test.java
How do I get it to compile everything including the program1Test.java in the
tests directory:

<target name="compile.all">
<mkdir dir="${build.dir}"/>
<javac debug="on" fork="true" destdir="{build.dir}/classes" srcdir=
"${basedir}/src" classpathref="axis2.classpath">
                 <classpath>
                      <fileset dir="lib">
                            <include name="**.jar"/>
                     </fileset>
                     <fileset dir="${basedir}/jar">
                           <include name="**.jar"/>
                      </fileset>
                  /</classpath>
  </javac>
</target>


Thanks in advance,

Veena

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message