Ant
From Maslab 2007
Ant is a tool for automatically building your code.
- Put
build.xmlin the directory with your source. - To build your code just type
ant. Ant will try to be intelligent about which files need to be recompiled based on the changes you have made.- Sometimes you need to rebuild the whole tree. In that case, type
ant cleanto delete all your classfiles, and then typeantto rebuild. - Ant creates a directory named
depcache; this is a dependency cache that helps it build faster. You can safely delete it, but your next build will be slightly slower as it is recreated.
- Sometimes you need to rebuild the whole tree. In that case, type
Ant can also automatically upload your files to the Eden. Open build.xml and set the appropriate IP address (robotIP) and destination directory (destDir). Then typing ant upload will build all your software and then upload it to the Eden. You should set up passwordless login to avoid typing your password every time.
Ant is in the sipb locker (add sipb).
