ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob van Oostrum <rvanoost...@ezgov.com>
Subject Re: Problem of dependencies ...
Date Mon, 25 Jun 2001 08:31:26 GMT
make sure you only include the sources you want to compile in the <javac>.
Better yet, make sure you exclude **/doNotTouch/**/*.java

Include the doNotTouch class files in the <javac> classpath.

that should solve your problem

Cyriaque Dupoirieux wrote:

> Hello,
>
>    I'm new on this list and I have to say that english is not my first
> language...
>
>    Well, we've got a problem of re-compilation of files that have not
> been excluded.
>
>    We use the following task :
>
>    <target name="Compilation">
>        <javac srcdir="sources"
>            destdir="codes"
>            includes="paquetage/**"
>        />
>    </target>
>
>    Our directory organisation is like this :
>        sources/projet/... (*.java)
>        sources/doNotTouch/... (*.java)
>
>        codes/projet/...  (*.class)
>        codes/doNotTouch/... (*.class)
>
>    Some classes from the project package inherits a class from the
> doNotTouch package,
>    and even if we haven't included the doNotTouch package, ant compile
> some classes of this package.
>
> What can I do, I can't modify the doNotTouch package because it is not
> of my own and I must not
> compile it because it gives me some problems...
>
> Thank you for your help,
>
> --
> Cyriaque Dupoirieux
> PCO Technologies
> Burolines - 2 ter rue Marcel Doret
> 31700 Blagnac
> Tél : 05 34 60 44 13 - Fax : 05 34 60 44 10


Mime
View raw message