project management w/ ANT

2003-01-29 Thread Sebastien BLANC
Hello ! Here is how I did work with ant for now: I have a script that generates all build.xml files from a build.xml.template and a rbuild.xml.template, and from the top src directory. build.xml.template contains applicative targets such as doclet, compile, archive, unit test, doc generation and s

Re: Supplying Parameters to xslt's called from ant.

2003-01-29 Thread Conor MacNeill
Jerome Paul wrote: Hi, I'm using the ant style task and I was wondering if their's a way to pass parameters to the xslt I'm using? any suggestions? cheers Jerome I think it is in the doco - look at the param nested element http://ant.apache.org/manual/CoreTasks/style.html There is an examp

Supplying Parameters to xslt's called from ant.

2003-01-29 Thread Jerome Paul
Hi, I'm using the ant style task and I was wondering if their's a way to pass parameters to the xslt I'm using? any suggestions? cheers Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Deriving new properties based on existing properties

2003-01-29 Thread Naresh Bhatia
Thanks Dominique - you nailed it. I had the wrong bsf (version 2.3 form Jakarta). Ant 1.5.1 expects the older bsf 2.2 from IBM where package names start with com.ibm. The version from Jakarta has changed the package names to org.apache. Naresh -Original Message- From: Dominique Devienne [

RE: Deriving new properties based on existing properties

2003-01-29 Thread Dominique Devienne
That's what I've done, and it works fine for me, as demonstrated by the few I've posted. Could be you have the wrong bsf.jar (moved to Jakarta recently. Where did you get yours?) or js.jar. You could also run in -debug mode, and inspect the messages where it says loading this class from this loca

RE: Deriving new properties based on existing properties

2003-01-29 Thread Naresh Bhatia
I am running into a problem trying to run the task. Ant is not finding it. I have optional.jar, bsf.jar and js.jar in the Ant lib directory. I am using Ant 1.5.1. Any ideas what could be the problem? The error message is: Could not create task or type of type: script Thanks. Naresh -Origin

Re: Expand Ant to "Undo" Executed Targets

2003-01-29 Thread Martin
Dave- Most of the Ant scripts I have written have implmented targets something like Nuke Old Directories Create Source and Target Directories Get Source from VSS Run jasper on jsp to create Java source Compile everything Create Jars Create Junit/Cactus Tests Run Junit/Cactus tests Create Javadoc I

RE: Deriving new properties based on existing properties

2003-01-29 Thread Dominique Devienne
The particular example given could have been achieve with and . Granted would have required two s since the latter can only set two properties at a time, but still... Capitalizing first work letters is another story of course. --DD -Original Message- From: Naresh Bhatia [mailto:[EMAIL PR

RE: Deriving new properties based on existing properties

2003-01-29 Thread Naresh Bhatia
Thanks sascha. That will work for me! Naresh -Original Message- From: Sascha Freitag [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 2:26 AM To: Ant Users List Subject: RE: Deriving new properties based on existing properties So fare as I know you have to do this with a scr

RE: Quick GenJar Question

2003-01-29 Thread Dominique Devienne
Have you looked at ? --DD -Original Message- From: Brian Quirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 1:03 PM To: Ant Users List Subject: Re: Quick GenJar Question Thank you for your quick response. However, I believe using still requires me to list each class usi

RE: Expand Ant to "Undo" Executed Targets

2003-01-29 Thread Dave Draper
You can force a target to be executed again by using - Dave -Original Message- From: Cessna, Thao [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 14:04 To: '[EMAIL PROTECTED]' Subject: Expand Ant to "Undo" Executed Targets Hi, I'm using Ant targets to render GUI panels fo

Re: Quick GenJar Question

2003-01-29 Thread Jeff
Brian Quirk wrote: Hi, I'd like to Jar all the classes (and dependent classes) in a package without listing each class via the element: Does anyone if its possible to replace the collective elements with something that would pull in the entire package? Thank

Re: Quick GenJar Question

2003-01-29 Thread Brian Quirk
Thank you for your quick response. However, I believe using still requires me to list each class using or else class1, class2, and class3 would not be pulled into the jar. The Subject: Re: Quick GenJar Question

Expand Ant to "Undo" Executed Targets

2003-01-29 Thread Cessna, Thao
Hi, I'm using Ant targets to render GUI panels for a Config. Wizard application. At the last panel, I would like to be able to go back to previous panels for correction before executing the configuration. Since the targets are already executed, Ant won't execute them again thus preventing me from

Re: Quick GenJar Question

2003-01-29 Thread Antoine Levy-Lambert
I have had a look for you in the doc of Genjar on SourceForge, http://genjar.sourceforge.net/manual.html#classfilter it looks like you can use this type of construct - Original Message - From: "Brian Quirk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29,

Re: copy problem

2003-01-29 Thread Steve Loughran
- Original Message - From: "Paul Hunnisett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 08:24 Subject: RE: copy problem > > > OK - thanks for all your help. I have now got it working, but am very > confused as to why it wasn't working in the first place

Quick GenJar Question

2003-01-29 Thread Brian Quirk
Hi, I'd like to Jar all the classes (and dependent classes) in a package without listing each class via the element: Does anyone if its possible to replace the collective elements with something that would pull in the entire package? Thanks, Brian --

RE: copy problem

2003-01-29 Thread Paul Hunnisett
OK - thanks for all your help. I have now got it working, but am very confused as to why it wasn't working in the first place. One of the arguments that I was passing into Java2WSDL was wrong. The WSDL was being generated and was correctly formed - but would not have actually worked. When

RE: copy problem

2003-01-29 Thread Dominique Devienne
Never had an issue with myself... I've heard many times on this forum that Windoze filesystems are often unreliable when it gets to get the *real* last modification time of a file (gives it with a 2 seconds tolerance), so that could throw off I guess, I guess never saw this problem myself. --DD

RE: copy problem

2003-01-29 Thread Dominique Devienne
And what is the debug output saying. Did you try running in debug mode? Can you post the relevant portions of it? --DD -Original Message- From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:33 AM To: [EMAIL PROTECTED] Subject: RE: copy problem :-) fair co

RE: copy problem

2003-01-29 Thread Paul Hunnisett
:-( thanks - tried waiting 30 seconds - I'm not even convinced that it's actually waiting From: David McTavish <[EMAIL PROTECTED]> Reply-To: "Ant Users List" <[EMAIL PROTECTED]> To: 'Ant Users List' <[EMAIL PROTECTED]> Subject: RE: copy problem Date: Wed, 29 Jan 2003 10:27:11 -0500 try wait

RE: copy problem

2003-01-29 Thread Ciramella, Edward
One other thing to try is use a file set, run in debug/verbose mode, look for results like this: testcopy: fileset: Setup scanner in dir C:\fail-test with patternSet{ includes: [**/*.bat] excludes: [] } [copy] runreport.bat added as C:\cpytst\runreport.bat doesn't exist. [copy] Copying

RE: copy problem

2003-01-29 Thread David McTavish
sorry, I think there is a bug in copy, at least I've posted about this before about 4 months ago and had no successful advice. I ended up switching to the sleep command to get it to pseudo-work, but this depended on the speed of the processor running the ant process. I finally just switched e

RE: copy problem

2003-01-29 Thread Paul Hunnisett
:-) fair comment - I did double check those things and they are correct From: "Ciramella, Edward" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" <[EMAIL PROTECTED]> To: 'Ant Users List' <[EMAIL PROTECTED]> Subject: RE: copy problem Date: Wed, 29 Jan 2003 10:22:24 -0500 Did you double check

RE: copy problem

2003-01-29 Thread David McTavish
try waiting in between the javac process and the copy. One of the problems I had with ant-copy is that it was inconsistent with copying files (especially jars that were just built). Try waiting 3 seconds after the javac command and see if the file copies after that. d. -Original Message

RE: copy problem

2003-01-29 Thread Ciramella, Edward
Did you double check the spelling of the directory names? Is it really up one directory relative to where you're launching ant? I know these are silly things - but we all rush sometimes :) -Original Message- From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 20

Re: copy problem

2003-01-29 Thread Paul Hunnisett
tried running in debug mode using and -debug copy (giving copy a dependency on wsdl) wsdl and dependencies run - but copy does not despite the fact that I get the output: Build sequence for target `copy' is [init, compile, wsdl, copy] Complete build sequence is [init, compile, wsdl, copy] Fr

RE: copy problem

2003-01-29 Thread Paul Hunnisett
I tried your alternative using nested elements with exactly the same results. Unfortunately - I'm writing this build file as part of an exercise for a course I'm writing. Whilst using exec with cp would probably work - it's a bit "quick and dirty" to really use in a course context Thanks for

Re: copy problem

2003-01-29 Thread Antoine Levy-Lambert
also, try running ant in debug mode : ant -debug wsdl to see exactly what happens. - Original Message - From: "Paul Hunnisett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 3:48 PM Subject: copy problem > The following is a target that I would ideally like

RE: copy problem

2003-01-29 Thread David McTavish
Try exec'ing to cp to copy. I've had problems in the past with ant-copy, that I don't use it much anymore. Failing that, try: maybe use the available task to ensure that the file exists in the current directory. d. -Original Message- From: Paul Hunnisett [mailto:[E

copy problem

2003-01-29 Thread Paul Hunnisett
The following is a target that I would ideally like to use: http://www.stilo.com/random"/> http://localhost:8080/ogsa/services/RandomService"/> The copy task for this never runs, however. I am making sure the file i s deleted in the copy to location, so thi

Version_Tool version 1.1.4

2003-01-29 Thread Ryan Grier
Hi, I have released a new version of my version_tool. This release includes some nice new features. These features include: New in Version 1.1.4: VersionUpdate: 1. Saves new Version number out to an Ant property ('VersionTool_Version'). 2. An Ant property can be defined to save the new vers

RE: Filter task

2003-01-29 Thread Jorge San José
Hi Dan, thank you very much. I have used the Replace task and it run good. But I am going to use the xml task because it like good task. -Mensaje original- De: Dan Gardner [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 29 de enero de 2003 11:07 Para: 'Ant Users List' Asunto: RE: Filter

Calling ant from a jsp (more and more...)

2003-01-29 Thread Juan Fuentes
Hi! I'm new in this list. I checked out the archives looking for ways of calling ANT from a jsp/servlet, but I didn't find the right solution. My idea is to create an update system using ant and with a web interface. Then, I'd like to have a javabean that encapsulates the ant job (possible, a Pro

Re: Filter task

2003-01-29 Thread Brian Agnew
If you want to put conent into an XML file, then XmlTask may be what you want. See http://www.oopsconsultancy.com/software/xmltask.html --- Jorge_San_José <[EMAIL PROTECTED]> wrote: > Hi dear list! > > I am using ant1.5.1 and I have the following problem: > I want to write in a XML file wi

RE: Filter task

2003-01-29 Thread Dan Gardner
Use the xmltask by oopsconsultancy. It works great for me. http://ant.apache.org/external.html#xmltask http://www.oopsconsultancy.com/software/xmltask.html ___ Dan GardnerEmap IT - UK >-Original Message- >From: Jorge San José [mailto:[EMAIL PROTEC

Filter task

2003-01-29 Thread Jorge San José
Hi dear list! I am using ant1.5.1 and I have the following problem: I want to write in a XML file with ANT but I don't know do it. I thought to use the filter task but it is for TXT file, isn't it? I have used the filter task and it don't run. Thak you very much. Best regards,