Re: ZIP task å,ä and ö

2004-12-02 Thread Stefan Bodewig
On Fri, 03 Dec 2004, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > On the background: The Zip "standard" has never specified how to > handle encoding of file names. As a consequence, anyone chooses his > preferred way of file name encoding. For example, the java.uzil.zip > classes will *always* use

Re: ZIP task å,ä and ö

2004-12-02 Thread Jochen Wiedmann
Peter Wåhlander wrote: This directories which names contains the character å,ä and ö. When I unzip VitaNovaHemma.zip using Windows XP:s built in unzipper these caracters are lost. I have tried: The problem is almost definitely related to the unzipper. I have a similar problem with Tomcat: Tomcat i

Re: conditional ?

2004-12-02 Thread Stefan Bodewig
On Thu, 02 Dec 2004, Gili <[EMAIL PROTECTED]> wrote: > In the example you just gave, what happens if "bar" is > define to "true" before the target "foo" is run? According > to what you said, the dependencies "x, y, z" will be run and > then "foo" will discover "bar" is set,

RE: conditional ?

2004-12-02 Thread Bill Rich
I think "depends" determines when the target will be fired, "if/unless" determines whether the target will be fired or not. Therefore, my understanding is that when the target can be fired the if/unless will be evaluated to see if it should or not. HTH Bill -Original Message- From: Gili [

RE: ejbjar with manifest file

2004-12-02 Thread EJ Ciramella
Secret to success is taking the Class-path: jar jar jar jar and making: Class-path: jar jar jar jar Note that in the wrapped lines it's crucial that a space precedes the jar file name. Anyone know how to replace a " " with a carriage return AND a space? -Original Message- From: EJ Ci

ejbjar with manifest file

2004-12-02 Thread EJ Ciramella
Is there a good way to include a manifest file like: or Both of these examples gives me an error: [ejbc] ERROR: Could not create output jar. The error was:java.io.IOException: line too long Even if there is a way to update all 20 ejb jars later, that'd work, but I'd

RE: Windows 2003 users

2004-12-02 Thread Matt Benson
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > You may also be able to add the users using the "net > user /add" command. > Run "net help user" to see the doc for this command. Looks right to me... d<- ;) That's my hat, off, above. -Matt > > -Original Message- > From: Matt Benson

RE: Windows 2003 users

2004-12-02 Thread Dick, Brian E.
You may also be able to add the users using the "net user /add" command. Run "net help user" to see the doc for this command. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 3:42 PM To: Ant Users List; icon911 Subject: Re: Windows 2003 user

Re: Windows 2003 users

2004-12-02 Thread Matt Benson
--- icon911 <[EMAIL PROTECTED]> wrote: > IS there a way to create Windows 2003 users using > Ant and its .NET tasks? I would imagine that if you have the relevant resource kit it might include an executable you could call using the task. -Matt

Windows 2003 users

2004-12-02 Thread icon911
IS there a way to create Windows 2003 users using Ant and its .NET tasks? Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: conditional ?

2004-12-02 Thread Gili
In the example you just gave, what happens if "bar" is define to "true" before the target "foo" is run? According to what you said, the dependencies "x, y, z" will be run and then "foo" will discover "bar" is set, so its body will not execute. Correct? Gili On Thu, 2 Dec 2004 11:27:20 -0

Re: conditional ?

2004-12-02 Thread Matt Benson
--- Gili <[EMAIL PROTECTED]> wrote: > > That is very good news. So you are saying: > > 1) All "depends" are executed > 2) "Unless" is evaluated > 3) If "Unless" is false, the actual target is > executed. > > Correct? Basically yes, there is the possibility you could have this: f

Re: conditional ?

2004-12-02 Thread Gili
That is very good news. So you are saying: 1) All "depends" are executed 2) "Unless" is evaluated 3) If "Unless" is false, the actual target is executed. Correct? Thanks, Gili On Thu, 2 Dec 2004 10:45:12 -0800 (PST), Matt Benson wrote: >--- Gili <[EMAIL PROTECTED]> wrote: >>

Re: conditional ?

