Re: Mail Task failing on QUIT message

2001-12-03 Thread Steve Loughran
- Original Message - From: "William Ferguson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 6:56 PM Subject: Mail Task failing on QUIT message > Hi, > > I was just wondering whether anyone else has seen the mail task play up when > sending the QUIT message?

Reset an existing property

2001-12-03 Thread Holger Danske
Hello Ant-User. One, I hope, simple question. Is it possible to reset an existing property, something like The sample is simplify, but it is enough to describe what I want. TIA JD __ Nokia 5510. Verrücktes Design! Toller Sou

Silent execution of targets

2001-12-03 Thread David Blevins
Hi All, Simple question. Is there any option or flag (or anything) I can set on a target so that it doesn't output anything unless there is an error? Thanks, David -- To unsubscribe, e-mail: For additional commands, e-mail:

Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-03 Thread Sebastien Boving
Hi, I'm having problems getting Ant 1.4.1 to work with JDK 1.4 beta3. I get the 'Cannot use classic compiler' error: [seb@ART002001] 150 # ant compile Buildfile: build.xml init: compile:     [javac] Modern compiler is not available - using classic compiler     [javac] Compiling 11 source files to

Mail Task failing on QUIT message

2001-12-03 Thread William Ferguson
Hi, I was just wondering whether anyone else has seen the mail task play up when sending the QUIT message? The mail is sent OK, but the mail task fails when sending the QUIT message with an ndexOutOfBoundsException in line 87 of org.apache.tools.mail.SmtpResponseReader. It appears that the QUIT

mapper support for filesets

2001-12-03 Thread Vishweshwar, Ghanakota
Hi, Is there a way to make fileset support mappers? The situation is this. we have "xxx-ejb-jar.xml" in "descriptor" directory and I want to include this in jar as "ejb-jat.xml". I am wondering if there is a better way than copying to a temp location. thanks, vishu "MMS " made the following ann

RE: Substring or Substitution in ANT

2001-12-03 Thread Li, Jerry
Believe or not, I am using pathconvert to get substring of tempPathName: Here I am actually getting the remaining part of tempPathName after ${PRODUCT_ROO

RE: Ant Perforce Tasks

2001-12-03 Thread Les Hughes
Hi Stuart, Can you supply a snippet of your buildfile? On my test box with and ant -verbose I get [p4change] Execing p4 change -o [p4change] Execing p4 change -i [p4change] Change Number is 108 [echo] Change is 108 and in p4win Change 108 {Autosubmit by Ant} So I can't reprodu

Re: newbie - if-then-else task?

2001-12-03 Thread Russ Fink
Okay - I think I understand. If I have 'dirs.orig' pointing to the global area, and dirs.local pointing to the local modified area, and want to put the file into 'dest', I can do the following: The first line sets the default to the orig directory; the second line overrides the value of '

Re: newbie - if-then-else task?

2001-12-03 Thread Erik Hatcher
Ha! I knew I'd find a way to get a correction on Diane if I waited long enough :) Actually the back-door hack for is being left in (just with a nasty message if you overwrite a propertys value using it) - that was the curreent consensus, unfortunately. This may change before the release of 1.5

Re: setting property

2001-12-03 Thread Gavin Yeung
Hi Diane, Remember me? This is Gavin. Guess we are on the same list. --Gavin --- Diane Holt <[EMAIL PROTECTED]> wrote: > --- Erik Hatcher <[EMAIL PROTECTED]> > wrote: > > > > value="c:\project"/> > > value="env.PROJECT_HOME"/> > > Actually, you'll wan

Re: newbie - if-then-else task?

2001-12-03 Thread Diane Holt
You can use . It doesn't "just set a flag" -- you can assign any value to the property it's (potentially) setting, so have the value be the path to the file it finds, then reference that property in your task. If you can use a nightly build rather than a release, you can do this more easily, sin

newbie - if-then-else task?

2001-12-03 Thread Russ Fink
Hello, I'm new at Ant and I will describe what I want to do -- followed with how I hope to do it. I'm trying to copy files from two sources, a system directory followed by a local directory. This is prior to a build, and I'm modifying an existing build file. What I want is to copy a file fr

Re: Fileset support for unjar/unwar/unzip

2001-12-03 Thread Magesh Umasankar
On Mon, 03 Dec 2001 Stefan Bodewig wrote : > On Fri, 30 Nov 2001, Paul Cody Johnston > <[EMAIL PROTECTED]> > wrote: > > > Does anyone know if there are plans to support nested > filesets for > > the unjar class of tasks? > > The CVS version of Ant already supports this. I'm not >

Re: newbie: Now to append newline.

2001-12-03 Thread Stefan Bodewig
On Mon, 03 Dec 2001, Manik Surtani <[EMAIL PROTECTED]> wrote: > How about enclosing it in CDATA tags? I thought it should work, but when I tried it, it didn't append anything. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: newbie: Now to append newline.

2001-12-03 Thread Manik Surtani
How about enclosing it in CDATA tags? E.g., ? Cheers, Manik Stefan Bodewig wrote: [EMAIL PROTECTED]"> From: Stefan Bodewig <[EMAIL PROTECTED]> OK, this doesn't work because of XML's notion of ignorablewhitespace. We could "fix" that by supporting the xml:space attribut

Re: newbie: Now to append newline.

2001-12-03 Thread Stefan Bodewig
From: Stefan Bodewig <[EMAIL PROTECTED]> > > OK, this doesn't work because of XML's notion of ignorable whitespace. We could "fix" that by supporting the xml:space attribute as described in the XML spec , but an easier solution to th

Re: setting property

2001-12-03 Thread Erik Hatcher
Dang... I can't win with you Diane! Once again, she is absolutely correct. Erik - Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 8:46 AM Subject: Re: setting property > --- Erik Hatcher <[EMAIL PR

Re: setting property

2001-12-03 Thread Diane Holt
--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > > > Actually, you'll want that to be value="${env.PROJECT_HOME}". Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo!

RE: path structures in different build files

2001-12-03 Thread Matthieu Bentot
I wrote and sent a patch to do exactly that 2 weeks ago. Matthieu > -Original Message- > From: Erik Hatcher [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 03, 2001 12:18 PM > To: Ant Users List > Subject: Re: path structures in different build files > > > Currently the task only

Substring or Substitution in ANT

2001-12-03 Thread Hannes van der Merwe
Is there an existing task that can be used to get a substring of a String or substitute a part of a String with something else? Hannes van der Merwe Momentum Employment Benefits (IT) Telephone : (011) 685 4306 Email : [EMAIL PROTECTED] E-mail disclaimer Confidentiality Warning =

Re: path structures in different build files

2001-12-03 Thread Erik Hatcher
Currently the task only transfers across build listeners, task definitions, data type definitions, and properties. References are not carried over. It seems like a good enhancement request, although how that works and maintain backwards compatibility is the main issue to address. Erik --

Checking if an Application is Running while building

2001-12-03 Thread Imran Bohoran
Hi All I want to delete some of the files deployed in my apperver when my build is in the process. But If the appserver is running I am not able to delete them since the it'll be in use. Is it possible to give an appropriate message to the user saying that he should shutdown the appserver to run

path structures in different build files

2001-12-03 Thread Nathan Coast
Hi, I have a path structure that I have defined in one build file, this build file then calls a second build file. If I try to refer to the path structure I defined in the first file from the second file I get an error: Reference webapp.classpath not found. file 1 contains: