Hello,


I would like to know why javac does not compile those
two classes while compiling the whole package.

Have you got any ideas ?
Is the package statement in these two files correct ?
What does javac say if you compile the package without
ant from the cmd-line ?


thanks,
mfg Frank

Rajkumar Seth wrote:
> 
> I tried this based on the  example code and it does not seem to do anything.
> 
>    <javac srcdir="${build.classes}"
>            destdir="com/gerrard/equities/reconciliationserver/"
>            classpath="${classpath}"
>            debug="on"
>            deprecation="on"
>            includes="utils/JVMFunctions.java,utils/NetworkFunctions.java"
>        >
>     </javac>
> 
> Does anyone have an example of a JAVAC that builds 2 files in a package with
> more than 2 files and then builds the rest of the package?
> 
> -----Original Message-----
> From: Suu Quan [mailto:[EMAIL PROTECTED]]
> Sent: 2001 May 22 00:52
> To: [EMAIL PROTECTED]
> Subject: Re: Why does <javac> recompile even source not modified?
> 
> ----- Original Message -----
> From: "Diane Holt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 21, 2001 3:16 PM
> Subject: Re: Why does <javac> recompile even source not modified?
> 
> > Use:
> > <target name="utils">
> >   <javac srcdir="/stp" destdir="/stp"
> >        includes="util/*.java"
> >        excludes="util/Copy.java"
> >        verbose="yes/>
> > </target>
> >
> > IOW: The "srcdir" attr should point up to where the package hierarchy
> > begins, and the filenames should begin with the package hierarchy -- it's
> > how it matches source-files to class-files.
> 
> Diane
> 
> Man, you're good. Fixed my build file and it worked.
> What do I owe you so far?
> 
> ************************************************************************
> The contents of this message and any attachments are confidential and
> are intended solely for the attention and use of the addressee only.
> Information contained in this message may be subject to legal,
> professional or other privilege or may otherwise be protected by other
> legal rules. This message should not be copied or forwarded to any other
> person without the express permission of the sender. If you are not the
> intended recipient you are not authorised to disclose, copy, distribute
> or retain this message or any part of it.
> 
> If you have received this message in error, please notify the sender by
> telephone (+44-20-7002-4000) and destroy the original message.
> 
> We reserve the right to monitor all e-mail messages passing through our
> network.
> ************************************************************************


Reply via email to