AW: Determining empty fileset

2005-12-07 Thread Jan.Materne
>I am new to ant and I am trying to create a script to >distribute only those files that were modified since the last >distribution. Use the selector and you´ll only get files which content has changed. Otherwise usually only the timestamp is checked (in e.g.) >I would like to stop distribut

Re: Determining empty fileset

2005-12-07 Thread Antoine Levy-Lambert
Kamal Bhatt wrote: > I know that I can use path convert to determine if a fileset is empty > or not, but I don't know how or how to use the property from pathconvert. > Hello Kamal, use the setonempty attribute of pathconvert, with the value "false". This way, if the fileset is empty, the propert

Determining empty fileset

2005-12-07 Thread Kamal Bhatt
Hi I am new to ant and I am trying to create a script to distribute only those files that were modified since the last distribution. I would like to stop distribution if no files have been changed. However, I cannot seem to be able to work this into my script. I know that I can use path conve

RE: ant-user OutOfMemoryException

2005-12-07 Thread Jonnalagadda, Sumithra
Run -> External tools -> JRE (tab) Under VM Arguments : -Xmx640m -Original Message- From: Ferrer, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 1:01 PM To: Ant Users List Subject: RE: ant-user OutOfMemoryException Can not seem to find a way to set the setting on ea

RE: ant-user OutOfMemoryException

2005-12-07 Thread Ferrer, Eric
Can not seem to find a way to set the setting on each individual project. I am running Eclipse 3.0. I went to each project and right clicked and searched for such setting. Thanks -Original Message- From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 200

RE: ant-user OutOfMemoryException

2005-12-07 Thread Jonnalagadda, Sumithra
we faced same issue in our project. Try setting the memory for each individual project in eclipse. It helped us; i hope it helps u too. -Original Message- From: Ferrer, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:39 PM To: Ant Users List Cc: [EMAIL PROTECTED] Subj

RE: ant-user OutOfMemoryException

2005-12-07 Thread Ferrer, Eric
No I did not, I have an ant build script in eclipse and it talks to other projects build scripts via the dependencies. A couple of the projects become jars and the result is the output of 2 war files that get deployed to tomcat. I can build fine without unit tests, but get OME on unit test onl

RE: ant-user OutOfMemoryException

2005-12-07 Thread Jonnalagadda, Sumithra
Did you try setting it for reach project in your workspace seperately?. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 8:49 AM To: user@ant.apache.org Cc: [EMAIL PROTECTED] Subject: ant-user OutOfMemoryException Mikael, Thanks for

RE: Error establishing socket from task?

2005-12-07 Thread Rick Genter
Thank you Antoine. Googling around I figured it out. I had to specify ANT_OPTS=-Djava.net.preferIPv4Stack=true. It's apparently a problem with the JVM when you have both IPv4 and IPv6 active. Once I set that property everything worked as expected. Rick -- Rick Genter Principal Engineer Silverli

Re: Error establishing socket from task?

2005-12-07 Thread Antoine Levy-Lambert
Hello Rick, I am not sure what this is. Try to set the jars of the mssql driver in the CLASSPATH env var before starting ant. Maybe this helps. Try also to find out if there are bugs reported against this driver under linux independently of ant ? Maybe try to make a HelloWorldJDBC program running

Re: AW: Installing ant on AIX 5.2

2005-12-07 Thread Antoine Levy-Lambert
Hello Arnault, you can open a bug report on http://issues.apache.org/bugzilla (see our web site, bug database). If you can offer us a patch for bootstrap.sh, it is appreciated. Cheers, Antoine [EMAIL PROTECTED] wrote: >Ant is just a java application ... I think the standard binary distro shoul

Re: How to use ANT as a command shell

2005-12-07 Thread Antoine Levy-Lambert
Steve Loughran wrote: > While I agree with everything in this doc, it shows the pent-up demand > for a decent command-line app launcher from Java, above and beyond the > classic "java -jar somejar args" technique. > > If/when we refactor Ant's / logic into a jakarta-commons > project (the maven pe

ant-user OutOfMemoryException

2005-12-07 Thread ferrerctst
Mikael, Thanks for the reply, I honestly did not get my hope up as the community boards (where Apache wants us to ask around first since they offer no support) was not responsive. I am using 1.6.2 and have even switched to 1.6.5 hoping it would solve some of my problems. I basically inherite

Re: AW: p4 submit problems

2005-12-07 Thread Antoine Levy-Lambert
Hello Jacques, are you sure that your CruiseControl system on Win XP is not usins ant 1.5, where there was a bug ? the Perforce tasks in Ant 1.6.x wait on Perforce output and error channels to close with a join() method. Maybe the p4.exe does not close its output/error channels properly, leading

Error establishing socket from task?

2005-12-07 Thread Rick Genter
I'm trying to bring up our app suite on Linux (Fedora Core 4). One of the earliest apps uses the task in its build script to initialize the database we use. We call like this: When I run the build script in verbose mode I get the following: [EMAIL PROTECTED] Object]$ ant -verbose sql

Re: Loading list of files

2005-12-07 Thread Dominique Devienne
On 12/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would try with nested ... If Ephi wants to keep the file list in a separate file outside the build file, then would need to be extended with a filesfile attribute. OTOH, since we have already, the file content can be loaded into a 'l

AW: p4 submit problems

2005-12-07 Thread lists
fyi: I'm using Ant 1.6.5 > >Hi everybody, > >I have a problem with p4submit-tasks that occasionally don't terminate on >WinXP. In that case i have the actual submit is fully processed by the server, >but the p4-client "p4.exe" never returns as if it was waiting for some Input >from the server.

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

p4 submit problems

2005-12-07 Thread lists
Hi everybody, I have a problem with p4submit-tasks that occasionally don't terminate on WinXP. In that case i have the actual submit is fully processed by the server, but the p4-client "p4.exe" never returns as if it was waiting for some Input from the server. This problem coincides with somer

Re: How to use ANT as a command shell

2005-12-07 Thread Steve Loughran
Jeffrey E Care wrote: Ant is not intended to be used in this way. The fact that you can kind of hack it together to work should not be taken as encouragement to do so. You might want to read "Ant in Anger" (http://ant.apache.org/ant_in_anger.html) before setting yourself on this course. JEC

AW: launch a different version of ant

2005-12-07 Thread Jan.Materne
>We used Cruz' for two reasons: Cruz? Do you mean CruiseControl? http://cruisecontrol.sourceforge.net/main/configxml.html#ant Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Installing ant on AIX 5.2

2005-12-07 Thread Jan.Materne
Ant is just a java application ... I think the standard binary distro should work? But not bootstrapping under AIX is another problem. Jan >-Ursprüngliche Nachricht- >Von: Arnault BELLINA [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 7. Dezember 2005 09:21 >An: user@ant.apache.org >B

Installing ant on AIX 5.2

2005-12-07 Thread Arnault BELLINA
Hi all ! I'm trying to install Apache ant 1.6.5 on AIX 5.2. I unpacked the tar file and I tried as mentionned in the Building ant Manual to build ant from sources. However when i build ant with the script build.sh I had a problem with the underscript bootstrap.sh : I get this