Re: XmlTask Update

2002-05-15 Thread Nicola Ken Barozzi
From: "Brian Agnew" <[EMAIL PROTECTED]> > I've just released an update of XmlTask which now allows modification of > multiple XML documents, writing each resultant XML file into a nominated > destination directory. > > See http://www.oopsconsultancy.com/software/xmltask.html > > XmlTask provides

Re: Set EntityResolver for "style" so inc. files can be found easily?

2002-05-15 Thread Erik Hatcher
Two quick comments: 1) Check Ant 1.5's datatype that and /

Set EntityResolver for "style" so inc. files can be found easily?

2002-05-15 Thread David M. Karr
I've been working on a process so I can actually use Tomcat's JspC output. I've settled on using a XSLT stylesheet to combine the "web.xml" with the servlet-mappings file generated by JspC. The basic elements of this are: 1. Original "web.xml" file. 2. A "webinc.xml" fragment, generated by Jsp

XmlTask Update

2002-05-15 Thread Brian Agnew
I've just released an update of XmlTask which now allows modification of multiple XML documents, writing each resultant XML file into a nominated destination directory. See http://www.oopsconsultancy.com/software/xmltask.html XmlTask provides the facility for automatically editing XML files as p

Re: exec task dir attribute

2002-05-15 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > anyone have problems getting the exec task to execute a command under > the directory specified in the dir attribute? The 'dir' attribute points to the directory in which the command will be executed, not the directory in which to find the command that's being execu

Ant Cvs Checkout Vs Commandline Check, cmd works ant doesn't

2002-05-15 Thread IH
In Win2000 I use ant 1.4.1 with a cvs rule to checkout my code. I first log in to cvs using the normal cvs command line cvs login. I then issue my command to ant to checkout my source code. The command fails with an authentication problem. Supplying the -debug option to ant reveals the equiv

Re:

2002-05-15 Thread Steve Loughran
- Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 11:53 AM Subject: RE: > Thanks for taking the time to answer Steve. Everything I described was > purely experimental and in part driven by my bac

RE:

2002-05-15 Thread Dominique Devienne
Thanks for taking the time to answer Steve. Everything I described was purely experimental and in part driven by my background of using Makefiles. I'm doing everything using plain vanilla ANT 1.4.1 now, although I still whish for more of what ant-contrib now provides. Now about Mutant and Myrmido

exec task dir attribute

2002-05-15 Thread Michael_Luu
anyone have problems getting the exec task to execute a command under the directory specified in the dir attribute? for example: i want to execute test.sh in the scripts directory. my build.xml is at the same level as my script directory. build.xml scripts | +--- test.sh a

Re:

2002-05-15 Thread Steve Loughran
- Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 8:48 AM Subject: > This subject about property immutability comes often enough that I'm going > to add my $.02 about it ;-) > (this post is prompted by today's 'Re:

Re: task and properties

2002-05-15 Thread Steve Loughran
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 9:45 AM Subject: Re: task and properties > - Original Message - > From: "Eddie Bernard" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: W

Re: Ant 1.5Beta1 - prefix Attribute

2002-05-15 Thread Steve Loughran
- Original Message - From: "Juergen Damke" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 6:20 AM Subject: Ant 1.5Beta1 - prefix Attribute >The prefix attribute for and slightly >differs. Can this be made identical ? > > adds a '.' if not

Re: task and properties

2002-05-15 Thread Steve Loughran
- Original Message - From: "Eddie Bernard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 1:51 AM Subject: task and properties > Is there a reason why properties in the task, in particular the > nested tag are not expanded properly? yeah, it is called a bu

Zip exceptions from Depend when "includes" blank

2002-05-15 Thread Scott Ellsworth
Hi, all. I know there has been some discussion of failures from Dependset, but I am not sure the following problem I am having with Depend is the same. With the following task: and with [echoproperties] depend.product.classpath= [echoproper

How to use/reference tools.jar from ant script

2002-05-15 Thread Jens Zastrow

ant-user@jakarta.apache.org

2002-05-15 Thread Dominique Devienne
Title: This subject about property immutability comes often enough that I'm going to add my $.02 about it ;-) (this post is prompted by today's 'Re: Re[4]: The old immutable properties trick' thread, and my weekend reading) Over a year ago, when I started playing around with ANT, having wr

RE: A simple question

2002-05-15 Thread Geoff Meakin
Extend your excludes to Cheers -Geoff -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Ant 1.5 - custom ant task create method not called.

2002-05-15 Thread Stefan Bodewig
On Tue, 14 May 2002, Bryan Pendleton <[EMAIL PROTECTED]> wrote: > Instead, it seems to have something to do with how > my custom Ant task is populated by UnknownElement > during the perform() processing. It will only be populated by UnknownElement if your lives inside a . Does it make any diff

RE: A simple question

2002-05-15 Thread Siamack Farshi
but : wartemp/web-inf/lib is empty and I want to keep it. -Original Message- From: Geoff Meakin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 11:42 AM To: Ant Users List Subject: RE: A simple question Extract from documentation Deletes a single file, a specified directory and

