AW: Exiting ant task without aborting build

2005-03-16 Thread Jan . Materne
sure, while coding the task you can simply exit the execute() method without throwing a BuildException. mmh or do you mean from inside the buildfile? It cant - a task is an atomic instruction. You couldnt stop a System.out.println("test") while execution. Jan > -Ursprüngliche Nachricht

AW: Creating new JARs based on property change

2005-03-16 Thread Jan . Materne
...only jar the files... ...jar and sign... Jan > -Ursprüngliche Nachricht- > Von: Rainer Noack [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 16. März 2005 22:56 > An: 'Ant Users List' > Betreff: RE: Creating new JARs based on property change > > Holger, > > I'm not r

Re: suppressing or redirecting javadoc output [PATCH]

2005-03-16 Thread Zach Garner
I'm not sure if this is useful to anyone, but I've attached my patch that lets you turn off output to STDOUT by using On Wed, 2005-03-16 at 15:15 -0800, Matt Benson wrote: > --- Michael Pelz Sherman <[EMAIL PROTECTED]> > wrote: > > Thanks for the info on , Matt. Unfortunately > > my real object

Exiting ant task without aborting build

2005-03-16 Thread Michael Pelz Sherman
Is there a way to exit an ant task without aborting the entire build (i.e. using the task)? Thanks, - mps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ftp question 1.5.4

2005-03-16 Thread Vadim Kazakov
Didn't realize the listing was stored on the local computer. Then I guess my response doesn't really apply. -Original Message- From: Vadim Kazakov [mailto:[EMAIL PROTECTED] Sent: March 16, 2005 2:18 PM To: Ant Users List; Mike Starkie Subject: RE: ftp question 1.5.4 You can use the Attr

Re: suppressing or redirecting javadoc output

2005-03-16 Thread Matt Benson
--- Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > Thanks for the info on , Matt. Unfortunately > my real objective here is > to suppress the javadoc warnings etc. from spamming > my console. I'll try to get that into Ant 1.7 . If you're good I might even shoot for 1.6.3 but that's not far of

RE: How To Parse ${basedir} ??

2005-03-16 Thread Brent Bain
Thanks for the obvious!! I knew I was missing something that was right in front of me. Brent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 3:28 PM To: Ant Users List Subject: Re: How To Parse ${basedir} ?? Quoting Brent Bain <[EMAIL

RE: ftp question 1.5.4

2005-03-16 Thread Vadim Kazakov
You can use the Attributes and then somehow parse the list.txt file in order to get each file in that list. -Original Message- From: Mike Starkie [mailto:[EMAIL PROTECTED] Sent: March 16, 2005 2:08 PM To: user@ant.apache.org Subject: ftp question 1.5.4 I'm forced to use ant 1.5.4 and I

Re: suppressing or redirecting javadoc output

2005-03-16 Thread Michael Pelz Sherman
Thanks for the info on , Matt. Unfortunately my real objective here is to suppress the javadoc warnings etc. from spamming my console. - mps --- Matt Benson <[EMAIL PROTECTED]> wrote: > > --- Michael Pelz Sherman <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > Can anyone tell me how to suppress an

Re: ftp question 1.5.4

2005-03-16 Thread Matt Benson
--- Mike Starkie <[EMAIL PROTECTED]> wrote: > This works fine but there's one glitch: I want to > download junit.jar > and it's on the ftp server under junit/junit.jar, i > place a line in my > dependencies file: "junit/junit.jar" and the task > downloads the file > to a local directory called "j

RE: Creating new JARs based on property change

2005-03-16 Thread Rainer Noack
Holger, I'm not really sure what you mean. Either you have one "boolean" property that tells you cfg has changed or not Or you have two properties with last and current cfg. In both cases you can use a combination of task and target's attribute: Example for the second (more complex) case:

Re: ftp question 1.5.4

2005-03-16 Thread Mike Starkie
This works fine but there's one glitch: I want to download junit.jar and it's on the ftp server under junit/junit.jar, i place a line in my dependencies file: "junit/junit.jar" and the task downloads the file to a local directory called "junit/junit.jar". Everything is fine except I don't want t

Re: suppressing or redirecting javadoc output

2005-03-16 Thread Matt Benson
--- Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > Hi, > > Can anyone tell me how to suppress and/or redirect > the output of the javadoc > task to a file? IIRC it is somewhere on my virtual TODO list to add redirector support to the javadoc task. Assuming you want it in a file more than you

suppressing or redirecting javadoc output

2005-03-16 Thread Michael Pelz Sherman
Hi, Can anyone tell me how to suppress and/or redirect the output of the javadoc task to a file? Thanks! - mps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ftp question 1.5.4

2005-03-16 Thread Matt Benson
You should try using a nested fileset with the ftp task, and setting the includesfile attribute of your fileset to the file containing the list of names. -Matt --- Mike Starkie <[EMAIL PROTECTED]> wrote: > I'm forced to use ant 1.5.4 and I would like ant to > read a list of > filenames stored in

ftp question 1.5.4

2005-03-16 Thread Mike Starkie
I'm forced to use ant 1.5.4 and I would like ant to read a list of filenames stored in a file and do an ftp 'get' on each one of them. Is this possible using the ftp task? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Creating new JARs based on property change

2005-03-16 Thread Holger Rauch
On Wed, 16 Mar 2005, Rainer Noack wrote: > Remove the existing jar. Sure, but I only want to remove the existing JAR if the property indicating whether the JAR is supposed to be signed has changed since otherwise I end up rebuilding the JAR file even though it wasn't necessary. This property is s

RE: Creating new JARs based on property change

2005-03-16 Thread Rainer Noack
Remove the existing jar. Cheers Rainer > -Original Message- > From: Holger Rauch [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 16, 2005 4:43 PM > To: user@ant.apache.org > Subject: Creating new JARs based on property change > > > Hi! > > In my build file I have a property telling

Creating new JARs based on property change

2005-03-16 Thread Holger Rauch
Hi! In my build file I have a property telling whether JARs are supposed to be signed using or not. Furthermore, there's on uptodate check based on whether any of the JAR file's contents are more recent than the JAR file itself. How can I enforce rejarring of a JAR file when the property indicat

Re: does ant support jdk1.5

2005-03-16 Thread Stefan Bodewig
On Wed, 16 Mar 2005, Rajeev R. <[EMAIL PROTECTED]> wrote: > I am using ant 1.6(latest release avaliliable) 1.6.2 is the latest release available. > I tried this task but it doesnt work. > > Please any more suggestions. How about more details? What doesn't work? What are the symptoms? > fo

Re: does ant support jdk1.5

2005-03-16 Thread Ivan Ivanov
--- Rajeev R <[EMAIL PROTECTED]> wrote: > I am using ant 1.6(latest release avaliliable) > > I tried this task but it doesnt work. How does it now work? Does it outputs any errors and if so what are they? And just to be sure, can you post the output of java -version command Regards Ivan > > P

Re: does ant support jdk1.5

2005-03-16 Thread Rajeev R
On Wed, 16 Mar 2005 20:03:38 +0530, Rajeev R <[EMAIL PROTECTED]> wrote: > I am using ant 1.6(latest release avaliliable) > > I tried this task but it doesnt work. > > Please any more suggestions.I have tried these ,but both failed. > > failonerror="false" debug="on" target="1.5"> > > > > & >

Re: does ant support jdk1.5

2005-03-16 Thread Rajeev R
I am using ant 1.6(latest release avaliliable) I tried this task but it doesnt work. Please any more suggestions.I have tried these ,but both failed. & Thanks, Rajeev On Wed, 16 Mar 2005 14:15:44 +0100, Stefan Bodewig <[EMAIL PROTECTED]> wrote: >

RE: SVNAnt

2005-03-16 Thread Nir Geier
http://savant.sourceforge.net/download.html -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 3:33 PM To: Ant Users List Subject: Re: SVNAnt On Wed, 2005-03-16 at 10:22, Andrea Quintavalle wrote: > Try here > > http://subclipse.tigris.org/svn

Re: SVNAnt

2005-03-16 Thread James Abley
On Wed, 2005-03-16 at 10:22, Andrea Quintavalle wrote: > Try here > > http://subclipse.tigris.org/svnant.html > - Original Message - > From: Naveen Mamidi > To: Ant Users List > Sent: Wednesday, March 16, 2005 10:50 AM > Subject: SVNAnt > > > Hi, > > where can I downloa

Re: does ant support jdk1.5

2005-03-16 Thread Stefan Bodewig
On Wed, 16 Mar 2005, Rajeev R. <[EMAIL PROTECTED]> wrote: > Please give me the task javac for compiling a jdk 1.5 java file with > complete attributes. Depends on your version of Ant. Probably just Stefan - To unsubscribe, e

does ant support jdk1.5

2005-03-16 Thread Rajeev R
Hi, Please give me the task javac for compiling a jdk 1.5 java file with complete attributes. Thanks, Rajeev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

javac task attribute for compiling jdk1.5 Project issue

2005-03-16 Thread Rajeev R
Hi, Could anyone please tell me the javac task attributes for making the Project done in JDK1.5 to be compiled . I used the task attributes given below,but it does not work. I am using ant1.6 .Please help. Thanks & Regards, Rajeev -

Re: problem with negative lookbehind in a regexp mapper

2005-03-16 Thread Andrea Quintavalle
oh, yes i was a stupid thanks! - Original Message - From: "Ivan Ivanov" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, March 16, 2005 11:39 AM Subject: Re: problem with negative lookbehind in a regexp mapper > Andrea, > < is escaped with < in xml files. > > HTH Iva

Re: Ant task to get port number

2005-03-16 Thread Yves Martin
softgnostics k <[EMAIL PROTECTED]> writes: > Hi, > I have an ant task to start jboss application server and it works > fine. what i want to do is to print a message of the port number on > which jboss is running. Is it possible to echo the port number using > ant. > > Thanks in advance. The ea

Re: problem with negative lookbehind in a regexp mapper

2005-03-16 Thread Ivan Ivanov
Andrea, < is escaped with < in xml files. HTH Ivan --- Andrea Quintavalle <[EMAIL PROTECTED]> wrote: > when trying to use > > from="^(.*)(? to="\1" /> > > i obtain > > The value of attribute "from" associated with an > element type "mapper" must not contain the '<' > character. > > i have

Re: RTFM, literally

2005-03-16 Thread Christian Ashby
DOH! Missed a few things here, see below: This is invalid XML syntax. Try this: See . I think you are getting confused between the inline Manifest specification, and the manifest file attribute. Christian Ashby Spir

Re: RTFM, literally

2005-03-16 Thread Christian Ashby
intuitively, it should be: manifest="${outputDir}/MANIFEST.MF" /> This is invalid XML syntax. Try this: See

Re: SVNAnt

2005-03-16 Thread Andrea Quintavalle
Try here http://subclipse.tigris.org/svnant.html - Original Message - From: Naveen Mamidi To: Ant Users List Sent: Wednesday, March 16, 2005 10:50 AM Subject: SVNAnt Hi, where can I download SVNAnt latest version. Thanks, Naveen Mamidi Intellisca

problem with negative lookbehind in a regexp mapper

2005-03-16 Thread Andrea Quintavalle
when trying to use i obtain The value of attribute "from" associated with an element type "mapper" must not contain the '<' character. i have tryied to escape the '<' with a backslash but the error is still there. Can someone help me?

Re: RTFM, literally

2005-03-16 Thread THUFIR HAWAT
Trying to integrate into my build code. the example doesn't include the "jar" tags. my target: intuitively, it should be: manifest="${outp

SVNAnt

2005-03-16 Thread Naveen Mamidi
Hi,   where can I download SVNAnt latest version.   Thanks,        Naveen Mamidi Intelliscan LimitedTel: +44 (0)1651 277000 Fax: +44 (0)1651 277010http://www.intelliscan.co.uk  Oldmeldrum Business Centre Colpy Way Oldmeldrum Aberdeen AB51 0BZ T

Ant task to get port number

2005-03-16 Thread softgnostics k
Hi, I have an ant task to start jboss application server and it works fine. what i want to do is to print a message of the port number on which jboss is running. Is it possible to echo the port number using ant. Thanks in advance.