jan.mate...@rzf.fin-nrw.de schrieb am 21.04.2009 um 11:17:18 (+0200):
> The 'help' output and the manual say:
>"-lib specifies a path to search for jars and
> classes"
>
> I had a look into the source code: the is a real path: it is
> tokenized by File.pathSeparator and each toke
Matt Benson schrieb am 21.04.2009 um 05:37:17 (-0700):
>
> You should probably try embedding your paths, with semicolons, in
> double quotes. Your command shell may be interpreting the semicolons
> as statement terminators.
Using semicolons as the pass seperator would make sense on Windows,
wher
So my solution, upgrading our java version, is unacceptable because it would
affect compilation of our codebase. Anyone know of a way to tell MailLogger to
use a different version of java than the rest of Ant (i.e. don't use Java_Home
for MailLogger)?
Thanks,
Eric
_
Found it:
http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156
From: Matt Benson
To: Ant Users List
Sent: Tuesday, April 21, 2009 1:51:20 PM
Subject: Re: MailLogger
Not I. Sorry. -Matt
--- On Tue, 4/21/09, Eric Fetzer wrote:
> From: Eric Fetzer
Not I. Sorry. -Matt
--- On Tue, 4/21/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: MailLogger
> To: "Ant Users List"
> Date: Tuesday, April 21, 2009, 2:47 PM
> So that works great on my local
> machine (ant 1.7.1). However, when I put the same exact
> entries on my build machin
So that works great on my local machine (ant 1.7.1). However, when I put the
same exact entries on my build machine (ant 1.7.0), I get:
MailLogger failed to send e-mail!
java.io.IOException: Unexpected reply to command: HELO buildmachine: 451 4.7.0
Time
out waiting for client input
at o
Cool, thanks.
From: Matt Benson
To: Ant Users List
Sent: Tuesday, April 21, 2009 11:48:07 AM
Subject: Re: MailLogger
Quite sorry--use ANT_ARGS. I always forget--OPTS is for JVM options; ARGS is
for Ant itself. :)
-Matt
--- On Tue, 4/21/09, Eric Fetzer
Quite sorry--use ANT_ARGS. I always forget--OPTS is for JVM options; ARGS is
for Ant itself. :)
-Matt
--- On Tue, 4/21/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: MailLogger
> To: "Ant Users List"
> Date: Tuesday, April 21, 2009, 12:00 PM
> When I run the commandline:
>
> >
When I run the commandline:
>ant -f buildfail.xml -logger org.apache.tools.ant.listener.MailLogger
It fails and I get an email. However, when I add the environment variable:
ANT_OPTS with the value -logger org.apache.tools.ant.listener.MailLogger
I get:
C:\TestAnt>ant -f buildfail.xml
Unrecog
You should probably try embedding your paths, with semicolons, in double
quotes. Your command shell may be interpreting the semicolons as statement
terminators.
-Matt
--- On Tue, 4/21/09, Felix Dorner wrote:
> From: Felix Dorner
> Subject: RE: Pass multiple directories to -lib option
> To:
> > So you mean it should work with ; (on Windows) separation
> and a single
> > -lib argument?
> yes, have you tried?
Yes I tried it, and once more right now. Doesn't work. Two possible sources of
confusion:
- Version issue, I use 1.7.0, but the one that's shipped with eclipse.
- The director
> So you mean it should work with ; (on Windows) separation and
> a single -lib argument?
> Felix
yes, have you tried?
Jan
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant
Hi Jan,
> Use multiple -lib options
> $ant -lib one.jar -lib another.jar
Great! Thanks. Guess that was the only thing I didn't try...
> I had a look into the source code: the is a real path:
> it is tokenized by File.pathSeparator and each token is added
> to Ants classpath.
So you mean it
> I tried several ways (space separated, semicolon-separated)
> to add more than one directory to the -lib option, somehow I
> cannot get this working (-diagnostics doesn't list my
> jars..). Thankful for any tips.
Use multiple -lib options
$ant -lib one.jar -lib another.jar
The 'help' output
Hey,
I tried several ways (space separated, semicolon-separated) to add more than
one directory to the -lib option, somehow I cannot get this working
(-diagnostics doesn't list my jars..). Thankful for any tips.
Felix
-
To uns
15 matches
Mail list logo