RE: .project and .classpath

2010-10-13 Thread prakash.sivakumar
Thank you very much brian, I tried using the sample in my project and it worked out. Thanks a lot. -Original Message- From: Brian Pontarelli [mailto:br...@pontarelli.com] Sent: Wednesday, October 13, 2010 8:21 PM To: Ant Users List Subject: Re: .project and .classpath I tend to use Groovy

Proper way to translate list of jars from properties file into classpath

2010-10-13 Thread KARR, DAVID (ATTSI)
I have a property defined in my properties file that specifies a list of jar files associated with a particular framework. I'll need to reference all of those jars any time I reference one of them, so I put them in a single property. It currently looks like this: cxf-patches = ${lib}/cxf-xjc

Re: .project and .classpath

2010-10-13 Thread Brian Pontarelli
I tend to use Groovy for almost all my targets these days, and it makes dealing with XML pretty simple. However, if you want to avoid Groovy, you can just brute force this puppy like this: Your Project Name here org.eclipse.jdt.core.javabuilder

RE: .project and .classpath

2010-10-13 Thread prakash.sivakumar
Can you please send me a sample, how the target would look like, Consider only the log4j need to be in my classpath and the nature of my project is just JAVA nature. Thanks Prakash S -Original Message- From: Brian Pontarelli [mailto:br...@pontarelli.com] Sent: Wednesday, October 13, 2010

Re: .project and .classpath

2010-10-13 Thread Brian Pontarelli
The main purpose of the .project file is to set the project name and the main purpose of the .classpath file is to set the dependencies. It really depends on what you need, but I would suggest that checking those files into source control would make life simpler. Or if you want to build them usi

RE: .project and .classpath

2010-10-13 Thread prakash.sivakumar
Thank you very much brian, but we are using apache ant to build our projects. Is there any way in getting those files when building the project using apache ant. Thanks Prakash S -Original Message- From: Brian Pontarelli [mailto:br...@pontarelli.com] Sent: Wednesday, October 13, 2010 7:2

Re: .project and .classpath

2010-10-13 Thread Brian Pontarelli
This depends on your dependency management tool. If you are using Savant, Ivy or Maven, it is pretty simple to write a target that generates these files. -bp On Oct 13, 2010, at 3:36 AM, wrote: > > > "mvn clean compile install eclipse:eclipse" > > Generates the following eclipse configu

.project and .classpath

2010-10-13 Thread prakash.sivakumar
"mvn clean compile install eclipse:eclipse" Generates the following eclipse configuration files: .project and .classpath files .setting/org.eclipse.jdt.core.prefs with project specific compiler settings .various configuration files for WTP (Web Tools Project), if the parameter wtpversion is set

Re: Binding of typedefs to namespaces recursively

2010-10-13 Thread Kieran Simpson
I inaccurately gave the second project definition. It should be: I'm still having no luck figuring this out, so better to correct myself, in case it helps. I'm also using Ant 1.8.1 Regards, Kieran S On 01/-9/37 05:59, Kieran Simpson wrote: > I have an Antlib foo.xml that