RE: A simple question

2002-05-15 Thread Geoff Meakin
Extract from documentation Deletes a single file, a specified directory and all its files and subdirectories, or a set of files specified by one or more FileSets. When specifying a set of files, empty directories are not removed by default. ** To remove empty directories, use the includeEmptyDirs

RE: A simple question

2002-05-15 Thread Siamack Farshi
Sorry for include I use -Original Message- From: Siamack Farshi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 11:24 AM To: 'Ant Users List' Subject: A simple question Hello everyone: This may seem like a simple question, but I appreciate if someone can give me a hint; I ha

A simple question

2002-05-15 Thread Siamack Farshi
Hello everyone: This may seem like a simple question, but I appreciate if someone can give me a hint; I have a directory structure: wartemp |_mdir |_ydir |_web-inf |_lib |_zdir I would like to delete everyting and only leave the following direct

Re: deleting a file if it does or does not exist

2002-05-15 Thread Glen Marchesani
Hmmm... you are right. After looking, the problem was trying to delete a jar file that was in the ant class path thus it could not be deleted (though I remember that this is jvm dependent). Cleaning up my classpath and delete behaves as expected. thanks, Glen - Original Message - Fro

Re: Ant 1.5Beta1 - prefix Attribute

2002-05-15 Thread Erik Hatcher
I actually don't think it should be changed. is for dumping properties and you may not want to restrict the prefix specified to having a "." after it. prefix works like the environment variant. Somewhat confusing, yes. But not a show-stopper and probably not worth changing either task because

Re: deleting a file if it does or does not exist

2002-05-15 Thread Stefan Bodewig
On Wed, 15 May 2002, Glen Marchesani <[EMAIL PROTECTED]> wrote: > > > This only works if the file does exist if it doesn't I get an error Hmm, works for me [bodewig@bodewig tmp]$ cat b.xml [bodewig@bodewig tmp]$ ant -f b.xml Buildfile: b.xml b: BUILD SUCCESSFUL Total ti

Ant 1.5Beta1 - prefix Attribute

2002-05-15 Thread Juergen Damke
The prefix attribute for and slightly differs. Can this be made identical ? adds a '.' if not specified, while has no '.' handling. Mit freundlichen Grüßen / With best regards Jürgen Damke __ IBM WebSphere Portal Developme

Re: deleting a file if it does or does not exist

2002-05-15 Thread Glen Marchesani
that is what I was looking for thanks, Glen - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 3:18 PM Subject: Re: deleting a file if it does or does not exist > You could set failonerror="false". >

Re: DependSet fails if specified target directory does not exist

2002-05-15 Thread Stefan Bodewig
On Tue, 14 May 2002, Marco Hunsicker <[EMAIL PROTECTED]> wrote: > The task fails if the directory specified for the targetfileset does > not exist. Ant 1.5beta2 will treat this the same way as any other case of missing target files - i.e. it will ignore the fileset. Thank you for the report

Re: deleting a file if it does or does not exist

2002-05-15 Thread Erik Hatcher
You could set failonerror="false". - Original Message - From: "Glen Marchesani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 9:08 AM Subject: deleting a file if it does or does not exist Hello I have a newbie question, I want to delete a file (part of my c

deleting a file if it does or does not exist

2002-05-15 Thread Glen Marchesani
Hello I have a newbie question, I want to delete a file (part of my clean task) but the file isn't guaranteed to be there. I currently use This only works if the file does exist if it doesn't I get an error "D:\foo\build.xml:295: Unable to delete file D:\foo\generated.jar" As a work

Re: task and properties

2002-05-15 Thread Stefan Bodewig
On Wed, 15 May 2002, Eddie Bernard <[EMAIL PROTECTED]> wrote: > Is there a reason why properties in the task, in particular > the nested tag are not expanded properly? They will be in 1.5beta2. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Some questions about EJB Tasks

2002-05-15 Thread Andrés Escudero Apesteguía
Hi, I'm trying to build EJB jar files with EJB Tasks with ant (v.1.4.1). First of all, I will deploy EJBs on Orion, so I build generic jar files and then I execute a perl script to add orion specific xml descriptor to those jar files. Is there any task for Orion in newer ant versions (1.5, 1.6)? I

RE: in

2002-05-15 Thread Wannheden, Knut
I scanned the BugZilla database before posting the message but couldn't find anything. But just to make sure that I don't submit a bug that's well known I posted this message first. I have now entered a bug report including a test case (as a Ant buildfile) into BugZilla. I also figured out what

task and properties

2002-05-15 Thread Eddie Bernard
Is there a reason why properties in the task, in particular the nested tag are not expanded properly? -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Signjar for multiple jars

2002-05-15 Thread Holger Rauch
Hi! On 30 Apr 2002, Stefan Bodewig wrote: > [...] > > > > > > > > should work. I would like to refer to an already existing / (i. e. using the "refid" attribute as in ). Is there a way of doing this inside ? Thanks in advance for any info! Greetings, H