Special character in file name

2004-12-06 Thread Ming Fai
Hi, I want to use ANT to clean up a directory with some files named like ".yyy~", i.e. with '~' character in the file extension. I tried a few ways including the following method but no success: What should I specify as includes value? Thx. Regards, mingfai

AW: pass command-lines through to class

2004-12-06 Thread Jan . Materne
At the moment you can use properties. ant target -Darg1=a -Darg2=b -Darg3=c Setting the props to empty string results in passing "no-args" to the class if not set. Jan > -Ursprüngliche Nachricht- > Von: Matt Benson [mailto:[EMAIL PROTECTED] > Gesendet am: Dienst

using ant for non-java builds?

2004-12-06 Thread Derek Haskin
Hi, I will shorthly be automating a build process for an application developed in Forte. I'm trying to decide what tool to use to develop the build scripts. There are plans in the next 8 months to start re-developing the application in Java. In the past I have automated builds via a combinat

Re: pass command-lines through to class

2004-12-06 Thread Matt Benson
--- Kendall Shaw <[EMAIL PROTECTED]> wrote: [blank lines removed] > I have to use main(String[] args) in a class, > instead of using properties. > Is there a way to pass through arguments to the > class? > I've read an example such as: > ant target -- a b c > But, ant complains that -- is an unknow

pass command-lines through to class

2004-12-06 Thread Kendall Shaw
I have to use main(String[] args) in a class, instead of using properties. Is there a way to pass through arguments to the class? I've read an example such as: ant target -- a b c But, ant complains that -- is an unknown argument.

Re: junit task halts

2004-12-06 Thread Ivan Ivanov
Hi, I note that you are using httpunit which makes me consider that your tests try to connect to some server. If so are you sure the server is running? Your tests might wait for it. Could you also try timeout attribute of junit task? Set it first to some short value to observe what is happening.

RE: fileset fails when base dir is missing

2004-12-06 Thread Charlton_Rose
Approach #1 is in fact what I ended up doing. (Actually, I used the "available" task, not the generalized "condition" task. But the result was the same.) It wasn't aesthetically pleasing, but it worked. Any time you have a dummy directory sitting around, you know there's been a hack, don't

junit task halts

2004-12-06 Thread blackwater dev
Hello all, I have this build file: When I run it the output is: Buildfile: build.xml test: And that is where it just stops...I can type stuff after test: but it doesn't do anything...I then have to close the termina

RE: fileset fails when base dir is missing

2004-12-06 Thread Murray, Mike
I know of no direct way to do it, so how best to complete it depends on the scope. If you have many such optional directories, I can come up with a couple ugly things to try. 1) Conditionally define properties that point to the real location, or a dummy location, depending on the existence o

RE: sshexec Authentication Problem with SuSE 9.1

2004-12-06 Thread Anderson, Rob (Global Trade)
Jsch is an implementation of SSH2. It does not support SSH1. What is the error message you are getting? What implementation of SSH2 are you using on the server? OpenSSH? -Rob Anderson > -Original Message- > From: Peter Neu [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 04, 2004 2:

Manage to get VSS Latest Labeled Versions

2004-12-06 Thread Velagapudi, Murali
Hi, Is there any way to get the latest labeled version files from the VSS, If i want to build by getting specific labeled version i am able to do it , but if i need to build from scratch then if i can get all the latest labeled versions that would be sufficient ,is there any way ? thanks in a

RE: fileset fails when base dir is missing

2004-12-06 Thread Charlton_Rose
I thought of this, actually. But what puzzles me is how to leverage the value of "mod_classdir.check", once it has been set (or not set), inside my path defnition. I could, conceivably, have two path definitions, one which includes the offendiring fileset, and another which does not,, and the

RE: fileset fails when base dir is missing

2004-12-06 Thread Murray, Mike
It sure would be nice, but since it isn't you're left doing it the long, and complicated, way. That is, creating additional targets with dependencies and conditions to get the desired conditional behavior. The property can be set as follows. -Original Messa

Re: fileset fails when base dir is missing

2004-12-06 Thread Charlton_Rose
That's a clever hack, but it won't work well in my situation, since some of the filesets may be rooted in directories that cannot be created. Wouldn't it be nice if the tag had an attribute that allowed you do say, "It's OK if it doesn't exist"? Something like this: ... Anyone else have a go

Re: fileset fails when base dir is missing

2004-12-06 Thread Alexey N. Solofnenko
I usually execute in this situation - an empty directory does not affect anything else and makes some commands happy. - Alexey. [EMAIL PROTECTED] wrote: I am constructing a classpath that includes a fileset. Sometimes, the base directory for that fileset does not exist. I would like Ant to s

fileset fails when base dir is missing

2004-12-06 Thread Charlton_Rose
I am constructing a classpath that includes a fileset. Sometimes, the base directory for that fileset does not exist. I would like Ant to simply accept this as an empty fileset and move on. Instead, Ant quits with an error, complaining that the directory is not found. How should I resolve t

Re: FW: Saxon param to supress output

2004-12-06 Thread Dave Pawson
On Mon, 2004-12-06 at 18:52 +0100, Robert Soesemann wrote: > I am a XSLT2 feature from Saxon8 inside an Ant script. Ourput files will > be specified insede the xsl with xsl:result-document. > > But the Ant xslt task forces me to provide @destdir and copies the input > files there. Even if they are

FW: Saxon param to supress output

2004-12-06 Thread Robert Soesemann
I am a XSLT2 feature from Saxon8 inside an Ant script. Ourput files will be specified insede the xsl with xsl:result-document. But the Ant xslt task forces me to provide @destdir and copies the input files there. Even if they are empty they get copied unnessecarily. Can I pass a parameter to Sax

Re: Properties getting unset with ?

2004-12-06 Thread Matt Benson
--- Martin Cooper <[EMAIL PROTECTED]> wrote: [SNIP] > So, I guess I'm stuck with doing things the clunky > way. Sigh. Okay, now, let's back up. You want to be able, as advertised, to enhance blah blah blah tasks called before or after... and so on. Okay... parent.xml: foo bar

Ant 1.5 error

2004-12-06 Thread Panchal, Archanaa
Hi, I am trying to use Ant 1.5 to build a project and ive attached the build.xml I am using for the purpose. Everytime a colleague of mine, with the exact same settings runs the command on his local machine, the build works perfect. But when I try the exact same command on my local machine it fa

FW: Split XML file into seperate files with XSLT and ANT

2004-12-06 Thread Robert Soesemann
Hello XMLTask is perfect for my needs, but I have two additional requirements I struggle with. I need to: - iterate over a whole structure and preserve this structure also in the result directory root - modify the resulting file name based on a value from the document. Also I want to add an