This was fixed in versions 1.6.3 and later.
-Original Message-
From: S I [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 06:56
To: user@ant.apache.org
Subject: Ant Task: < Zip>
Hi
I've created some empty sub-directories (/output; nested 4 levels down) that
are essential to the
This was fixed in versions 1.6.3 and later.
-Original Message-
From: John Zoetebier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 07:38
To: user@ant.apache.org
Subject: How to include an empty folder in a ZIP file
I have noticed that an empty folder is excluded from a ZIP file
: IndianAtTech [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 04, 2005 6:56 AM
To: Ant Users List
Subject: Re: MS Word automation
On Tue, 15 Mar 2005 12:28:11 +0200, David Resnick <[EMAIL PROTECTED]>
wrote:
> Yes, that sounds good! I didn't think of that...
>
> Thanks!
>
>
dir
3. filtering
Are you sure, that files are copied?
What does -verbose / -debug say?
Jan
> -----Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 23. März 2005 07:30
> An: 'Ant Users List'
> Betreff: RE: AW: Makin
You need to look into the documentation of the regexp package you have Ant
setup to use (the default is java.util.regex in JDK 1.4; you can find docs
for it here:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html).
The quantifier you used, '*', is characterized as a greedy quant
king copy NEVER overwrite
I would use the selector
something like
Cheers,
Antoine
> set the read-only flag to the files?
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: David Resnick [mailto:[EMAIL PROTECTED]
> > Gesendet am: Dienstag
aking copy NEVER overwrite
set the read-only flag to the files?
Jan
> -Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 22. März 2005 11:40
> An: 'Ant Users List'
> Betreff: Making copy NEVER overwrite
>
> I am m
I am making a backup of some files which I then filter back into the
original. Unfortunately, because of the way the targets are set up, this is
done more than once. I want the copy task to perform the backup only if the
backup files don't exist. Setting overwrite to false doesn't help me because
The only action a condition task performs is set a property if the condition
is true. You can then use the property you have set/not set to be the
condition for a separate target (using the if or unless attribute of the
target).
If you want an if statement, you can find a task that works as one in
Sounds good to me. Then I can get rid of the extra code in the macro that
removes the warning.
-David
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 16:11
To: Ant Users List
Subject: Re: Why "Trying to override old definition of task xxx" m
de could be modified to allow macrodefs that are different in
contents (due to property values changing) but otherwise the same to
be treated as "similar" - resulting in a log message at verbose level and
not at warning level.
Peter
David Resnick wrote:
>
>
>
> default=&q
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 12:44
To: Ant Users List
Subject: Re: Why "Trying to override old definition of task xxx" message?
What does the macrodef look like?
Peter
David Res
pting language and BSF.
Then script against JaWin´s API.
It´s the same as scripting against Ant´s or Java´s API :-)
Jan
> -Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 15. März 2005 11:14
> An: 'Ant Users List
user@ant.apache.org
Subject: AW: MS Word automation
Maybe JaWin [1] would help you a little bit...
Jan
[1] http://jawinproject.sourceforge.net/jawin.html#callingScript
> -Ursprüngliche Nachricht-
> Von: David Resnick [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 15. März 2005 08
I thought of doing it from BSF but I don't know what language supports COM
automation. I can't find VBScript on the BSF page. I was hoping to do it
with Jython and am trying to get that to work.
Thanks for the suggestion though!
-David
-Original Message-
From: Keith Hatton [mailto:[EMAI
To: Ant Users List
Subject: Re: MS Word automation
It might be easier using this: http://jakarta.apache.org/poi/index.html
(No com involved)
Thomas
David Resnick schrieb:
>I want to perform some MS Word automation from an Ant script (for building
>release notes). I think that the way to do
I want to perform some MS Word automation from an Ant script (for building
release notes). I think that the way to do it is via the COM interface that
Word supplies.
Does anyone know how this could be done, or have a better approach for me
before I do more research on how this can accomplished
not remember the number) from
a netbeans developer.
Peter
David Resnick wrote:
>As best as I can see it, I am only defining it once.
>
>This is the situation:
>
>There are 2 files: Main.xml and tools.xml.
>
>In Main.xml (directly inside the project element) I have:
>
>
sts.
What is the name of the macro that it's complaining about?
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"David Resnick" <[EMAIL PROTECTED]> wrote on 03
n
-Ursprüngliche Nachricht-
Von: David Resnick [mailto:[EMAIL PROTECTED]
Gesendet am: Mittwoch, 9. März 2005 08:02
An: 'Ant Users List'
Betreff: alternate xml logger stylesheets
The stylesheet log.xsl included with Ant is great, but it would
be nice to
be able to see other logg
ef.
For exmple:
Would cause the macro "doit" to be defined twice.
Normally, one would place macrodefs outside of targets
and give them different names.
Peter
David Resnick wrote:
>I have a project with a dozen macrodef definitions. Today I added 2 more
and
>
The stylesheet log.xsl included with Ant is great, but it would be nice to
be able to see other logging levels without going to source of the xml log.
Unfortunately, my XSL abilities are not currently up to writing my own. Are
there any other stylesheets available for use, or tools made for viewing
I have a project with a dozen macrodef definitions. Today I added 2 more and
now get the message "Trying to override old definition of task xxx" for one
of the new macros at the start of most targets. The message doesn't seem to
have any effect on the build, but I would like to know why it suddenly
You can also use this:
-David
-Original Message-
From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 22:36
To: Ant Users List
Subject: How to escape the quotes characters in a string?
Hi,
In my build.xml, I'm using the Ant exec task as follow:
Oops! Now I wonder why it sometimes worked for me ;-)
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 00:47
To: Ant Users List
Subject: RE: includes property not working
--- David Resnick <[EMAIL PROTECTED]> wrote:
> No, I haven
enson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 17:19
To: Ant Users List
Subject: Re: includes property not working
Have you tried simply using includesfile rather than
includes with your fileset? It should expand
properties and everything.
-Matt
--- David Resnick <[EMAIL PR
t: Re: includes property not working
David,
--- David Resnick <[EMAIL PROTECTED]> wrote:
> I'm trying to include a list of files to delete in a
> text file which is read
> into a property (with properties expansion) and then
> used in the includes
> property of a fil
I'm trying to include a list of files to delete in a text file which is read
into a property (with properties expansion) and then used in the includes
property of a fileset in a delete task. For some reason when there are line
breaks in the text file, this isn't working!
distro.
David
-Original Message-
From: David Resnick [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 24, 2005 15:49
To: 'user@ant.apache.org'
Subject: "import re" with jython
I'm trying to use the jython re module in ant from a script task.
I have added the
I'm trying to use the jython re module in ant from a script task.
I have added the jython.jar library to my classpath, and can use various
function of python.
But when I try to import re, I get the following:
check:
[script] Traceback (innermost last):
[script] File "", line 2, in ?
[s
30 matches
Mail list logo