Build.xml invocation by Build Script

Hi

I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this?

ant (which i assume you're using as it's the most common user of build.xml), was deliberately designed as a platform neutral build environment.

simply

cd $directory_with_build.cml_in_it
/usr/local/bin/ant build # or whatever path/target combination you require
1 Like