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

2005-06-23 Thread Jan.Materne
Just an idea - should be collect such buildfiles for performance tests? Jan >-Ursprüngliche Nachricht- >Von: Dominique Devienne [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 23. Juni 2005 17:25 >An: 'Ant Users List' >Betreff: RE: Performance difference between 1.6.1 and 1.6.4 >(in e

AW: Ant 1.5.4: How to do general text transformations on a file?

2005-06-23 Thread Jan.Materne
Just an idea Jan >-Ursprüngliche Nachricht- >Von: Karr, David [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 24. Juni 2005 06:31 >An: Ant Users List >Betreff: Ant 1.5.4: How to do general text transformations on a file? > >Due to a bug in the Weblogic wlwBuild task (it doe

AW: JUNITREPORT ANT Task Suggestion

2005-06-23 Thread Jan.Materne
Maybe a modification of the stylesheet would help. Copy ANT/src/etc/junit-frames.xsl + junit-noframes.xsl to your project, modify them and specify the E.g. in junit-frames.xsl line 221 could be interesting: *.xsl:0202:

AW: Error in replaceregexp example

2005-06-23 Thread Jan.Materne
You´re right - thanks. I´ll change that on the weekend. Jan ant/docs/manual/OptionalTasks/replaceregexp.html - + >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 23. Juni 2005 21:39 >An: user@ant.a

AW: Multiple IFs, or IFs on tasks

2005-06-23 Thread Jan.Materne
Common pattern: All conditions set ... Jan >-Ursprüngliche Nachricht- >Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 23. Juni 2005 17:42 >An: Ant Users List >Cc: Ant Users List >Betreff: Re: Multiple IFs, or IFs on tasks > >Ah, t

Ant 1.5.4: How to do general text transformations on a file?

2005-06-23 Thread Karr, David
Due to a bug in the Weblogic wlwBuild task (it doesn't matter what the bug is), I'm trying to figure out how I can do a simple text transformation on every line of a text file. In particular, I need to remove the first two characters from every line of a file. It's simply a question of whether it

RE: record task

2005-06-23 Thread S I
Hi I've got it to work. There's not much to it and you just have to specify a file name. Just see the Ant core tasks sections in ant.apache.org for examples: And a record task can be stated right before your very 1st target to start a recording session immediately.

record task

2005-06-23 Thread Parimala
Hi All, How to use record task and what exactly it does. I tried to use it but it's not crating the output file at all. What could be teh possible reason any alternate for that? thanks in advance. Parimala ---

record task

2005-06-23 Thread Parimala
Hi All, How to use record task and what exactly it does. I tried to use it but it's not crating the output file at all. What could be teh possible reason any alternate for that? thanks in advance. Parimala

JAR task problems

2005-06-23 Thread Frank W. Zammetti
Hi all... I've been fighting with this for a couple of days now and it's killing me... I have the following task: includes="my.tld" /> includes="my-other.tld" /> I added the sleep because I read about the 2-second thing as far as determing if a file has been updated. It didn

JUNITREPORT ANT Task Suggestion

2005-06-23 Thread Michael Giroux
Not sure if this is the correct place to post this, let me know if I shouold post to Apache ANT list. The ANT JunitReport task includes all properties that were defined at the time of the test. If any of these properties contain security information (userid, password, ...) that was needed for any

Error in ReplaceRegExp doc

2005-06-23 Thread Michael Giroux
The help doc for replaceregexp shows and example of a fileset. The nested element is incorrect. This should be element. I'm thinking the author was intending the includes attribute of the task itself perhaps. Michael Giroux ---

Error in replaceregexp example

2005-06-23 Thread Michael . Giroux
The help doc for replaceregexp shows and example of a fileset. The nested element is incorrect. This should be element. I'm thinking the author was intending the includes attribute of the task itself perhaps. Michael Giroux --

Re: wsdltodotnet task

2005-06-23 Thread Danja Spoja
Thanks Stefan. That does it! :-) Danja Stefan Bodewig wrote: On Thu, 23 Jun 2005, Danja Spoja <[EMAIL PROTECTED]> wrote: I keep getting error=2, but I don't know what that means. error=2 is Windows' way of saying "I can't find your executable". Make sure wsdl.exe is

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

2005-06-23 Thread Lou_Miranda
I have an Ant 1.5.4 build script that doesn't work in Ant 1.6 (Ant 1.6.2 or 1.6.5). It has some embedded JavaScript that is calling the Ant API to add a ZipFileSet to the War task. What we're trying to do is dynamically add directories to the War task at runtime. We decided to use JavaScript t

Re: wsdltodotnet task

2005-06-23 Thread Stefan Bodewig
On Thu, 23 Jun 2005, Danja Spoja <[EMAIL PROTECTED]> wrote: > I keep getting error=2, but I don't know what that means. error=2 is Windows' way of saying "I can't find your executable". Make sure wsdl.exe is in your PATH. Stefan -

Re: Multiple IFs, or IFs on tasks

2005-06-23 Thread Frank W. Zammetti
Ah, thank you Ninju! I wasn't aware of the task, I think that will do the trick. One extra step, but not a hassle. By the way, your name is only one letter off from ultimate coolness, but I'm sure you know that already :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Techn

Re: Multiple IFs, or IFs on tasks

2005-06-23 Thread Ninju Bohra
Correct on both counts, For the first one, you may want to use a task to "consolidate" all the individual flags into one property which you use in the if="" attribute. As for the second, it is touch-and-go as to which tasks have an if/unless attribute (i.e. some have them and some don't). T

Multiple IFs, or IFs on tasks

2005-06-23 Thread Frank W. Zammetti
Hi all... I'm trying to solve a problem and one of the following two approaches would work, and although it doesn't seem possible from my testing, I wanted to run it by you guys... First, is it possible to do if checks on a target against multiple properties? I tried simply have two if attributes

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

2005-06-23 Thread Dominique Devienne
> From: Pollähne. Ullrich [mailto:[EMAIL PROTECTED] > The script contains a main target that simply calls the others with > antcall (since it is simpler to edit than editing the depends attribute). > > Doing it this way: > ... > > > > takes 32 seconds (31 with a fixed h

Re: cvs update command

2005-06-23 Thread blackwater dev
Yes, the ant script and the cvs repository are on the same server. I looked in root and saw the details where: :extssh:[EMAIL PROTECTED]:/usr/local/cvs I then took this and put it into the command. At first I tried to set cvsRsh to extssh but got an error so I tried ssh which prompted me for my

Re: How awesome is this

2005-06-23 Thread EJ Ciramella
uh, sorry about this. Autocomplete is the work of the devil. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cvs update command

2005-06-23 Thread Ben Stringer
On Thu, 2005-06-23 at 10:22 -0400, blackwater dev wrote: > In order to update my code from cvs, I typically cd into my directory > > /httpd/mystuff/ > > then just do "cvs update". > > I am trying to put this into a cvs task but keep getting errors. > > package="pollywog" >dest="

Re: Windows path problems

2005-06-23 Thread Pollähne . Ullrich
Hi, I wasn't aware that the file attribute exists on fileset (maybe because I did not think of one element sets) but it should be functionally the same. Ullrich. > -Original Message- > From: dsarris [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 23, 2005 4:45 PM > To: Ant Users List >

wsdltodotnet task

2005-06-23 Thread Danja Spoja
Hi, I am very new to ant and I've been trying to get wsdltodotnet task to work. My build.xml looks like this: I keep getting error=2, but I don't know what that means. I did many searched on Google and this mailing list, and I could not find any information that woul

Re: Windows path problems

2005-06-23 Thread dsarris
Your assumption was correct and your correction too. I have already solved it using I believe it is the same, isn't it? On 6/23/05, Pollähne. Ullrich <[EMAIL PROTECTED]> wrote: > Hi, > > I would assume that drive E: is the current drive while you execute the > script? > The filelist in the p

RE: Windows path problems

2005-06-23 Thread Pollähne . Ullrich
Hi, I would assume that drive E: is the current drive while you execute the script? The filelist in the path is defined for the root directory of the current drive. Try to replace the filelist with Ullrch. > -Original Message- > From: dsarris [mailto:[EMAIL PROTECTED] > Sent: Thursday,

Windows path problems

2005-06-23 Thread dsarris
Hi I tried to set a classpath ref in Windows, but ant keeps adding the drive letter. For example: apache_commons_net.root.dir = C:/Java_Libraries/Apache/commons-net/commons-net-1.4.0 apache_commons_net.framework.jar = ${apache_commons_net.root.dir}/commons-net-1.4.0.jar is used in

cvs update command

2005-06-23 Thread blackwater dev
In order to update my code from cvs, I typically cd into my directory /httpd/mystuff/ then just do "cvs update". I am trying to put this into a cvs task but keep getting errors. Error: [cvs] ..: unknown host [cvs] ..: unknown host [cvs] ..: Unknown host [cvs] cvs [update ab

How awesome is this

2005-06-23 Thread EJ Ciramella
Hacked toys - http://billtmiller.com/circuitbending/ Maybe it'd be cool for 10 minutes, I dunno. I'm still thinking of terrorizing your brother Adam with a hacked Teddy Ruxpin. Think about it. Mr. Ruxpin sitting on his bed. . . "Hey, I'm Teddy Ruxpin, wanna play?" regardless of your bro

Classpath problems in AIX

2005-06-23 Thread Arunanthisivam Vimalathithen
Hi, I have an ant java tag that has multiple path elements in the the classpath element. This works well in Windows 2000 ( with fork="true") where the java class is executed, but when trying to run the same script on AIX i get a class not found error, does anyone have any ideas about this? T

Classpath problems in AIX

2005-06-23 Thread Arunanthisivam Vimalathithen
Hi, I have an ant tag that has multiple path elements in the the classpath element. This works well in Windows 2000 ( with fork="true") , but when trying to run the same script on AIX i get a class not found error, does anyone have any ideas about this? Thanks in advance, Arun.

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

2005-06-23 Thread Pollähne . Ullrich
Hi Dominique, now I start to understand the numbers. ;-) The script contains a main target that simply calls the others with antcall (since it is simpler to edit than editing the depends attribute). Doing it this way:

Re: Ant 1.6.3+ and JunitReport

2005-06-23 Thread Stefan Bodewig
On Wed, 22 Jun 2005, Stephen Nesbitt <[EMAIL PROTECTED]> wrote: > One question - we are finding that placing Xalan 2 into ANT_LIB > requires that we change the name from xalan.jar to ant-xalan.jar to > ensure that it is placed on the classpath prior to ant-xalan1.jar. > > Is this correct? Not at