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

2005-06-08 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

RE: Ant Task: Zip

2005-06-08 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

[antcontrib] foreach problem

2005-06-08 Thread Rebhan, Gilbert
Hi, i have some strange behaviour with antcontrib's foreach task. I have a propertyfile like this : modul.1=Project1:v_1_2_4_25 modul.2=Project with spaces:thi_1_2_4_25 modul.list=${modul.1},${modul.2}, My buildscript : target name=init foreach list=${modul.list} delimiter=,

SOLVED: ZipException on javac task moving from jdk1.4 to jdk1.5

2005-06-08 Thread Fabricio M. Sanchez
Thank you very much, problem is solved! Maurice, my JAVA_HOME was set to the correct jdk 1.5.0_03 that was being used by my javac task (I unistalled jdk 1.4.2 to be sure!), thanks for that! Stefan and Peter, bingo! I did have generated .class files on my classpath!!! I followed Peter's advice

solved / was [antcontrib] foreach problem

2005-06-08 Thread Rebhan, Gilbert
Hi, for anyone else running into that gotcha , here's the solution = The targetdependency in my buildscript was guilty for that strange behaviour. I had : project name=bla default=build basedir=. build as defaulttarget had the dependency - depends=init,checkout where target init = brings

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

2005-06-08 Thread Jeffrey E Care
There is a regression in 1.6.2 that prevents empty directories from being included in ZIP files. IIRC this was corrected in 1.6.3 -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis

RE: Urgent help-Regarding startup and showdown script for jboss

2005-06-08 Thread Shatzer, Larry
Have you looked at the waitfor task? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 6:58 AM To: user@ant.apache.org Subject: Urgent help-Regarding startup and showdown script for jboss The following script start and stops JBOSS .

RE: Ant Task: Zip

2005-06-08 Thread S I
Thank you. I'm still running version 1.6.2. I guess I'll upgrade. Thanks again :) Original Message Follows From: David Resnick [EMAIL PROTECTED] Reply-To: Ant Users List user@ant.apache.org To: 'Ant Users List' user@ant.apache.org Subject: RE: Ant Task: Zip Date: Wed, 8 Jun 2005

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

2005-06-08 Thread S I
Question: Does the new version of Ant's zip task which NOW includes empty dirs, smart enough NOT to include cvs subdirs or I have to tell it to, specifically? Thanks Steven Original Message Follows From: Jeffrey E Care [EMAIL PROTECTED] Reply-To: Ant Users List user@ant.apache.org

type not supported by task?

2005-06-08 Thread Eric Tchepannou
Hello, I am developing an ant task extension but face problems to have it running from the buildfile. I get an error stating that a certain custom type of mine is not supported by my task. I think I know where the problem might come from: I have implemented multiple types that I have defined as

Re: type not supported by task?

2005-06-08 Thread Matt Benson
Eric: Without consulting the code (much)... if you want your custom task to recognize any of mytask mytypea / /mytask mytask mytypeb / /mytask mytask mytypec / /mytask where mytypea|b|c all have one base class, you will want to make each type available with a typedef and then the code

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

2005-06-08 Thread Matt Benson
--- S I [EMAIL PROTECTED] wrote: Question: Does the new version of Ant's zip task which NOW includes empty dirs, smart enough NOT to include cvs subdirs or I have to tell it to, specifically? Ignoring CVS and other similar (often present, rarely wanted) files and directories is part of

Including properties files in my buld.xml file

2005-06-08 Thread Paul Goepfert
Hi, I have a properties file that is located in my source directory and when I build my program I would like it to be moved to my classes directory automatically. What do I have to include in my build xml file to do this? By the way this is a web app that I am developing. I don't have

RE: Including properties files in my buld.xml file

2005-06-08 Thread Kajsa.Anderson
Take a look at the copy target - http://ant.apache.org/manual/CoreTasks/copy.html -Original Message- From: Paul Goepfert [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 11:32 AM To: user@ant.apache.org Subject: Including properties files in my buld.xml file Hi, I

Re: Including properties files in my buld.xml file

2005-06-08 Thread Jeffrey E Care
copy -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis Paul Goepfert [EMAIL PROTECTED] wrote on 06/08/2005 12:32:04 PM: Hi, I have a properties file that is located in my

RE: Urgent help-Regarding startup and showdown script for jboss

2005-06-08 Thread Srikrishna_Parthasarathy
I tried thisbut I don't why I am getting response code 500. It is better than before but not complete. Any ideas to fix the problem [dbaweb] /home/jboss/BaseServer ant -verbose -f jboss.xml jboss.start Apache Ant version 1.6.4 compiled on May 19 2005 Buildfile: jboss.xml Detected Java

sshexec error handling

2005-06-08 Thread Dick, Brian E.
I need to execute two commands with sshexec. sshexec host=host username=username password=password command=cmd1; cmd2 trust=yes/ How can I get sshexec to fail when the first command fails? Later, BEDick

Re: sshexec error handling

2005-06-08 Thread Alexey N. Solofnenko
Like in C: cmd1 cmd2 - Alexey. Dick, Brian E. wrote: I need to execute two commands with sshexec. sshexec host=host username=username password=password command=cmd1; cmd2 trust=yes/ How can I get sshexec to fail when the first command fails? Later,

RE: sshexec error handling

2005-06-08 Thread Dick, Brian E.
I got it working with if, but your version is shorter. Thanks. -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:52 PM To: Ant Users List Subject: Re: sshexec error handling Like in C: cmd1 cmd2 - Alexey. Dick, Brian E. wrote:

ANT CVS Task

2005-06-08 Thread S I
Hi I have my ant script to tag our cvs repository projects with the build# recursively after modifying couple of files and continue to do the build. However, if the build down the line fails, I do not have any failsafe mechanism to untag or undo, so I could reuse the same tag and since my

Re: ANT CVS Task

2005-06-08 Thread Alexey N. Solofnenko
I do not think anybody really cares if you skip few build numbers, but CVS tagging can be expensive, so it is better to do it after your build successfully finishes. - Alexey. S I wrote: Hi I have my ant script to tag our cvs repository projects with the build# recursively after modifying

Re: ANT CVS Task

2005-06-08 Thread S I
user.ant.apache.org Delivered-To: mailing list user@ant.apache.org X-ASF-Spam-Status: No, hits=0.0 required=10.0tests= X-Spam-Check-By: apache.org X-Sybari-Trust: a51e9087 310387b0 ff2cfa98 013d User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050608) References: [EMAIL PROTECTED] X-Virus-Checked: Checked

Re: ANT CVS Task

2005-06-08 Thread Alexey N. Solofnenko
If I am not mistaken, you tag file revisions that are currently loaded in your sand box. If you used ClearCase with dynamic view the files could be changed on a fly, but with CVS it will not happen. - Alexey. S I wrote: Here's then another question: Normally, I tag cvs repository as soon as