Dylan Farre wrote:
Hi, I am having a problem, using Log4J with Ant on Unix.
My project runs fine on Win and Unix. On Win, Log4J logs all the debug info
to a log file for me. On Unix, it does not. It does not give any errors or
anything. I have checked the obvious things like, does the file exist
Hi, I am having a problem, using Log4J with Ant on Unix.
My project runs fine on Win and Unix. On Win, Log4J logs all the debug info
to a log file for me. On Unix, it does not. It does not give any errors or
anything. I have checked the obvious things like, does the file exist and
does the user ha
Le mardi 10 mars 2009, Harnack Frank a écrit :
> Hello Felix,
>
> I'm more confident with "^\s*" (or better "^\s+") too.
>
> I prefer "^\s+", because it only matches with really existing spaces.
>
> Maybe "\s*" works like this:
>
> - Not existing whitespaces at the beginning of the line matche
Hi,
try something like: http://ant-contrib.sourceforge.net/tasks/tasks/index.html
Thanks,
Markus
-Ursprüngliche Nachricht-
Von: Felix Dorner [mailto:fdor...@zed.com]
Gesendet: Dienstag, 10. März 2009 16:11
An: Ant Users List
Betreff: Looking for something similar to javas 'finally' b
Hi Felix,
shame on me ... it's always the same ... rtfm!
sorry because of my silly question but anyway: thank you for your hint.
Thanks,
Markus
-Ursprüngliche Nachricht-
Von: Felix Dorner [mailto:fdor...@zed.com]
Gesendet: Dienstag, 10. März 2009 16:06
An: Ant Users List
Betreff: RE:
Hey,
In a target, I create a bunch of intermediary files which should *always* be
deleted right before the build completes, even if it completes abnormally. This
is quite similar to closing a stream in a java 'finally' block. Anything
similar for ant?
Thanks,
Felix
This is explained on the first page of the ant manual:
http://ant.apache.org/manual/running.html#libs
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
Hi guys,
I've got the following question:
f.e. I want to send mails with ant, so I copy the both jars
_mail.jar_(JavaMail) and the _activation.jar_ (JAF, I think it's needed,
too) to the lib-folder of its installation-dir.
Now everytime I upgrade Ant, I have to remember copying the needed jars
to
Hello Felix,
I'm more confident with "^\s*" (or better "^\s+") too.
I prefer "^\s+", because it only matches with really existing spaces.
Maybe "\s*" works like this:
- Not existing whitespaces at the beginning of the line matches with
"\s*".
- The not existing whitespaces are replaced with ""
Heya,
I confirm that both alternatives work. However, I'm more confident
with "^\s*", and don't see why "\s*" works...
Felix
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@an
Hello Francis,
first I thought, you were right, but it works with "\s*".
"\s+" would not.
But "^\s+" or "^\s*" works too.
Regards
Frank
-Original Message-
From: Francis Galiegue [mailto:f...@one2team.com]
Sent: Tuesday, March 10, 2009 9:19 AM
To: Ant Users List
Subject: Re: Trim lead
Le mardi 10 mars 2009, Harnack Frank a écrit :
> Hello Felix,
>
> try this:
>
>file="xyz.txt"
> match="\s*"
Err... "^\s*" would be better. If there's no leading space, the first series
of spaces will be replaced by nothing instead.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Hello Felix,
try this:
Regards
Frank
-Original Message-
From: Felix Dorner [mailto:fdor...@zed.com]
Sent: Monday, March 09, 2009 2:35 PM
To: Ant Users List
Subject: RE: Trim leading spaces line by line
I found the solution my self in the ant manual:
13 matches
Mail list logo