Re: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-06-27 Thread Kev Jackson
Dominique Devienne wrote: Ullrich was kind enough to provide me data gathered by my own performance listener, which shows timings for tasks as well as targets: Timing by tasks in Ant 1.6.2:in Ant 1.6.5 --- -- -- -- --- -- 19.578,0 ms 175,2%24x ant

AW: help with subant pleeeeeeease

2005-06-27 Thread Jan.Materne
Create a fileset to catch them superbuild.xml: Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 27. Juni 2005 18:13 >An: user@ant.apache.org >Betreff: help with subant pleeease > >i am working on a project wich has the follow

Re: directed exit of ant build?

2005-06-27 Thread Mark Lundquist
On Jun 27, 2005, at 2:05 PM, Ninju Bohra wrote: How about the task Perfect! :-)... thx Ninju (et al :-) —ml—

Re: directed exit of ant build?

2005-06-27 Thread Jeffrey E Care
The task accepts nested elements. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis Mark Lundquist <[EMAIL PROTECTED]> wrote on 06/27/2005 05:02:33 PM: > Hi all, > > Is it possibl

Re: directed exit of ant build?

2005-06-27 Thread Ninju Bohra
How about the task --- Mark Lundquist <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it possible for a target to script the > termination of the build? > > I want something like this: > >property="config.dir.exists"/> > > > > >

directed exit of ant build?

2005-06-27 Thread Mark Lundquist
Hi all, Is it possible for a target to script the termination of the build? I want something like this: any way to do this? (sorry if it's a FAQ :-/) thx, —ml—

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Diana Steffen <[EMAIL PROTECTED]> wrote: > > /etc/ant.conf says > ANT_HOME=/usr/share/ant This is the location of Ant that comes with FC3 distibution... > > rpm -qa | grep ant. > > ant-1.6.2-3jpp ... and this is the rpm package it came from. And it is made by jpackage.org AFAIK. > > Now

FW: Error message

2005-06-27 Thread Shatzer, Larry
Please keep the discussion on the ant list. You might want to ask the tomcat list for help on this one. -Original Message- From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 11:33 AM To: [EMAIL PROTECTED] Subject: RE: Error message In all honesty

Re: Ant 1.6 API: Can't call War.addZipfileset() from JavaScript

2005-06-27 Thread Lou_Miranda
Any ideas on this? It's preventing us from upgrading to Ant 1.6, which we need to do because of other dependencies. Am I doing something horribly wrong? Any workarounds come to mind? Thanks. [EMAIL PROTECTED] wrote on 06/24/2005 10:50:16 AM: > > More info: > > It's interesting to note that

RE: Error message

2005-06-27 Thread Shatzer, Larry
What are you trying to accomplish? > -Original Message- > From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] > Sent: Monday, June 27, 2005 11:23 AM > To: Ant Users List > Subject: RE: Error message > > > Yes obviously I do misunderstand as the script I am trying to > execute

Re: problems with cvs task

2005-06-27 Thread blackwater dev
On 6/27/05, blackwater dev <[EMAIL PROTECTED]> wrote: > Hello all, > > I am trying to check out files using the cvs task but am still having > problems. When I ssh in, I am able to simply go to my directory and > do a cvs update to get all the latest files. In my build file, I am > using the tas

RE: Error message

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Yes obviously I do misunderstand as the script I am trying to execute does this by default: But it fails also complaining that "util" does not exist. -SB -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 12:58 PM To: 'Ant Use

RE: Error message

2005-06-27 Thread Shatzer, Larry
You misunderstand how works. It is used to call another ant script, and execute it. In your example, it is calling the same ant script that is running, and default target, which I guess is 'build'. Whatever you have set as basedir="" in your will be ${basedir}, and by default, it is '.' Then you

Error message

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
Ant Newbie here. Can someone give me a clue as to what this message is implying? ant task calling a target that depends on its parent target 'build' It appears to have to do something with this directive. <---when I clear out the directory name here to use the current d

