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

2010-10-14 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Wednesday, October 13, 2010 1:05 PM > To: Ant Users List > Subject: Proper way to translate list of jars from properties file into > classpath > > I have a property defined in my properties file that spe

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: "available" appears to get confused if I use "-f buildfile"

2010-08-19 Thread KARR, DAVID (ATTSI)
d.xml ", this doesn't work because it looks for the "review" directory in the "../dir" directory, not the current directory. > -Original Message- > From: KARR, DAVID (ATTSI) [mailto:dk0...@att.com] > Sent: Thursday, August 19, 2010 2:08 PM >

"available" appears to get confused if I use "-f buildfile"

2010-08-19 Thread KARR, DAVID (ATTSI)
I have a build file that gets imported into my current build file. The imported build file has an "available" task to set a property if a particular directory exists, in the current directory. I have a situation where I might instead have to not have that "import", but instead do a "ant -f ../...

How to put all jars in a path variable (minus some exclusions) into WEB-INF/lib?

2010-05-20 Thread KARR, DAVID (ATTSI)
I have a "build.classpath" path variable. I want all of the jars, but not the classes, and minus some specific exclusions, to be put into my WEB-INF/lib. All of the jars specified there are stored in a specific directory, but I don't know that I want to depend on that. I have a "war" element, an

Trouble trying to use xjc from JAXB 2 with Ant 1.7.1

2010-02-09 Thread KARR, DAVID (ATTSI)
I'm having some annoying classpath problems trying to do something relatively simple, just running the "xjc" task from a small Ant build script. I'm using JDK 1.5 and Ant 1.7.1. I'm seeing the following exception when I try to run xjc: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/runtime/