Re: zip into a top directory

2005-09-27 Thread Jeffrey E Care
maybe with zipfileset? or you could just tell your users to "unzip -d" -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Amy Roh <[EMAIL PROTECTED]> 09/27/2005 04:52 PM Please respond to "Ant Users List" To user@ant.apache.or

Re: set a property if files of a particular type are present

2005-09-27 Thread Juergen Hermann
On Tue, 27 Sep 2005 15:46:49 -0700, Anand Krishniyer wrote: use a combo of , and . >Hi >I need to set a property if files of a particular type (extension) are >present in a particular dir. >Is there a simple way of doing it. >pl note I don't know the names of the files, only the extension. >Th

set a property if files of a particular type are present

2005-09-27 Thread Anand Krishniyer
Hi I need to set a property if files of a particular type (extension) are present in a particular dir. Is there a simple way of doing it. pl note I don't know the names of the files, only the extension. Thanks in advance Anand ---

zip into a top directory

2005-09-27 Thread Amy Roh
Hi, Is there a way to specify a top directory when using ant zip task? For example, if install.home included bin/lib, the following dest.zipfile will include bin/lib as top level directories. I'd like to put them into a top parent directory so it's convenient for users unzipping the file.

RE: Problem with Environment Variables on Win2000

2005-09-27 Thread Anderson, Rob (Global Trade)
Perhaps a better way to accomplish the same thing would be to pass in the value of the property on the command line in your wrapper scripts like so... ant -Dsomeproperty=somevalue target This should work fine on both win and unix. -Rob A > -Original Message- > From: Jason [mailto:[EMAIL

Problem with Environment Variables on Win2000

2005-09-27 Thread Jason
Hello, I've written an ant script on Linux and I'm now in the process of trying to run it on windows and I've hit a snag. My general strategy is to launch ant on linux from a shell script in which I set several environment variables like so: export MY_VAR=foo I than access these values through

Re: Copy files according ant property

2005-09-27 Thread Steve Loughran
Tomáš Procházka wrote: Hi. S> There is some stuff in ant 1.7 to do it, specifically the S> task copies all files in a path and no directories, and the task S> itself is soon to be enhanced. Thanks you. And when will be ANT 1.7 release? there is no particular timetable, but I suspect

RE: default attribute of project

2005-09-27 Thread RADEMAKERS Tanguy
it's optional in ant 1.6.x (IIRC), but not in older versions - i tested in 1.5.4 and got the error you describe below. /t >-Original Message- >From: Marcus Zafarano [mailto:[EMAIL PROTECTED] >Sent: Monday, September 26, 2005 10:22 PM >To: Ant Users List >Subject: RE: default attribute of

Re: Regexp patterns

2005-09-27 Thread João Augusto Charnet
Worked perfectly. Thanks Andrew, and Jon John. Jon McLennan wrote: Actually, you should only need to put parentheses around the entire pattern: match="(pattern1|pattern2|pattern3|pattern4)" replace="" Jon Andrew Goktepe wrote: Try this:   match="pattern

Re: Copy files according ant property

2005-09-27 Thread Tomáš Procházka
Hi. S> There is some stuff in ant 1.7 to do it, specifically the S> task copies all files in a path and no directories, and the task S> itself is soon to be enhanced. Thanks you. And when will be ANT 1.7 release? S> What may be better is for you to set up your classpath in your build S

Re: Copy files according ant property

2005-09-27 Thread Steve Loughran
Tomáš Procházka wrote: Hi. Netbeans set in project.properties classpath for project: javac.classpath=\ ${file.reference.hsqldb.jar}:\ ${file.reference.dom4j-1.6.1.jar}:\ ${libs.layoutext.classpath}:\ ... Exist any way to copy all this jar files to dist/lib folder? Netbea

Ant 1.6.5 / causes missed console input

2005-09-27 Thread Jim Doyle
Hi, I am regression testing our build, which currently runs under Ant 1.6.2, under the latest version, Ant 1.6.5, and found a situation that required changing our buildfiles to work around a behavior of Ant 1.6.5. It looks like the Ant 1.6.5 task now uses the input stream from the console a

Re: Regexp patterns

2005-09-27 Thread Jon McLennan
Actually, you should only need to put parentheses around the entire pattern: match="(pattern1|pattern2|pattern3|pattern4)" replace="" Jon Andrew Goktepe wrote: Try this: match="pattern1|pattern2|pattern3|pattern4" replace="" If that doesn't work try putting parentheses around each pattern

Re: Regexp patterns

2005-09-27 Thread Andrew Goktepe
Try this:   match="pattern1|pattern2|pattern3|pattern4" replace=""   If that doesn't work try putting parentheses around each pattern in the above regexp   -Andrew  On 9/27/05, João Augusto Charnet <[EMAIL PROTECTED]> wrote: In this case yes.Actually I'm removing these patterns, replacing them with

Copy files according ant property

2005-09-27 Thread Tomáš Procházka
Hi. Netbeans set in project.properties classpath for project: javac.classpath=\ ${file.reference.hsqldb.jar}:\ ${file.reference.dom4j-1.6.1.jar}:\ ${libs.layoutext.classpath}:\ ... Exist any way to copy all this jar files to dist/lib folder? Netbeans use ':' as separating ch

Re: Regexp patterns

2005-09-27 Thread João Augusto Charnet
In this case yes. Actually I'm removing these patterns, replacing them with a "" . John. Andrew Goktepe wrote: Are you replacing the same string for all 4 patterns?   -Andrew   On 9/26/05, João Augusto Charnet <[EMAIL PROTECTED]> wrote: Hello, I'm need to do 4 replaces in more th

Re: Regexp patterns

2005-09-27 Thread HariPrasad M
To the Moderator of this mailing list: Please unsubcribe me out of this list. If i try sending mail to the unsubscribe mail id, it is getting bounced back mentioning that my mail crosses the spam limit of 5.5. So all my unsusbcribe mails are being rejected as spams. Thanks and Regards, Hari