2004-12-02 Thread Matt Benson
--- Gili <[EMAIL PROTECTED]> wrote: > > Correct, except that if you read the Ant > documentation it says > that "depends" is not executed before "unless". It > says that "depends" > simply declares the order of execution if the > dependencies if the > target is being executed (i.e. past the

Re: conditional ?

2004-12-02 Thread Gili
Correct, except that if you read the Ant documentation it says that "depends" is not executed before "unless". It says that "depends" simply declares the order of execution if the dependencies if the target is being executed (i.e. past the "unless" stage). At least, that's my interpretatio

RE: Delete XML Files depending on content

2004-12-02 Thread RADEMAKERS Tanguy
i bow to your speed keyboard ;) >-Original Message- >From: Peter Reilly [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 02, 2004 6:35 PM >To: Ant Users List >Subject: Re: Delete XML Files depending on content > > > > > > > >Peter > >Robert Soesemann wrote: > >>Hello, >

RE: Delete XML Files depending on content

2004-12-02 Thread RADEMAKERS Tanguy
if the string "DONTPROCESS" **only*$ appears in these files and not the others... /t >-Original Message- >From: Robert Soesemann [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 02, 2004 6:09 PM >To: Ant Users List >Subject: Delete XML Files dep

Re: Delete XML Files depending on content

2004-12-02 Thread Peter Reilly
Peter Robert Soesemann wrote: Hello, I am looking for a clean and fast way to delete XML files depending on their content. To give you an idea of what I am doing: During a time consuming migration process I need to scan a folder structure for relevant files that need to be xsltrans

Delete XML Files depending on content

2004-12-02 Thread Robert Soesemann
Hello, I am looking for a clean and fast way to delete XML files depending on their content. To give you an idea of what I am doing: During a time consuming migration process I need to scan a folder structure for relevant files that need to be xsltransformed and validated and so on... Files tha

Re: FW: Multiple Class-Path entries in Manifiest task

2004-12-02 Thread Bill Lynch
Here's some sample code for what Conor suggests: Then use the ${libfiles} prop. We just ran into this too. Cheers, --Bill On Thu, 02 Dec 2004 21:42:44 +1100, Conor MacNeill <[EMAIL PROTECTED]> wrote: > Victor Ionescu wrote: > > > >

"No response from server" w/ scp task

2004-12-02 Thread Brian Lalor
Good morning, all. I'm trying to develop a deployment target for one of my projects. It involves scp'ing some files to the target server and then sshexec'ing a shell script. It's working fine with my development system, but I get "No response from server" from the scp task when trying to

Re: conditional ?

2004-12-02 Thread Stefan Bodewig
On Thu, 02 Dec 2004, Gili <[EMAIL PROTECTED]> wrote: > Ok, that I understand but there is the further problem that > I need the to execute before target B but after > target A. Adding it to the "depends" listing of B will not > help because as the docs specify "depends" i

RE:

2004-12-02 Thread Harter Damien
Does someone alread do this kind of macro. I'm not used to develop macro and it is a waste of time to learn it, just to generate 1 report. Thanks for any help. Dams Good point, but not able to automate. But you can write a MSWord macro, call it ... (have forgotten what the name for auto-execute

RE: Signal 40 error

2004-12-02 Thread Vadim Kazakov
Sounds like a seg fault. Isn't that what return code 168 means? -Original Message- From: Griffith, Jeff [mailto:[EMAIL PROTECTED] Sent: December 1, 2004 3:22 PM To: Ant Users List Subject: Signal 40 error Hello, We're using ANT (v1.5.4) as part of our automated WebSphere deployment to

Re: conditional ?

2004-12-02 Thread Gili
Ok, that I understand but there is the further problem that I need the to execute before target B but after target A. Adding it to the "depends" listing of B will not help because as the docs specify "depends" is only invoked if unless is false and in my case I want the to be invoked *be

ZIP task å,ä and ö

2004-12-02 Thread Peter Wåhlander
Hello! I have a problem with the zip task. This is what I have in my build.xml file: This directories which names contains the character å,ä and ö. When I unzip VitaNovaHemma.zip using Windows XP:s built in unzipper these caracters are lost. I have tried: ... and ... But I have had no succ

AW:

2004-12-02 Thread Jan . Materne
http://marc.theaimsgroup.com/?l=ant-user&m=110174079432310&w=2 Just three days ago. Jan > -Ursprüngliche Nachricht- > Von: Harter Damien [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 2. Dezember 2004 11:44 > An: [EMAIL PROTECTED] > Betreff: > > Hi all, > Is there a way to generat

user@ant.apache.org

2004-12-02 Thread Harter Damien
Hi all, Is there a way to generate the junit report in a pdf file ? Thx

Re: FW: Multiple Class-Path entries in Manifiest task

2004-12-02 Thread Conor MacNeill
Victor Ionescu wrote: Class-Path: bsh-1.3.0.jar commons-digester.jar commons-collections.jar because: 1) It's more flexible 2) It conforms to the jar specification Question: What's the reason behind this multi Class-Path feature? The reasons are specified in this bug report http://issues.ap

FW: Multiple Class-Path entries in Manifiest task

2004-12-02 Thread Victor Ionescu
Hi, I use the manifest task and I have multiple Class-Path entries: I get a warning: "Multiple Class-Path attributes are supported but violate the Jar specification and may not be correctly processed in all environments" The generated manifest will have

Re: Strange JSPC/Taskdef issues

2004-12-02 Thread Bill Lynch
Jake, I did try this however the problem is that all taskdefs are copied over too. :-\ Is there a way around this? Cheers, --Bill On Tue, 30 Nov 2004 23:44:26 -0600, Jacob Kjome <[EMAIL PROTECTED]> wrote: > At 10:09 AM 11/30/2004 -0800, you wrote: > >Jake, > > > >I tried doing that via but

AW: how to include a java class in classname attribute

2004-12-02 Thread Jan . Materne
I doubt that "${websphere.home}" is part of the classname ... Jan > -Ursprüngliche Nachricht- > Von: sanjeev chhabra [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 2. Dezember 2004 08:12 > An: [EMAIL PROTECTED] > Betreff: how to include a java class in classname attribute > > Hi Al

AW: Ant

2004-12-02 Thread Jan . Materne
Default properties are Ant simple properties, but only set by Ant on start time. You can access all Ant properties via Project class and getProperty(propname) method. user = project.getProperty("user.name"); java.lang.System.out.println(user); Jan > -Ursprüngliche Nachricht- > Von

Re: Release log file lock from

2004-12-02 Thread Stefan Bodewig
On Thu, 2 Dec 2004, Robert Soesemann <[EMAIL PROTECTED]> wrote: > I tried out exchanging my ant.jar with the one from > /~bodewig/builds/ant/20041126 and it works perfectly! How > stable/buggy is this version? Successfully builds performs a few hundred builds of Jakarta and other Java projects e

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
It works perfect. As I am using the release 1.6.2 everthings fine. Thanks a lot for your help. Robert -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 2. Dezember 2004 09:46 To: [EMAIL PROTECTED] Subject: Re: Release log file lock from On Thu, 2 Dec

Re: Release log file lock from

2004-12-02 Thread Stefan Bodewig
On Thu, 2 Dec 2004, Robert Soesemann <[EMAIL PROTECTED]> wrote: > Would it be enough to just exchange the ant.jar? I am using eclipse > with ant support. Depends on what else you are using. The nightly builds come from CVS HEAD. I think there haven't been any major changes in Ant's core that wo

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
I tried out exchanging my ant.jar with the one from /~bodewig/builds/ant/20041126 and it works perfectly! How stable/buggy is this version? Any known issues that I should take into account when using it for production? Could it be a problem to just exchange the ant.jar and not the whole package? T

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
Please read the reply of Stefan Bodewig, who states that this is an Windows issue. You won't see it on Linux. R. -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 2. Dezember 2004 09:39 To: Ant Users List Subject: RE: Release log file lock from Well, I

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
Would it be enough to just exchange the ant.jar? I am using eclipse with ant support. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 2. Dezember 2004 09:27 To: [EMAIL PROTECTED] Subject: Re: Release log file lock from On Wed, 1 Dec 2004, Robert Soes

RE: Release log file lock from

2004-12-02 Thread Ivan Ivanov
Well, I tried it with too. Still working: What bothers is that you are getting error in deleting. From the snippet I do not decipher where is line 190 :)), but if you are using task try setting it failonerror attribute to true. Also there have been so

