ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Javac oddities
Date Thu, 20 Feb 2003 12:53:42 GMT
Matthew Oatham wrote:
> Yes this is how I have defined the task
> 
> <project name="testCompile" default="compile" basedir=".">
>     <target name="compile">
>         <javac srcdir="C:\WorkArea\5_14\Code\com"
>                destdir="C:\WorkArea\5_14\Build\classesTest"
>                depend="true">
>             <classpath>
>                 <pathelement path="${classpath}"/>
>                     <fileset dir="C:\WorkArea\5_14\Build\Lib">
>                         <include name="**/*.jar"/>
>                     </fileset>
>             </classpath>
>         </javac>
>     </target>
> </project>
> 
> As an aside I see that depend will only work with compilers that support
> this. Although when I set the compiler to classic I get other problems!
> 

Nothing to do with depend attribute. Have you read the FAQ? The "com" in 
your srcdir is the problem.

Conor



Mime
View raw message