On Monday, September 01, 2008 12:34 PM, Rainer Frey wrote:
(could you *please* restrict replies to the list, not my personal
address!)
I use the "Reply all" button when replying which is the recommended way.
This normally sends both to the list and to recipient but the list usually
is smart enough not to send you this twice. I apologize if I this time used
another button or if there is something wrong with your or mine setup.
> I have not (yet) worked with XCode and java, but I suspect that a
> full
> project build might contain a cleanup target that deletes the compiled
> class
> files from a previous run.
I was referring to Ant, not to javac. Javac has limited make
functionality
but it is only one of tens or hundreds of commands that may be used in
Ant.
If you study build.xml file created by Xcode you discover that it does a
lot of other things than running javac. All those things will be done
regardless whether any java source files changed or not.
Of course. Read again what I wrote.
Agreed, you too please.
Ant simply calls javac with no option that
might disable those javac capabilities. All the OP has to do is to make
sure
that ant doesn't clear/delete the copiled classes directory, and only
changed
class files will be compiled. As I said, I don't work with XCode and Java,
so
I can't tell how exactly this has to be done. But this is the way to
achieve
what is wanted.
The OP was wondering why Xcode generated build.xml project rebuilds
everything. I tried to explain that. What he wants to achieve I do not know.
Keeping compiled classes will only prevent recompiling Java code. It will
not prevent executing the other build commands. Perhaps you could look into
Xcode generated build.xml files and thereafter give him even more help.
Regards/Mikael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden