ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Oatham" <matthewoat...@hotmail.com>
Subject Re: Javac oddities
Date Thu, 20 Feb 2003 13:11:53 GMT
D'oh as soon as you mentioned that I remembered I had read it somewhere and
needed to be aware of it! Thanks for reminding me!

Cheers.

Matt.

----- Original Message -----
From: "Conor MacNeill" <conor@cortexebusiness.com.au>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, February 20, 2003 12:53 PM
Subject: Re: Javac oddities


> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>

Mime
View raw message