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
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
>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}
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
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
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
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
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]
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
>
> > -
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
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
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:
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]
> >
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]
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,
> >
>
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]
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
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
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
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
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.
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
22 matches
Mail list logo