xain
xain

Reputation: 13849

Running eclipse task from command line

I have a bunch of J2EE applications built using eclipse, and I'd like to know if there's a way to automate the "export ear with sources" functionality in such way that I can program a task to run it every night.

Thanks

Upvotes: 1

Views: 728

Answers (1)

Ladlestein
Ladlestein

Reputation: 6150

I think I've found something for you. See HeadlessEclipse. It has an export-ears option. Be warned, the project says it is "officially dead". They did release versions, however.

Here's a link that uses HeadlessEclipse.

I would probably put my effort towards converting your builds to Maven or ANT, but perhaps HeadlessEclipse is worth a quick shot.

Upvotes: 1

Related Questions