RE: Re: Maven vs. Ant?

2006-06-15 Thread Stephen McConnell \(DPML\)
> -Original Message- > From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] > And what about dpml ? I guess first off is the statement that the DPML content is not aimed at or equivalent to Maven. Generally speaking the DPML products are focussed on runtime requirements with the sing

[ANN] AntXtras has moved to a new home.

2006-06-15 Thread Wascally Wabbit
The JWare/AntXtras website has moved to SF.net. The new project home URL is now: http://antxtras.sourceforge.net/ Thanks, SSMC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Collection of FileSets

2006-06-15 Thread Jan.Materne
Not all tasks can work with nested paths in prior to Ant 1.7. With 1.7 we are introducing "ResourceCollections" which is a supertype a , and others. I'm not sure if supports that, but most of the tasks are converted ... Yep - inherits inherits . And supports RCs [1]. So your life will be

RE: "Recursiveness" / property already used in a "generic" build...

2006-06-15 Thread Greg Irvine
Well, I managed to sort this out using the task and to pass only the required properties along. No more hard-coded folder lists or duplicated build files now! _ From: Greg Irvine [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 June 2006 4:08 PM To: 'Ant Users List' Subject: "Recu

Re: Collection of FileSets

2006-06-15 Thread Scot P. Floess
Dhruva: Have you considered using path with id...like: ... ... Then just use the refid "MY_PATH"... Dhruva Reddy wrote: Hello, We have a target that builds an EAR using the ear task. Fed into the task is a rather large number of fileset's. What I would like to do is use the sa

Collection of FileSets

2006-06-15 Thread Dhruva Reddy
Hello, We have a target that builds an EAR using the ear task. Fed into the task is a rather large number of fileset's. What I would like to do is use the same fileset's for another task (I want to copy those elements into the app server without building the EAR). Is there any way to aggregate

Re: Using with more than one parameter/value pair

2006-06-15 Thread Liz Burke-Scovill
*chuckle* Just goes to show that yes, sometimes it is really that simple. Thank you! Liz On 6/15/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hello Liz, remember that the ant build files are XML. In XML, to produce a value of & (ampersand), you have to type in & so http://www.foo.co

Re: "Recursiveness" / property already used in a "generic" build...

2006-06-15 Thread Dominique Devienne
Just curious...how are you calling these sub project build.xml's from the parent? Are you using task? If so, probably want to do Yes, it's a good point Scot. I was using a different approach Greg. Instead of "parametring" the generic build using a properties file, I was defining 2 generic b

Re: Using with more than one parameter/value pair

2006-06-15 Thread Antoine Levy-Lambert
Hello Liz, remember that the ant build files are XML. In XML, to produce a value of & (ampersand), you have to type in & so http://www.foo.com?parm1=value1&parm2=value2&parm3=value3 Regards, Antoine Original-Nachricht Datum: Thu, 15 Jun 2006 12:09:05 -0500 Von: Liz Burke-Sco

Token Filters Questions

2006-06-15 Thread Aaron Davies
A couple questions on token filters: First, is there a simple way to directly apply a filtersfile to an existing file, i.e. without moving/copying it? Second, is there an easy way to handle a filtersfile's not existing? I'd like to run a file through multiple filters, not all of which will actua

Using with more than one parameter/value pair

2006-06-15 Thread Liz Burke-Scovill
I've been looking for documentation, but couldn't find anything that specifically discusses what I'm running into. Whether it's not there, or I'm using the wrong search terms, I'm hoping that someone here can help me. I have a GET request that has the following pattern: http://www.foo.com?parm1=v

Re: file encoding to UTF-8

2006-06-15 Thread 1800 tbsfunny
Thanks Antonie. That helps. Both the solutions work. -Jed On 6/14/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hi, I think file.encoding is not an ant system property, rather a java property. Try ant -D"file.encoding=UTF-8" or set ANT_OPTS=-D"file.encoding=UTF-8" ant Regards, Antoi

Avoid absolute path names

2006-06-15 Thread Asensio, Rodrigo
Hi, eclipse 3.2, ant 1.6 I need to add files to the cvs and Im doing this Im using an apply task because exec doesn't allow a fileset The

Re: RMI Security Manager Issue

2006-06-15 Thread Aaron Davies
On 6/15/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Aaron Davies wrote: > Hi, I'm having trouble using an ant task to run a Java app that uses > RMI. I've constructed a Java task to run it, but it fails with a > java.security.AccessControlException as soon as it starts the RMI > section. Howe

Re: "Recursiveness" / property already used in a "generic" build...

2006-06-15 Thread Scot P. Floess
Greg: Just curious...how are you calling these sub project build.xml's from the parent? Are you using task? If so, probably want to do inheritAll = "false".../> Greg Irvine wrote: Hi all. I'm trying to write a generic build file that uses a properties file to inform the generic build

Re: RMI Security Manager Issue

2006-06-15 Thread Steve Loughran
Aaron Davies wrote: Hi, I'm having trouble using an ant task to run a Java app that uses RMI. I've constructed a Java task to run it, but it fails with a java.security.AccessControlException as soon as it starts the RMI section. However, when I take a look at the output of ant -verbose and recons

RE: Strange behaviour

2006-06-15 Thread Gary Howard
Antoine, Thanks for waking me up! I don't believe it was a problem with Ant but with the environment settings. I am deliberately using my own script to call Ant with correct settings to avoid such problems. I would normally always run my build script in a new command window. On this occasion I wa

Re: Count Lines of Text?

2006-06-15 Thread Patrick Martin
Hello, You may want to have a look at antcount: http://antcount.sourceforge.net/ Rgds, Patrick On 6/14/06, Aaron Davies <[EMAIL PROTECTED]> wrote: I've got no problems with ant-contrib; I'm already using several of their tasks. Do they have something to do this? I didn't see one. On 6/14/06,