Re: IDEA Project generation from ant

2009-11-04 Thread Brian Pontarelli
On Nov 3, 2009, at 9:44 PM, Raja Nagendra Kumar wrote: I generally only generate .classpath files Could you tell me how you archive this with ant The .classpath format is an extremely simple XML format that tells the IDE where the source paths are and the JAR files for the project. This

RE: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
Hi Shawn, Thank you Shawn for sharing your macro. We shall start from here.. and see if we could write a good ant task based on this. Regards, Nagendra -- View this message in context: http://old.nabble.com/IDEA-Project-generation-from-ant-tp26160045p26191008.html Sent from the Ant - Users mai

Re: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
> I generally only generate .classpath files Could you tell me how you archive this with ant >Try to keep it simple because most of the time you are just updating the dependencies of the project. This is perfect way.. could be archived by syncup with the existing ipr files. Yes, mostly clas

Re: IDEA Project generation from ant

2009-11-03 Thread Brian Pontarelli
I generally only generate .classpath files and then use them in both Eclipse and IntelliJ. Savant also has a plugin for generating files and since it is an Ant script , you can use that. The best approach is to use a stock XML file that contains most everything and then a simple script to a

RE: IDEA Project generation from ant

2009-11-03 Thread Shawn Castrianni
I would advise against creating the ipr file as it is very long and nasty. I would suggest only generating the iml file which is the important part and points to the source code locations and dependent jars. I have written a macrodef to generate an IML that has been tested against IJ 8.1.3. T