Re: inline property expansion not working as advertised

2008-01-14 Thread Michael Pelz Sherman
ile, and gets its property values via the file alt.properties instead of test.properties. I'll have to play around with the -propertyfile parameter and see why it might not have worked for you. I've never used that command line parameter before, so maybe it simply doesn't work. On Jan 1

Re: inline property expansion not working as advertised

2008-01-11 Thread Michael Pelz Sherman
AIL PROTECTED]> wrote: You have to import the property file or declare the properties in the build file. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message ---- From: Michael Pelz Sherman To: Ant Users List Sent: Thursday, January 10, 2008 5:52:27 PM

inline property expansion not working as advertised

2008-01-10 Thread Michael Pelz Sherman
>From the Property task docs >(http://ant.apache.org/manual/CoreTasks/property.html) In-file property expansion is very cool. Learn to use it. Example: build.compiler=jikes deploy.server=lucky deploy.port=8080 deploy.url=http://${deploy.server}:${deploy.port}

RE: Continuing past errors

2005-10-24 Thread Michael Pelz Sherman
Sweet! Worked like a charm, thanks! :-) - Michael --- "Shatzer, Larry" <[EMAIL PROTECTED]> wrote: > Since you are already using ant-contrib, look at the try/catch tasks it > offers as well. > > > -Original Message- > > From: Michael Pelz Sherma

Continuing past errors

2005-10-24 Thread Michael Pelz Sherman
Hi, I'm working on a script that I want to continue executing even if an error is encountered. The script uses the "foreach" task from ant-contrib to execute the same task repeatedly with different arguments. If one of the executions fails, I want the script to keep going through the rest rather t

RE: bug in "unless"?

2005-07-29 Thread Michael Pelz Sherman
Ah - that worked! Thank you! :-) --- "Murray, Mike" <[EMAIL PROTECTED]> wrote: > > > -Original Message----- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Sent: Friday, July 29, 2005 4:05 PM > To: Ant Users List > Subject: bug in &quo

bug in "unless"?

2005-07-29 Thread Michael Pelz Sherman
Hi, In ant 1.6.2, the following seems to indicate a bug with "unless": Executing B Executing C; foodir.exists is ${foodir.exists} Executing A $ mkdir foo $ ant -f foo.xml A

numeric comparisons

2005-05-09 Thread Michael Pelz Sherman
Hi, I just wrote a simple Condition class to do numeric comparisons. Did I re-invent the wheel? (Hope not!) - mps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: classpath for custom Ant tasks

2005-04-13 Thread Michael Pelz Sherman
sloader is > created for your task. > In "normal" situations this should work as expected. > An ant-speciality: If an classpath entry does not exist at the moment you > define it, it will (silently) removed from > the classpath. > Cheers > Rainer > > > -

Re: classpath for custom Ant tasks

2005-04-13 Thread Michael Pelz Sherman
the running task is by changing the $CLASSPATH in my shell (which I'd rather avoid if possible). Any suggestions? Really appreciate the help! - Michael --- Mark Lybarger <[EMAIL PROTECTED]> wrote: > have you looked at the taskdef ? it's a typedef and as such takes a > class

classpath for custom Ant tasks

2005-04-12 Thread Michael Pelz Sherman
Hi, I'm writing a custom Ant task that has dependencies on our custom libraries. Is there some way I can define or code the task so it can take a "classpath" and/or "classpathref" argument? Thanks, - Michael - To unsubscribe, e

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Michael Pelz Sherman
at's a lot more work and organizational overhead. If I truly need this capability (and I suspect I will), I'll definitely take a look at the task in ant-contrib. - mps --- Mark Lundquist <[EMAIL PROTECTED]> wrote: > > On Mar 17, 2005, at 10:04 AM, Michael Pelz Sherman wrote:

Re: Exiting ant TARGET without aborting build

2005-03-17 Thread Michael Pelz Sherman
rom 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- > > Von: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > >

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: 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, > > >

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]

[SOLVED] Re: referencing path id in junit task

2005-03-10 Thread Michael Pelz Sherman
Never mind, I just figured it out: - mps (Dangit! Yahoo! mail mangled my example! Oh well.) Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: Hi, I have a path defined using the following syntax: ... I'd like to reference this path in a junit task. Un

referencing path id in junit task

2005-03-10 Thread Michael Pelz Sherman
Hi, I have a path defined using the following syntax: ... I'd like to reference this path in a junit task. Unfortunately, junit doesn't support the "classpathref" attribute. Can anyone suggest a way of referencing "my.classpath" in my junit task? Thanks, - mps

Re: AW: calling targets from macrodefs

2005-02-24 Thread Michael Pelz Sherman
e macrodef. Jan -Ursprüngliche Nachricht- Von: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 24. Februar 2005 04:47 An: user@ant.apache.org Betreff: calling targets from macrodefs Hi, Please excuse the somewhat newbie-ish question, but is it possible to call an

calling targets from macrodefs

2005-02-23 Thread Michael Pelz Sherman
Hi,   Please excuse the somewhat newbie-ish question, but is it possible to call an ant target from within a macrodef?   The attached file contains a simplified example.   When run, I get the following error:   "Ant could not find the task or a class this task relies upon"   Many Thanks! - M

RE: how to call "ant -projecthelp" from ant target

2005-02-09 Thread Michael Pelz Sherman
Thanks, that worked like a charm! :-) "Murray, Mike" <[EMAIL PROTECTED]> wrote: -Original Message----- From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:04 PM To: user@ant.apache.

how to call "ant -projecthelp" from ant target

2005-02-09 Thread Michael Pelz Sherman
Hi, I'd like to define a (default) ant target that calls "ant -projecthelp" to list the targets & descriptions in my project. I'm having trouble doing this. Can anyone provide the solution? Many Thanks! - Michael