I appreciate the patience of the folks on the list, but I've still got a problem with
this...
I'm currently using the following code, to create an EJB jar file, and use a
pre-existing manifest file.
-------------------
<fixcrlf srcdir="./${product}"
eol="lf"
includes="**/*.xml **/*.props **/*.mf **/*.MF"/>
<jar jarfile="${outputdir}/servercoreEJB.jar" compress="FALSE"
manifest="./servercore/resources/ejb-jar/META-INF/MANIFEST.MF">
<fileset dir="." includes="**/*ejb-jar.xml" />
<fileset dir="${outputdir}/classes" excludes="**/jndi/*.class
" />
</jar>
---------------------------
When I check the file, "./servercore/resources/ejb-jar/META-INF/MANIFEST.MF", it
appears the fixcrlf task
has worked just fine. It shows no ^M characters. However, when I unpack the jar
file. The enclosed manifest, has the correct data, but it also has ^M characters.
It would appear that ANT is opening the file, adding the "Created-By" line and closing
the file in the current OS (Win32), and in the process assumes I want the ^M's put
back in the file.
Manifest-Version: 1.0^M
Created-By: Apache Ant 1.5.1beta1^M
Class-Path: servercore.jar quantapi.jar^M
Class-Path: olympuscore.jar^M
Is there a way to keep Ant from doing this, so I can create a jar with the appropriate
manifest?
Thanks in advance.
-Jay
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>