AW: multiple projects in ant build

2006-01-22 Thread Jan.Materne
>I am trying to create two projects in ant. >Story is I first tried to use symlink but cygwin claims unable >to find the directory from: > where d is a symlink. > >So I created one build.xml file and two other files, holding >one project each. build.xml imports the two files. > >In build-thirdpar

AW: text books on ant

2006-01-22 Thread Jan.Materne
When I started with Ant I read the manual, followed the mailing lists, then started hacking some buildfiles and then reading the source code. In the meanwhile the manual is much better than to my 1.3-time :-) And I am the fan of tutorials so do the commercial here ... http://ant.apache.org/ma

RE: How to exclude files with same pattern except one

2006-01-22 Thread Stephen McConnell
> -Original Message- > From: Kasparek, Bernadette [mailto:[EMAIL PROTECTED] > Sent: Saturday, 21 January 2006 12:01 AM > To: 'user@ant.apache.org' > Subject: How to exclude files with same pattern except one > > Hi everybody, > > I've the following problem: > I've got a list of some h

How to exclude files with same pattern except one

2006-01-22 Thread Kasparek, Bernadette
Hi everybody, I've the following problem: I've got a list of some hundred files with pattern "index_xxx*". Now I want to pack only the files with pattern "index_999*" (about 6 instances) all others should be excluded. I tried the following: The problem is that in the basedir are additional file

Re: "java.io.IOException: Negative seek offset" while expanding .tar file

2006-01-22 Thread glenn opdycke-hansen
hmm unzipping a tar file? try untar.

Re: "java.io.IOException: Negative seek offset" while expanding .tar file

2006-01-22 Thread Bob Scaggs
oops typo in my test code. Same problem with corrected code: This is file1 This is file2 This is file3 - Original Message - From: Bob Scaggs To: user@ant.apache.org Sent: Sun

RE: "java.io.IOException: Negative seek offset" while expanding .tar file

2006-01-22 Thread bill/wilandra
I don't see TARdistributionDir being set to a value anywhere in the code you provided. Is it set properly prior to the unTar target being run? HTH Bill -Original Message- From: Bob Scaggs [mailto:[EMAIL PROTECTED] Sent: Sunday, January 22, 2006 10:33 AM To: user@ant.apache.org Subject:

Re: java.io.IOException calling java task

2006-01-22 Thread Steve Loughran
markus innerebner wrote: Antoine Levy-Lambert wrote: Hello Markus, when you fork a java command, you are then subject to limits set by your operating system to length of commands. on Windows, it is 4096 bytes. Hello Antoine And this value cannot be changed by hand?? not unless your h

Re: Unit test a build

2006-01-22 Thread Steve Loughran
Clifton Craig wrote: Given my passion for TDD I am now looking for a way to apply unit tests to my Ant build files. Is there an easy way or framework I can use? you need the antunit test framework; its in Ant's SVN repo. Its really for testing tasks, but comes with a good set of assertions -

"java.io.IOException: Negative seek offset" while expanding .tar file

2006-01-22 Thread Bob Scaggs
I am getting an error when I use the unzip task to expand a tar file created using the tar task. Below is a sample of the code I am executing as well as the error I am recieving. Can anyone help with this? listing of build.xml: This is file1 This is f

Re: java.io.IOException calling java task

2006-01-22 Thread markus innerebner
Antoine Levy-Lambert wrote: Hello Markus, when you fork a java command, you are then subject to limits set by your operating system to length of commands. on Windows, it is 4096 bytes. Hello Antoine And this value cannot be changed by hand?? Markus -

sshexec fix for ant1.7 question

2006-01-22 Thread glenn opdycke-hansen
I have a followup question on the fix for sshexec fix mentioned below: glenn opdycke-hansen wrote: > Steve, > I have been looking at using Ant for application deployment to multiple > servers. > I see there is a known problem with ant 1.6.5 where a sshexec request > will close stdout. This can b

Re: error msg for incorrect jar/basedir value

2006-01-22 Thread glenn opdycke-hansen
Document the dirname/windows "feature". If this cannot be resolved, it would be good to document the behavior. Can the following be considered for the Ant user manual? http://ant.apache.org/manual/CoreTasks/jar.html Note that if the basedir value has space character(s) appended to it, then some

Re: java.io.IOException calling java task

2006-01-22 Thread Antoine Levy-Lambert
Hello Markus, when you fork a java command, you are then subject to limits set by your operating system to length of commands. on Windows, it is 4096 bytes. Antoine markus innerebner wrote: > Hello @ all > > When executing the java ant target or my written ant task with a long > classpath I re