ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praseed Balakrishan <>
Subject RE: classic compiler and depended java files
Date Mon, 05 May 2003 12:34:48 GMT
It works(shud have been "src") but with classic, not modern compilers.


-----Original Message-----
From: Jacob Kjome []
Sent: Monday, May 05, 2003 5:58 PM
To: Ant Users List
Subject: Re: classic compiler and depended java files

Seems to me you should be pointing at "src", not "src/com".  Try that with 
the modern compilers and your problems should be cleared up.


At 04:10 PM 5/5/2003 +0530, you wrote:
>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
>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="" depends="init">
>      <echo message="compiling occamview java files... "/>
>      <owclasspath property="appmake.classpath.for.compile"/>
>      <mkdir dir="${appmake.basedir}/build/classes" />
>      <!-- compiles common files -->
>      <javac
>             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. ?????

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