|Ant file generation [message #1036530]
||Mon, 08 April 2013 09:57
| Ron A
Registered: December 2010
I am the only person who has any knowledge of Ant at the company where I work. I have developed several important Java projects for them. I am now required to have a simple way for my co-workers to re-generate my Jar files if I'm not here. By simple I mean they can't have to bring up Eclipse.|
I know how to get Eclipse to generate an ant build file if I just want to compile a project (export/general/ant build file), and to generate an ant build file for an executable jar files (export/java/executable jar file/save build script).
However, I can find no simple way to get Eclipse to generate the ant script for a non-executable Jar file. I know that with ant it is extremely simple to generate a Jar, however I am under pressure to keep the entire process simple - which is to say that I am supposed to be able to create the Ant script by clicking some buttons and not by hand-editing a build.xml.
Eclipse will correctly build the ant script for compiling, and for executable jar files. What am I missing? How can I get it to generate a build script for a non-executable jar file?
I am sure that some of you will feel this approach is totally wrong headed, but it is what my manager and I came up with. I will have Eclipse generate the ant scripts (which only need to be updated if the build path changes) and then write a very simple ant script in a well known directory that will call the appropriate Eclipse generated scripts. To change this approach would require a whole new round of negotiations with my manager.
Powered by FUDForum
. Page generated in 0.03926 seconds