ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praseed Balakrishan <pras...@acceleratednetworks.soft.net>
Subject classic compiler and depended java files
Date Mon, 05 May 2003 10:40:11 GMT
Hi All,

Iam having trouble building java src tree with modern complers since they
fail to generate classes for successsfuk compliation as soon as the compiler
detects compliation error.
so i changed the compiler options to classic and then  tried compiling the
source. Now i have a problem of dependency. classic compiler not compiling
the depended classes by itself.

<target name="occamview.java" depends="init">
     <echo message="compiling occamview java files... "/>
     <owclasspath property="appmake.classpath.for.compile"/>
     <mkdir dir="${appmake.basedir}/build/classes" /> 
     <!-- compiles common files -->
     <javac
classpath="${appmake.basedir}/build/lib/rcmeta.jar${path.separator}${appmake
.classpath.for.compile}"
            debug="on"
            nowarn="on"
            listfiles="yes"
            failonerror="false"
            deprecation="on"
            optimize="on"
            compiler="classic"
            srcdir="${appmake.basedir}/build/src/com"
            destdir="${appmake.basedir}/build/classes"
             />
  </target>


owclasspath is my own customized task to get the classpath.

is there anything im doing wrong or is it this the default behavior. ?????

Thanks
--Praseed

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