AW: JDK142, ANT154: Convert java class name to relative path

2007-07-25 Thread Jan.Materne
Also have a look at the file mapper http://ant.apache.org/manual/CoreTypes/mapper.html#unpackage-mapper Jan >-Ursprüngliche Nachricht- >Von: Karr, David [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 25. Juli 2007 01:54 >An: Ant Users List >Betreff: JDK142, AN

Re: Question about usage

2007-07-25 Thread Brian Agnew
You really need the DTDs PUBLICID for xmlcatalog (see http://ant.apache.org/manual/CoreTypes/xmlcatalog.html) but you don't appear to have that in your DTD selection below. I'm not au fait with but I don't believe that it'll work with just a SYSTEM identifier. Brian On Wed, July 25, 2007 03:53,

Re: Installing Ant is non-standard and stupid

2007-07-25 Thread Steve Loughran
evilfred wrote: This is a rant. Why does Ant (at least the source distro) not install like *every other sane source distro on earth*, with "configure / make / make install". This is what users expect and enter by default. I'd rather not mess around having to read proprietary installation inf

RE: Re: How can I capture a file's date to a property?

2007-07-25 Thread cknell
Thanks again. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Dale Anson <[EMAIL PROTECTED]> Sent: Tue, 24 Jul 2007 20:13:41 -0600 To: Ant Users List Subject: Re: How can I capture a file's date to a property? What those mean is that there are other

RE: Calling a String

2007-07-25 Thread Joshua Wunder
Sorry it took so long to respond Found something that looks good in antxtras - I'm just having a problem I'd like to print the to a file. I see that I can do that with , but for some reason it also attaches the two # lines and josh.test=. All I want is the a,b,c,d. stringtest: [printenv] #

Re: Question about usage

2007-07-25 Thread Ninju Bohra
Dang...I was so close to making a quick 'ANT' solution instead of writing a first-class JAVA program to apply the modest modifications to the XML files. Before giving up, and writing the JAVA program, what would be miminal change in the entry to allow the use of the element? Note...I also cros

Re: help with some conditional logic..

2007-07-25 Thread aaron smith
That's perfect. Thanks much.

Re: JLink replacement

2007-07-25 Thread Matt Benson
--- Martin Ficker <[EMAIL PROTECTED]> wrote: > Sorry, > I have to push this again. Is the question to > stupid? To difficult? No > one any idea? Martin: The deprecation notice in the manual for says: Use the zipfileset and zipgroupfileset attributes of the Jar task or Zip task instead. Actu

The Manifest task

2007-07-25 Thread Corcoran, Bob
Hello, I have large number of library jars that I need to add to a project that will be deployed on Websphere. I am using the manifest task inside the ear task to accomplish this. I just list the jars separated by spaces as the value of the Class-Path attribute. I list them all on one long line

RE: The Manifest task

2007-07-25 Thread Corcoran, Bob
Ok, thanks. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 3:50 PM To: Ant Users List Subject: Re: The Manifest task Yep. That's part of the Jar specification, and there's a link in the jar task doco. --DD On 7/25/07, Corcoran, Bob <

Re: The Manifest task

2007-07-25 Thread Dominique Devienne
Yep. That's part of the Jar specification, and there's a link in the jar task doco. --DD On 7/25/07, Corcoran, Bob <[EMAIL PROTECTED]> wrote: Matt, So the does the fact that the lines are wrapped after a certain number of characters mean that the class loader should be able to resolve, for exam

fnd host operating system in build file.

2007-07-25 Thread warhero
is there any ant tasks to find the host operating system it's running on in a build file? like win / mac / linux / etc. -- View this message in context: http://www.nabble.com/fnd-host-operating-system-in-build-file.-tf4147900.html#a11799826 Sent from the Ant - Users mailing list archive at Nabbl

Re: fnd host operating system in build file.

2007-07-25 Thread Matt Benson
--- warhero <[EMAIL PROTECTED]> wrote: > > is there any ant tasks to find the host operating > system it's running on in a > build file? like win / mac / linux / etc. Check out the condition (under task, supported conditions) as well as ant-contrib's task. HTH, Matt > -- > View this messa

Getting Ant property from Java class

2007-07-25 Thread Chris
How do I set a property equal to a value obtained from a Java class? For example, in our app we define the version in a constant: class MyClass { static public final String VERSION = "1.0"; } In build.xml, I'd like to assign a version property: and then use it to, say, name the .jar fil

RE: The Manifest task

2007-07-25 Thread Corcoran, Bob
Matt, So the does the fact that the lines are wrapped after a certain number of characters mean that the class loader should be able to resolve, for example, common s-logging-1.1.jar into: commons-logging-1.1.jar Thanks, Bob -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED]

Re: Getting Ant property from Java class

2007-07-25 Thread Matt Benson
--- Chris <[EMAIL PROTECTED]> wrote: > How do I set a property equal to a value obtained > from a Java class? > > For example, in our app we define the version in a > constant: > > class MyClass { > static public final String VERSION = "1.0"; > } > > In build.xml, I'd like to assign a ver

Re: The Manifest task

2007-07-25 Thread Matt Benson
Bob: Please see the relevant information in 's documentation in the manual. Thanks, Matt --- "Corcoran, Bob" <[EMAIL PROTECTED]> wrote: > Hello, > > > > I have large number of library jars that I need to > add to a project that > will be deployed on Websphere. I am using the > manifest task

Re: help with some conditional logic..

2007-07-25 Thread Dominique Devienne
On 7/23/07, warhero <[EMAIL PROTECTED]> wrote: bill/wilandra wrote: > Create a target named init which will define/set props.someprop to any > value. > This would kind of work. But this will fail to execute all commands in a "depends" chain. if one of the if tests isn't met then subsequent ta

Re: JLink replacement

2007-07-25 Thread Martin Ficker
Sorry, I have to push this again. Is the question to stupid? To difficult? No one any idea? M. Martin Ficker wrote: > Hi, > > I've got a question about the Jar task. > The JLink task was able to merge the content of jarfiles from > different, totally unrelated places, defined in a PATH Structur

Re: JLink replacement

2007-07-25 Thread Doug Lochart
Martin, I do not know of an alternative (there might be one) but I have never had to do what you are doing. Have you considered getting the source for JLink and then making it your own ant task? You can then adjust it to suit your needs? Just a thought. Maybe someone can chime in and say wh