RE: Ant Task: < Zip>

2005-06-07 Thread David Resnick
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

RE: How to include an empty folder in a ZIP file

2005-06-07 Thread David Resnick
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

RE: MS Word automation

2005-05-04 Thread David Resnick
: 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! > >

Not filtering during copy when used (was RE: Making copy NEVER overwrite)

2005-03-27 Thread David Resnick
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

RE: replaceregexp on multiple lines

2005-03-27 Thread David Resnick
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

RE: AW: Making copy NEVER overwrite

2005-03-23 Thread David Resnick
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

RE: Making copy NEVER overwrite

2005-03-22 Thread David Resnick
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

Making copy NEVER overwrite

2005-03-22 Thread David Resnick
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

RE: Conditions

2005-03-21 Thread David Resnick
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

RE: Why "Trying to override old definition of task xxx" message?

2005-03-15 Thread David Resnick
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

RE: Why "Trying to override old definition of task xxx" message?

2005-03-15 Thread David Resnick
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

RE: Why "Trying to override old definition of task xxx" message?

2005-03-15 Thread David Resnick
-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

RE: MS Word automation

2005-03-15 Thread David Resnick
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&#

RE: MS Word automation

2005-03-15 Thread David Resnick
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

RE: MS Word automation

2005-03-15 Thread David Resnick
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

RE: MS Word automation

2005-03-14 Thread David Resnick
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

MS Word automation

2005-03-14 Thread David Resnick
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

RE: Why "Trying to override old definition of task xxx" message?

2005-03-14 Thread David Resnick
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: > >

RE: Why "Trying to override old definition of task xxx" message?

2005-03-09 Thread David Resnick
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

RE: alternate xml logger stylesheets

2005-03-09 Thread David Resnick
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

RE: Why "Trying to override old definition of task xxx" message?

2005-03-09 Thread David Resnick
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 >

alternate xml logger stylesheets

2005-03-08 Thread David Resnick
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

Why "Trying to override old definition of task xxx" message?

2005-03-08 Thread David Resnick
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

RE: How to escape the quotes characters in a string?

2005-03-08 Thread David Resnick
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:

RE: includes property not working

2005-03-05 Thread David Resnick
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&#x

RE: includes property not working

2005-03-02 Thread David Resnick
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

RE: includes property not working

2005-03-02 Thread David Resnick
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

includes property not working

2005-03-01 Thread David Resnick
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!

RE: "import re" with jython

2005-02-28 Thread David Resnick
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

"import re" with jython

2005-02-24 Thread David Resnick
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