ant-user mailing list archives

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


--P



-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com]
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.

Jake

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
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}${appmak
e
>.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