Re: apply task trouble for command using < and >

2005-11-25 Thread Dominique Devienne
> Hmm, just one small problem I couldn't solve yet. Apply will bail out > if it tries to output a file to a directory that doesn't exist. I ran into the same issue in the past, and had to "patch" to solve it, as you don't know "a priori" which directories to create with using a destDir and a map

Re: and '$' symbol on Solaris 8

2005-11-25 Thread Dominique Devienne
On 11/25/05, Nadejda Rylova <[EMAIL PROTECTED]> wrote: > I executed > them not from command line but from other sh-file that just (as I really > believed) call all these scripts one by one with some echo-comment between > them. And it's the case excepted for three lines: > > export LANG=en_US.ISO88

AW: apply task trouble for command using < and >

2005-11-25 Thread Jan.Materne
Usually you place a at the beginning, e.g. before a . If the dir does not exist, it will be created. If if exists already, nothing happens. Because this (javac fails if dir does not exist) is an old behaviour some build scripts may rely on that behaviour, so we cant change that. You dont n

Re: apply task trouble for command using < and >

2005-11-25 Thread Jakob Fix
Jan, now it even looks aesthetic :-) I've integrated jslint which checks the syntax (see http://www.crockford.com) using another macrodef, and if all files pass runs them through jsmin. Well, I'm aware that this may get OT, but I must say I learnt an awful lot. Thanks again, Jan. Hmm, just one

Re: dir check

2005-11-25 Thread Robert Clark
On Friday November 25, 2005 09:03 am, "Andrei" <[EMAIL PROTECTED]> wrote: > Does any body know an ant task which verifies if a directory > exists? is the task you are looking for. For example: - Rob -- This is not an automated s

AW: dir check

2005-11-25 Thread Jan.Materne
Usually they dont. If YOU want to check would be your friend. e.g. fails if the dest-dir does not exist. So usually you have a before that. Jan >-Ursprüngliche Nachricht- >Von: Andrei [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 25. November 2005 15:03 >An: Ant Users List >B

dir check

2005-11-25 Thread Andrei
Does any body know an ant task which verifies if a directory exists? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: start jboss task failing after a compile task

2005-11-25 Thread Andrei
I solved the problem by upgrading to ant 1.6.5 . - Original Message - From: "Andrei" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, November 24, 2005 10:48 AM Subject: start jboss task failing after a compile task I have a problem starting jboss when running the foll

RE: Recovering the return code from the called build.xml into the calling build.xml

2005-11-25 Thread Bhatia Saurabh \(CHA\)
Hi Klaus, The code segment you submitted didnt work, I had already tried it. In fact, I got it working like this...

RE: Recovering the return code from the called build.xml into the calling build.xml

2005-11-25 Thread Allwicher, Klaus
Maybe, I don't understand the problem right, but why don't you assign the return code to another property ?? E.g. > -Original Message- > From: Bhatia Saurabh (CHA) [

AW: how to BUILD FAILED when tests failed

2005-11-25 Thread Jan.Materne
At least one test failed - see the report. You have collected all infos you need, you only have to use that :-) Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 25. November 2005 13:34 >An: user@ant.apache.org >Betref

how to BUILD FAILED when tests failed

2005-11-25 Thread Mikael Petterson (KI/EAB)
Hi, I am using the following lines for testing: How can I make my build to 'BUILD FAILED' and still execute the targets after test:test since it is part of

AW: apply task trouble for command using < and >

2005-11-25 Thread Jan.Materne
I tuned the example...

Re: config.sys not found

2005-11-25 Thread Steve Loughran
community help wrote: Hi, I'm using Windows XP. In my machine there is no config.sys file that i can modify as suggested by the manual for installing Ant. that bit is only for windows 9x; which is why it is under a bit marked "Windows 95, Windows 98 & Windows ME Note:" :)

AW: config.sys not found

2005-11-25 Thread Jan.Materne
I am not sure if that is required any more. But I cant check that - Im working on XP. Try Ant without modifying the config.sys (which should be in the root directory of the of your windows-drive, AFAIK). Background: in earlier stages we used a for-loop in the launcher scripts for creating a C

RE: Recovering the return code from the called build.xml into the calling build.xml

2005-11-25 Thread Bhatia Saurabh \(CHA\)
Hello Antoine, After all my tests on this taskdef, I found that an antcallback works in the scope of 1 single build.xml file ONLY. If my 1st build.xml file makes a call to a target in another build.xml which in turn does an exec on the host system, I have no way of recovering the resultproperty=

config.sys not found

2005-11-25 Thread community help
Hi, I'm using Windows XP. In my machine there is no config.sys file that i can modify as suggested by the manual for installing Ant. Any idea about installing Ant on XP? Thanks __ Yahoo! Music Unlimited Access over 1 million songs. Try it fre