Not reading from jar when unzipped it works...

2008-07-09 Thread Aravind_RP
hi Am using a 3rd party jar in my ant script for xml manipulation.the jar file i placed in a folder in my workspace. it is working if i unzip my jar and keep it but it is not working if i keep the jar as such. my code is as below it say

Re: substring

2008-07-09 Thread Frank Harnack
Hello Anthony, the StringUtils task from antelope should help you. http://antelope.tigris.org/docs/manual/bk03ch13.html Regards Frank Quoting Anthony Muller <[EMAIL PROTECTED]>: Hello, Is it possible to do a substring operation with Ant? Cheers, Anthony --

RE: substring

2008-07-09 Thread Shawn Castrianni
Yes, but not with standard ANT. You have to use the stringutils plugin from antelope with docs here: http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html --- Shawn Castrianni -Original Message- From: Anthony Muller [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 9:51 PM T

Re: Not reading from jar when unzipped it works...

2008-07-09 Thread Olivier Gies
Hi, You should specify "includes" value relatively to the "dir" attribute of the , i.e.: Or also: BR, Olivier *Olivier Gies* *Delivery Manager Customs & Tax Software Engineering Center Bull, Architect of an Open World ^TM Phone: +86 (10) 65978001 - Ex

How to echo the classpathref?

2008-07-09 Thread Hans Schwaebli
For debugging purpose I want to echo the actual classpathref. But it does not work by using something like this:                                     ${all.you.can.need.class.path}     It prints nothing although there are jars in this dir. Any idea how to echo it?

RE: How to echo the classpathref?

2008-07-09 Thread Rebhan, Gilbert
-Original Message- From: Hans Schwaebli [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 9:43 AM To: Ant Users List Subject: How to echo the classpathref? /* For debugging purpose I want to echo the actual classpathref. But it does not work by using something like this:    

RE: How to echo the classpathref?

2008-07-09 Thread Daniel Gröndal
Hi! I usually use a macro such as: --- echoing fileset @{filesetref} --- [EMAIL PROTECTED] And then: This gives me the opportunity to convert the path separator and such. //daniel -Origin

overwriting property specified in different files.

2008-07-09 Thread wizshah
I have two following lines added to my build.xml. 1. 2. It can be seen that I have two config.properties being loaded. Thats runs fine. All properties are loaded. But here the problem is that if I have the same property in the second file it does not overwrite the old one. f

Re: overwriting property specified in different files.

2008-07-09 Thread André Pilz
Hello, that is standard behaviour for ant. The first property definition wins. A simple solution for this example is to load the second property file first. Also see the Task in ant-contrib, but I never needed it. Cheers, Andre wizshah schrieb: I have two following lines added to my build

RE: substring

2008-07-09 Thread Anthony Muller
Thanks for the tip! -Original Message- From: Garrett Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 8:22 AM To: Ant Users List Subject: Re: substring On Tue, Jul 8, 2008 at 12:51 PM, Anthony Muller <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to do a substring o

[ANN] Apache Ant 1.7.1 Released

2008-07-09 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is proud to announce that version 1.7.1 has been released and is available as source[1] and binary[2] archives now. Ant 1.7.1 is mostly a bug fix release which addresses numerous issues found in Ant 1.7.0 released in December 2006.

Changing port number of a server(selenium-server.jar) through ant?

2008-07-09 Thread rahulrocks
I have changed the port number of selenium server in command line like this java -jar selenium-server.jar -port 4445 How to change the port number of a server(selenium-server.jar) through ant script? Please help. -- View this message in conte

Re: Changing port number of a server(selenium-server.jar) through ant?

2008-07-09 Thread Andy Stevens
2008/7/9 rahulrocks <[EMAIL PROTECTED]>: > > I have changed the port number of selenium server in command line like this > java -jar selenium-server.jar -port 4445 > > How to change the port number of a server(selenium-server.jar) through ant > script? > > > > >

Re: overwriting property specified in different files.

2008-07-09 Thread wizshah
Yes that makes sense. The problem would then be that if the property is empty in the first file the second would not get its thing in the zone. All that said I think I can workout something that doesn't allow empty fields to be written at all. And thanks for the clarification. Regards, -- wiz

Re: overwriting property specified in different files.

2008-07-09 Thread Tom Drynda
André Pilz <[EMAIL PROTECTED]> wrote: > ... > that is standard behaviour for ant. The first property definition wins. > A simple solution for this example is to load the second property file > first. > ... That's exactly how we do it. We have a default configuration held in a properties file.

Re: How to echo the classpathref?

2008-07-09 Thread Gilbert Rebhan
Daniel Gröndal schrieb: Hi! I usually use a macro such as: --- echoing fileset @{filesetref} --- [EMAIL PROTECTED] And then: This gives me the opportunity to convert the path separator and su

Re: Continu exec task, while leaving ant

2008-07-09 Thread jantje
Thanks. But I have problems installing ant-contrib, from the website: grab the ant-contrib module from CVS There is no CVS, when clicking on it. Then I have found "ant-contrib-0.3.jar" this somewhere on the internet. I have placed this in /usr/local/apache-ant/lib/ And have added this to

How can I list what files are being compiled?

2008-07-09 Thread dave.alvarado
Hi, What can I do, either in my build file or using a command line argument, to list what .java files ant is compiling? Thanks, - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: How can I list what files are being compiled?

2008-07-09 Thread Scot P. Floess
Use the listfiles attribute for the javac task: On Wed, 9 Jul 2008, [EMAIL PROTECTED] wrote: Hi, What can I do, either in my build file or using a command line argument, to list what .java files ant is compiling? Thanks, - Dave -

How to have Dynamic Propert in ant

2008-07-09 Thread sukanya
Hi, Here is the problem I am now facing: ${TSTAMP} ant.version: '${ant.version}' ant.home: '${ant.home}' java.version: '${java.version}' ${TSTAMP} Here the time valu

RE: Continu exec task, while leaving ant

2008-07-09 Thread Rebhan, Gilbert
-Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 12:06 AM To: user@ant.apache.org Subject: Re: Continu exec task, while leaving ant /* Thanks. But I have problems installing ant-contrib, from the website: grab the ant-contrib module from C