Jar task : Manifest File ends with Windows ending '\r'.

2006-08-31 Thread Noel Sebastien \(BIL\)
Hello Am I right to say that there is a little bug in the Jar task about generating a manifest windows like on any platform (each line ends with \r\n instead of \n only in Unix). ? I am using Ant 1.6.5 and the jar task under Sun Solaris and my manifest contains \r\n on each line. > - Sébasti

RE: Jar task : Manifest File ends with Windows ending '\r'.

2006-08-31 Thread Noel Sebastien (BIL)
Having backwards compatibility (default behavior) and adding an attribute to choose the eol style of the manifest fits to me perfectly. That is the answer of my problem, if I understand that the next release of Ant will include it (which release : Ant 1.7.0 or 1.7.1 ? Give me just an idea please

RE: Change JAVA home for one Javac task and not the other

2006-08-31 Thread Noel Sebastien \(BIL\)
other > Can't you just specify the source level when you call the javac task? > The same as > > Something like > javac -source 1.3 -target 1.3 com.mycompany.MyClass.java > > > On 8/30/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote: > > > &g

Change JAVA home for one Javac task and not the other

2006-08-30 Thread Noel Sebastien \(BIL\)
Hello, I have one build.xml, with two Javac tasks (amongt several other ones). The first javac task uses the default java.home (which is our JDK 1.4.1) => works fine The second javac task should use another java.home (JDK 1.3.1 for example) => but how do change the javac path ? Something like sys

Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Noel Sebastien \(BIL\)
> Hello > Am I right to say that there is a little bug in the Jar task about generating > the manifest file under Windows format on any platform (each line ends with > \r\n instead of \n only in Unix). ? > I am using Ant 1.6.5 and the jar task under Sun Solaris and my manifest > contains \r\n on

RE: OutOfMemoryError while running Ant from Java call.

2006-07-14 Thread Noel Sebastien (BIL)
To: Ant Users List Subject: Re: OutOfMemoryError while running Ant from Java call. On 13/07/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote: > Does anyone encounter any same kind of my problem ? > We are running an JVM application that call Ant within Java ? Am I > calling Ant

OutOfMemoryError while running Ant from Java call.

2006-07-13 Thread Noel Sebastien \(BIL\)
Does anyone encounter any same kind of my problem ? We are running an JVM application that call Ant within Java ? Am I calling Ant in a wrong way ? Does anyone has a good reference for an accurate Java call to Ant. It is Ant 1.6.2. Exception occurred once in a while, namely not on the same targets

RE: Antwort: RE: Delete task failed to remove French file name

2006-02-10 Thread Noel Sebastien (BIL)
an rm /path/to/your_file ? On Feb 9, 2006, at 4:44 PM, Noel Sebastien (BIL) wrote: > > > ant -version > Apache Ant version 1.6.5 compiled on June 2 2005 > > java -version > java version "1.4.1_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_

RE: Antwort: RE: Delete task failed to remove French file name

2006-02-09 Thread Noel Sebastien (BIL)
ant -version Apache Ant version 1.6.5 compiled on June 2 2005 java -version java version "1.4.1_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06-b01) Java HotSpot(TM) Client VM (build 1.4.1_06-b01, mixed mode) As said in the question, I use and not explicitly the filename.

RE: Delete task failed to remove French file name

2006-02-09 Thread Noel Sebastien (BIL)
oding specified in your build.xml file ? If it's UTF-8, you should try with ISO-8859-1 AR Le Thu, 09 Feb 2006 15:27:52 +0100, Noel Sebastien (BIL) <[EMAIL PROTECTED]> a écrit: > Hi all, > As you know, french language includes some stressed characters like é, > à, &

Delete task failed to remove French file name

2006-02-09 Thread Noel Sebastien (BIL)
Hi all, As you know, french language includes some stressed characters like é, à, etc I have a file called "BD_Modèle.sql" in a "src" folder. I use Ant 1.6.5 on Unix and the task fails saying : Unable to delete file /export/home/wasapps/src/BD_Mod?le.sql at org.apache.tools.ant.taskdefs.Delete.r