Re: war task webxml attribute

2005-01-13 Thread Stefan Bodewig
On Thu, 13 Jan 2005, Durham David R. Jr Contr <[EMAIL PROTECTED]> wrote: > Should the webxml attribute be required? Yes. Isn't it? > For one, you can leave it empty and the wars work Which may be due to the parahraph below. > Also, I get an annoying warning about a web.xml being ignored. Whi

RE: Cleaning a text file with tons of extra CRLF's

2005-01-13 Thread Dick, Brian E.
If you use OS pipes, you will appreciate filterchains. -Original Message- From: Nat Gross [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:41 PM To: Ant Users List Subject: Re: Cleaning a text file with tons of extra CRLF's filterchains? I will need to catch up on that topic

Re: Help with wsejbdeploy

2005-01-13 Thread Richard Lewis-Shell
You need to apply the patch to the ant source (the WebsphereDeploymentTool.java file in particular) and then rebuild ant - or at least rebuild the part that contains the WebsphereDeploymentTool. But I recommend against doing so, because: 1) I dislike running custom versions of such tools, and t

Re: perforce tasks

2005-01-13 Thread Antoine Levy-Lambert
[EMAIL PROTECTED] wrote: I notice that the perforce tasks have a failonerror attribute, but I don't see any way to set a property if there is an error. Am I just missing something? I think the failonerror attribute can just be used to make the Perforce tasks more lenient on some type of error

Re: Call specific Targets from a GUI

2005-01-13 Thread galenboyerdev
René Ghosh <[EMAIL PROTECTED]> writes: > The file releases for 1.2 have been corrected. Apparently the sourceforge > upload encountered a > problem in the original upload. You can download it now. Yeppers. Works, right out of the box. Looks pretty cool... > --- [EMAIL PROTECTED] a écrit :

Re: Call specific Targets from a GUI

2005-01-13 Thread René Ghosh
The file releases for 1.2 have been corrected. Apparently the sourceforge upload encountered a problem in the original upload. You can download it now. --- [EMAIL PROTECTED] a écrit : > René Ghosh <[EMAIL PROTECTED]> writes: > > > The AntMenu task in the AntForms project does just that. See

Re: Cleaning a text file with tons of extra CRLF's

2005-01-13 Thread Nat Gross
filterchains? I will need to catch up on that topic. Thanks for the tip. -nat Matt Benson wrote: Also, have you tried using filterchains? You can use the ignoreblank filter to remove blank lines. And it might look a little prettier. -Matt --- Nat Gross <[EMAIL PROTECTED]> wrote: Ok. Releasing

Re: Call specific Targets from a GUI

2005-01-13 Thread galenboyerdev
René Ghosh <[EMAIL PROTECTED]> writes: > The AntMenu task in the AntForms project does just that. See the screenshot at > http://antforms.sourceforge.net/screenshots.html. You configure a task that > launches a Swing frame > and lays out a series of buttons bound to specific Ant tasks. I downloa

Re: Call specific Targets from a GUI

2005-01-13 Thread René Ghosh
The AntMenu task in the AntForms project does just that. See the screenshot at http://antforms.sourceforge.net/screenshots.html. You configure a task that launches a Swing frame and lays out a series of buttons bound to specific Ant tasks. --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> a écrit :

perforce tasks

2005-01-13 Thread Kajsa.Anderson
I notice that the perforce tasks have a failonerror attribute, but I don't see any way to set a property if there is an error. Am I just missing something? I've also found what I think are a few errors (or at least places that could be clarified) in the manual page for the Perforce optional tas

XSLT Task with external Saxon8

2005-01-13 Thread Robert Soesemann
Is there a way to tell Ant's xslt task to uses Saxon8 as processor WITHOUT copying the saxon8.jar to the Ant lib directory. I need this to be as plattform independant as possible. Therefore I would prefer putting the jar into an external application folder. It does not work when I just add saxon to

Re: filter loops in 1.6.2

2005-01-13 Thread Chris Shabsin
Matt Benson wrote: According to CVS, this behavior should be evident in Ant >= 1.5.1 . Sorry; I made the assumption when I saw a change entry that seemed to match what I was seeing; we have an old version of Ant that our build system uses, and I didn't think to see just how far back the proble

Re: filter loops in 1.6.2

2005-01-13 Thread Matt Benson
--- Chris Shabsin <[EMAIL PROTECTED]> wrote: > In versions of Ant prior to 1.6.2 it was possible to > use filters to > modify a token found in a file. For example: > > > > > > In 1.6.2, the fixed bugs list includes the entry: > > * replacestring tokenfilter only replaced the > first

RE: Call specific Targets from a GUI

2005-01-13 Thread Hardacker, Andrew
If a servlet-based application would fit your requirements, you might be interested in this article: http://www.onjava.com/lpt/a/2529/ I've used this technique to write a servlet-based build app that exposes some properties (with lists, checkboxes, etc) so that the buildmeister doesn't have to dea

Re: Cleaning a text file with tons of extra CRLF's

2005-01-13 Thread Matt Benson
Also, have you tried using filterchains? You can use the ignoreblank filter to remove blank lines. And it might look a little prettier. -Matt --- Nat Gross <[EMAIL PROTECTED]> wrote: > Ok. Releasing ver 1.0RC . (Using your reminder on > " ".) > Also capitalizing on the fact that its an xml tar

Re: Call specific Targets from a GUI

2005-01-13 Thread Matt Benson
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: [SNIP] > What is the best place to start to design a GUI that > will allow me to call > specific targets from an application or is this even > possible! > Perhaps you should look at the AntForm project at http://antforms.sourceforge.net/ . -Matt

RE: Call specific Targets from a GUI

2005-01-13 Thread Radha Sangal
I had done similar work. Hope it gives you some idea. I have a JSP Xml-Rpc Client which calls a method in a class on server. It has Runtime.exec command to execute a bat file. In my bat file I execute my ant script with all the parameters I want to pass on to a particular target. (as from command

filter loops in 1.6.2

2005-01-13 Thread Chris Shabsin
In versions of Ant prior to 1.6.2 it was possible to use filters to modify a token found in a file. For example: In 1.6.2, the fixed bugs list includes the entry: * replacestring tokenfilter only replaced the first occurrence. And, lo and behold, attempting to run this filter in 1.6.2 now

war task webxml attribute

2005-01-13 Thread Durham David R Jr Contr 805 CSPTS/SCE
Should the webxml attribute be required? For one, you can leave it empty and the wars work (at least in Tomcat -- not sure if that complies with the spec.) Also, I get an annoying warning about a web.xml being ignored. Any way to suppress this warning, or should I be using a different task? Th

RE: Running in a different directory than build.xml

2005-01-13 Thread Rick Genter
Thanks everyone for the feedback. More work to do ;-). -- Rick Genter Principal Engineer Silverlink Communications (781) 272-3080 x242 -Original Message- From: Th. Schapitz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 4:58 AM To: Ant Users Lis

Call specific Targets from a GUI

2005-01-13 Thread [EMAIL PROTECTED]
Hello, I am trying to create a GUI that will allow a user to press either of two buttons. If they press the first button then a target within the build.xml is executed i.e. compile a set of java files outputted to a specific directory. If they press the second button the same applies but again is

Re: Running in a different directory than build.xml

2005-01-13 Thread Th. Schapitz
Hi Rick, I'm assuming you want to do this, because your tests are referring to certain files, and relatively so? (If it was only the test-output, you could have redirected it by using the outfile property of test subtag to junit) Else a solution would be to beef up your testclasses, by providing a