Re: problem with ant under linux

2005-06-27 Thread Peter Reilly
Ivan Ivanov wrote: --- Peter Reilly <[EMAIL PROTECTED]> wrote: The java stuff in Ivan's comment is correct. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. It did not occur to me there is another ant version. I then s

Re: problem with ant under linux

2005-06-27 Thread Diana Steffen
The java stuff in Ivan's comment is correct. I changed $PATH like Ivan suggested, but I get the same error. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. /etc/ant.conf says ANT_HOME=/usr/share/ant ant --noconfig -versi

Re: Help with (regexp?) file mapper

2005-06-27 Thread Peter Reilly
Emmanouil Batsis wrote: Dominique Devienne wrote: From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] It didn't work at first but then i remembered my machine at work runs windows; It works fine after changing the from attribute to (.+)\\(.+).xml. I think i saw something regarding the path sepera

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > The java stuff in Ivan's comment is correct. > However, the ant needs a little work! > The -cp not been reconized is due to an > older version of ant being installed. It did not occur to me there is another ant version. I then suppose that it is the

Re: problem with ant under linux

2005-06-27 Thread Peter Reilly
The java stuff in Ivan's comment is correct. However, the ant needs a little work! The -cp not been reconized is due to an older version of ant being installed. This can be seen by looking at the file /etc/ant.conf It (re)sets the ANT_HOME env variable. To test this please do ant --noconfig -ver

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
--- Diana Steffen <[EMAIL PROTECTED]> wrote: > Hi Ivan, > > > What linux distribution are you using? > > Fedora Core 3. I really thought it was FC3. > > Can you check the value of JAVA_HOME (echo > $JAVA_HOME) > > /usr/java/jdk This is where you have installed your own jdk. > > > and the

RE: Help with (regexp?) file mapper

2005-06-27 Thread Dominique Devienne
> From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > ${file.separator} does not work for regexp mapper but that is a minor > issue; the real issue, IMHO, is using mappers within other tasks. For > example, the xslt/style allows a nested mapper type="regexp" but that > does not support the handledi

Re: problem with ant under linux

2005-06-27 Thread Diana Steffen
Hi Ivan, > What linux distribution are you using? Fedora Core 3. Some distributions come with preinstalled JDKs. Some like Fedora Core 3 come with GCJ (GNU compiler for java) and GCJ executables have the same names as Sun JDK. Can you check the value of JAVA_HOME (echo $JAVA_HOME) /usr/java

Re: problem with ant under linux

2005-06-27 Thread Ivan Ivanov
Diana, What linux distribution are you using? Some distributions come with preinstalled JDKs. Some like Fedora Core 3 come with GCJ (GNU compiler for java) and GCJ executables have the same names as Sun JDK. Can you check the value of JAVA_HOME (echo $JAVA_HOME) and the location of java executable

RE: help with subant pleeeeeeease: i think i found it but anyway share your thoughts:)

2005-06-27 Thread hind.lwahhabi
used fileset pattern. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mon 6/27/2005 6:13 PM To: user@ant.apache.org Subject: help with subant pleeease i am working on a project wich has the following sources directory structure: root | common.xm

Re: Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Dominique Devienne wrote: From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] It didn't work at first but then i remembered my machine at work runs windows; It works fine after changing the from attribute to (.+)\\(.+).xml. I think i saw something regarding the path seperator and how to make it tra

Re: How to register a customn BuildListener

