Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

synchronising / maintaining ant and eclipse classpaths

I'd be interested to find out about any automated processes that people have for ensuring that the project classpaths for the ant and eclipse configurations are in synch. In my case, I want the classpath defined in the ant build file to be the master configuration, since its used for our production builds. As part of the build i'd like to add an ant target that will verify that the eclipse classpath is up to date, or at least indicate differences between the two classpaths.

I'm aware of ant4eclipse but its focus is in the opposite direction, ensuring that the eclipse classpath is master and that the ant build reuses the eclipse path. I like the idea behind AntAndEclipse but am wondering are their ant other tools in this space that i'm not aware of.

like image 462
emeraldjava Avatar asked Nov 15 '22 16:11

emeraldjava


1 Answers

You solution at a previous company was to have ant invoke Eclipse to do the compiles as described here:

http://www.eclipse.org/articles/Article-PDE-Automation/automation.html

like image 56
Jeffrey Fredrick Avatar answered Dec 09 '22 09:12

Jeffrey Fredrick