I've just tried to move all the functionality from build.xml into build-ant1.5.xml. In particular
- samples exist and run - tests now run
They didn't before? I changed it to not rely on a junit.jar in the lib directory, but instead on a junit included in the ant lib directory. But I noticed that you put the junit jar back into the classpath. Didn't it work for you? Or did you not have junit in your ant lib directory?
I was also wondering why you had a commented out <!--path refid="id.classpath.coverage" /--> in your id.classpath, where I didn't have it in the original, but maybe I have commented it out in the meantime :)
In any case I am fairly certain it can go :)
- header at startup (version etc.) - build src and distribution archives - external call to forrest to build docs
Could people have a look? I've tried to strip everything right back to basics, but there may be simpler/cleaner ways to do things, so feel free to comment and/or change directly!
Well.. I have been playing around with making 3 build files to split up functionality.
How about we have seperate build files for:
- Samples - Distributions - Normal development (compile, test etc)
Are we happy to move to this as the formal build.xml?
I can't wait to get rid of the beast :)
Erwin