2005-06-27 Thread Jeffrey E Care
Maybe override the "setProject" method on your DataType extensions and handle the registration there? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis Tim Kettler <[EMAIL PROTECTE

problem with ant under linux

2005-06-27 Thread Diana Steffen
Hi, I just installed ant under linux and I set $PATH and $ANT_HOME like they say in the manual. $JAVA_HOME was already set. Unfortunately it does not seem to work, even with an empty CLASPPATH. ant -version Unknown argument: -cp ant [options] [target [target2 [target3] ...]] Options: -help, -

How to register a customn BuildListener

2005-06-27 Thread Tim Kettler
Hi, I'm writing a few extensions to Ant to integrate it in our locale build environment. I have written a customn DataType and on the first instantiation of the type I want to register a customn BuildListener. Therefore I have to call the 'addBuildListener()' method of the Project class. But

help with subant pleeeeeeease

2005-06-27 Thread hind.lwahhabi
i am working on a project wich has the following sources directory structure: root | common.xml | superbuild.xml | +-- modules +-- modA +-- src +--prj +---modA1 |

Re: Help with (regexp?) file mapper

2005-06-27 Thread Ondrej Svetlik
Emmanouil Batsis wrote: It didn't work at first but then i remembered my machine at work runs windows; It works fine after changing the from attribute to (.+)\\(.+).xml. I think i saw something regarding the path seperator and how to make it transparent to the task so i'll look for that now

RE: Help with (regexp?) file mapper

2005-06-27 Thread Dominique Devienne
> From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > It didn't work at first but then i remembered my machine at work runs > windows; It works fine after changing the from attribute to > (.+)\\(.+).xml. I think i saw something regarding the path seperator and > how to make it transparent to the tas

RE: Propertyset

2005-06-27 Thread Dominique Devienne
> From: Meukens, Kris [mailto:[EMAIL PROTECTED] > > It looks that when you pass a propertyset to an other build file that is > called with the 'ant' task, the containing properties are still known in > the receiving build file but not the propertyset itself. Is that correct? Yes. > Do I have to

RE: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-06-27 Thread Pollähne . Ullrich
Hi Dominique, > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Monday, June 27, 2005 4:29 PM > To: 'Ant Users List' > Cc: 'Ant Developers List' > Subject: [[**SPAM**]] - RE: Performance difference between 1.6.1 and > 1.6.4 (in eclipse) - Bayesian Filter det

RE: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-06-27 Thread Dominique Devienne
Ullrich was kind enough to provide me data gathered by my own performance listener, which shows timings for tasks as well as targets: Timing by tasks in Ant 1.6.2:in Ant 1.6.5 --- -- -- -- --- -- 19.578,0 ms 175,2%24x antcall62.235,0 ms 189,0% 5

problems with cvs task

2005-06-27 Thread blackwater dev
Hello all, I am trying to check out files using the cvs task but am still having problems. When I ssh in, I am able to simply go to my directory and do a cvs update to get all the latest files. In my build file, I am using the task below. I took the cvsRoot from the root file I found in my cvs

Re: Help with (regexp?) file mapper

2005-06-27 Thread Stefan Bodewig
On Mon, 27 Jun 2005, Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > my/package/Foo.xml > > to > > my/package/web/FooForm.java untested from="(.*)/(.*)\.xml" to="\1/web/\2Form.java" Stefan - To unsubscribe, e-mail: [EMAIL PROT

Re: Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Jeffrey E Care wrote: In the future you tell us what you have already tried: it would be helpful in debugging the problem. Asking the question in the manner that you have might make one think that you haven't tried this at all & are just looking for someone to figure it out for you. My i

Re: Help with (regexp?) file mapper

2005-06-27 Thread Jeffrey E Care
In the future you tell us what you have already tried: it would be helpful in debugging the problem. Asking the question in the manner that you have might make one think that you haven't tried this at all & are just looking for someone to figure it out for you. In any case, this is untested, b

Help with (regexp?) file mapper

2005-06-27 Thread Emmanouil Batsis
Hi all, I'm trying to both change the file name (add 'Form' suffix and change from .xml to .java) and directory structure (add one more directory) for example from my/package/Foo.xml to my/package/web/FooForm.java Looks like this is a piece of cake using the regexp file mapper but i real

Propertyset

2005-06-27 Thread Meukens, Kris
Hi, It looks that when you pass a propertyset to an other build file that is called with the 'ant' task, the containing properties are still known in the receiving build file but not the propertyset itself. Is that correct? Do I have to recreate the property set? Or there alternative ways of c