Re: conditional ?

2004-12-02 Thread Stefan Bodewig
On Thu, 02 Dec 2004, Gili <[EMAIL PROTECTED]> wrote: > How do I specify an Ant script such that the 2nd > tag is only evaluated after target A runs? Put it into a target that depends on target A. Stefan - To unsubs

Re: Release log file lock from

2004-12-02 Thread Stefan Bodewig
On Wed, 1 Dec 2004, Robert Soesemann <[EMAIL PROTECTED]> wrote: > In my build script I use the task to echo errors to a log > file. At the end of my script i want to perform some operations > (replace, rename) on that file. > > But this does not work, as ant hold a lock on that file the whole >

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
I never thought that this could be the reason. Do you know a way to release that lock after I stopped the recorder? Robert -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 2. Dezember 2004 09:26 To: [EMAIL PROTECTED] Subject: Re: Release log file lock f

Re: Release log file lock from

2004-12-02 Thread Stefan Bodewig
On Wed, 1 Dec 2004, Ivan Ivanov <[EMAIL PROTECTED]> wrote: > The follwoinf script works in my environment (Fedora > Core 2 Linux): Because Linux (unlike Windows) doesn't lock open files by default. Stefan - To unsubscribe, e-ma

RE: Release log file lock from

2004-12-02 Thread Robert Soesemann
Here is a snippet of my code. Maybe its because I am not only moving it, but also changing its content. I'm getting the error: -- BUILD FAILED: D:\...\build.xml:190: IOException in D:\..\log.tmp - java.io.IOException:Failed to delete D:\..\log.tmp while trying to rename D:\..\r