This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Compiled files are compiling again. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Compiled files are compiling again." Watch "Compiled files are compiling again." New topic
Author

Compiled files are compiling again.

hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

i have the following ant files, calling 'compileall' twice compiles the source files again, even though they are already compiled with the first call.

source for build.xml


common.xml, login.xml, admin.xml are similar.

source for admin.xml





SCJP, SCWCD
hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

please help, it is important for me
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
From the Ant manual:

Do not include part of your package structure in the srcdir attribute (or nested <src> elements), or Ant will recompile your source files every time you run your compile target.


Guy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiled files are compiling again.