Arne
Arne

Reputation: 8481

Use command-line Ant to build Eclipse Ant project

For my current project I need to run the build of our Java projects. But for the current task I am doing, Eclipse is not helping at all. All tools I need are not integrated in Eclipse, everything I do in Eclipse is clicking the Ant tasks. So is there a way to just do it by command line?

Simply calling the command arguments for Ant does not work.

I am running on Ubuntu Linux.

Upvotes: 2

Views: 3080

Answers (1)

Brent Wilson
Brent Wilson

Reputation: 213

You can invoke the command-line builder with the following command.

eclipsec -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE%

For more information see Headless Building with APT in Eclipse.

Upvotes: 2

Related Questions