Best example:
The second should not find any files.
Jan
> -Ursprüngliche Nachricht-
> Von: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 13. Januar 2005 08:31
> An: user@ant.apache.org
> Betreff: Re: copy failonerror
>
> On Wed, 12 Jan 2005, Doug Moore <[EMA
Would be better to implement the tests against a system property which
defaults to user.dir.
Jan
> -Ursprüngliche Nachricht-
> Von: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 13. Januar 2005 08:29
> An: user@ant.apache.org
> Betreff: Re: Running in a different di
On Wed, 12 Jan 2005, Doug Moore <[EMAIL PROTECTED]> wrote:
> Is this broke or am I misunderstanding this.
One feature of a fileset is, that the patterns may match nothing.
There is no notion of "missing files" in a fileset, so copy doesn't
know that something isn't there.
Stefan
---
On Wed, 12 Jan 2005, Rick Genter <[EMAIL PROTECTED]> wrote:
> Is there a way to tell to run its tests in a different
> directory without forking the VM?
No. You can't change the working directory of a running Java process
(well, at least not portably, you can simply reset user.dir on Apple's
VM
Hi,
You shoud propably use:
The ** means, recurse into the dir structure and include the files at any
level you find them. If you would specifically require only three levels try:
Gerard
On Thursday 06 January 2005 06:06, Poonam wr
Ok. Releasing ver 1.0RC . (Using your reminder on "
".)
Also capitalizing on the fact that its an xml target that needs the
messaging, I can safely replace every single CRLF with null, "",
nada. Then replace every "/>" with "/>LF". Its real simple and works,
and achieves 99.9% of my goal. He
Hi, Nat,
I never would have thought of that! Really neat!
Actually, "
" is a CR, not 015.
yours,
Julius
On Wed, 2005-01-12 at 21:25 -0500, Nat Gross wrote:
> Thanks, but for whatever reason, I can't get replacetoken to work,
> regardless if using CDATA or plain strings.
> BUT, you pointed m
Thanks, but for whatever reason, I can't get replacetoken to work,
regardless if using CDATA or plain strings.
BUT, you pointed me in the right direction and the following *partially*
works:
However, it's only a partial solution, because it takes care of only
about half the white space, and h
A precision (in CAPITAL LETTER) to the description I brought in the
last post
RED cannot go throught the list !
Hi,
I'm using the tar task of ant but I come with a "problem" when
untaring the tared files.
I can make it work but not exaclty the way I want.
After taring directory basedir, see
Try this:
Be careful to make sure the CDATA only contains the EOL's and no extra
whitespace!
BEFORE:
===
this file
seems to be
double spaced
except for the
very last line.
AFTER:
===
this file
seems to be
double spaced
except for the
very last
You might try the (optional) task.
--
Martin Cooper
On Wed, 12 Jan 2005, Nat Gross wrote:
Hi;
On Windows, I get a daily text file from another process that has tons of
extra EOL's, which I manually delete with my editor.
How can I use Ant's filter to copy the file and strip all duplicate eol's?
Hi;
On Windows, I get a daily text file from another process that has tons
of extra EOL's, which I manually delete with my editor.
How can I use Ant's filter to copy the file and strip all duplicate
eol's? The fixeol task does not cut it. It should have an option to
remove the eol, or replace ev
A precision (in *RED*) to the description I brought in the last post
Hi,
I'm using the tar task of ant but I come with a "problem" when
untaring the tared files.
I can make it work but not exaclty the way I want.
After taring directory basedir, see above, I untar it but I want to
keep the
On Wed, 12 Jan 2005, Robert Lin wrote:
Sorry, the subject should have been "JUnit Test Suggestions".
Robert
-Original Message-
From: Robert Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 2:17 PM
To: Ant Users List
Subject: Ant Users List
Hi,
Our project has a bunch of modu
There is "-keep-going" option that will ask ANT to execute as many
targets as possible (only targets that depend only on successfully
executed targets will be executed) and then fail if there was at least
one failure.
- Alexey.
Robert Lin wrote:
Sorry, the subject should have been "JUnit Test S
Sorry, the subject should have been "JUnit Test Suggestions".
Robert
-Original Message-
From: Robert Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 2:17 PM
To: Ant Users List
Subject: Ant Users List
Hi,
Our project has a bunch of modules and with their own buildfile
Hi,
Our project has a bunch of modules and with their own buildfile, and each
buildfile would contain a set of JUnit tests that is specific to that module.
Is there an easy way to use a central build.xml file and call the various JUnit
targets that reside in each individual buildfiles. And a
The import task loads tasks directly into a script and can thus factor targets
for multiple build
files.
--- [EMAIL PROTECTED] a écrit :
> I have a build.xml file that is exceedingly long. I don't think I can
> create sub builds because of the dependencies. Is it possible to load
> targets fr
If you are using ant 1.6 try using the import task
Doug
[EMAIL PROTECTED] wrote:
I have a build.xml file that is exceedingly long. I don't think I can
create sub builds because of the dependencies. Is it possible to load
targets from another xml file in a similar fashion that we can load
properties
I have a build.xml file that is exceedingly long. I don't think I can
create sub builds because of the dependencies. Is it possible to load
targets from another xml file in a similar fashion that we can load
properties.
Thanks
Pascal
thanks
-Original Message-
From: praveen pachhapur [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 6:31 PM
To: Ant Users List
Subject: Re: Change the web.xml File through ANT
Murali,
Use token filter from ant to replace the propery values at run time.
I would like the build to fail if a source file included in a
does not exist. I am using the default of
failonerror, so that is true. But it only fails if the source directory
does not exist ( this seems broken too according to the manual ). If the
file does not exist I don't even get a warning wh
My ant build file builds an installation kit directory (dist) under the
basedir. I'd like to run my unit tests from this directory, but haven't
found a way to do so; when I invoke it appears to be running
from the basedir. Is there a way to tell to run its tests in a
different directory without f
perty: src -> src
Setting project property: classes -> classes
Setting project property: dist -> dist
Setting project property: doc -> docs
Build sequence for target `compile' is [init, compile]
Complete build sequence is [init, compile, package, clean, run, doc, ]
init:
Settin
Hi,
I'm using the tar task of ant but I come with a "problem" when
untaring the tared files.
I can make it work but not exaclty the way I want.
After taring directory basedir, see above, I untar it but I want to
keep the tar program to untar in
the directory basedir.
For example:
based
Hello,
You may already know that the process command line is limited according to the
OS. And that limit on Windows with the Win32 API CreateProcess is 32 Kb. If
the limit is exceeded, you get a java.io.IOException.
I just discovered that there is another limit: an argument of a command l
: doc -> docs
Build sequence for target `compile' is [init, compile]
Complete build sequence is [init, compile, package, clean, run, doc, ]
init:
Setting project property: DSTAMP -> 20050112
Setting project property: TSTAMP -> 1236
Setting project property: TODAY -> January 12 2005
compi
Rebhan, Gilbert wrote:
> No, it shouldn't be scheduled (every 30mins or nightly
> ...)the "normal" way, maybe later. CC should only run if a
> 'buildorder' (txtfile generated by
> EclipsePlugin) is sent to
> CC_workdir, order contains a specific Versiontag, f.e. release_1_0_1.
The purpose of the
Sorry. Had an outage (machine went bang). Should be available now.
Velagapudi, Murali wrote:
http://www.oopsconsultancy.com/software/xmltask.html is not active
for checking ant external xmltasks for ant id there any other alternative
thanks,
Murali
-Original Message-
From: [EMAIL PROTECTED]
29 matches
Mail list logo