Following is the "jar" target in my build file <target name="jar"> <mkdir dir="${build.filter.dir}/meta-inf"/> <copy file="${build.resources.dir}/MANIFEST.MF" todir=" ${build.filter.dir}/meta-inf"/> <jar jarfile="${build.filter.dir}/O2.jar" basedir=" ${build.filter.dir}"> <fileset dir="${build.filter.dir}/com/" includes="${build.filter.dir}/*.wav, ${build.filter.dir}/*.gif,${build.filter.dir}/*.xml" /> <fileset dir="${build.filter.dir}/org/"/> <fileset dir="${build.filter.dir}/pv/"/> <fileset dir="${build.filter.dir}/na/"/> <fileset dir="${build.filter.dir}/meta-inf/"/>
</jar> <delete dir="${build.filter.dir}/com"/> <delete dir="${build.filter.dir}/org"/> <delete dir="${build.filter.dir}/pv"/> <delete dir="${build.filter.dir}/na"/> <delete dir="${build.filter.dir}/meta-inf"/> <delete> <fileset dir="${build.filter.dir}" includes="*.wav,*.gif, *.xml"/> </delete> <antcall target="ISfilter"/> </target> As you can most likely determine: In my build directory I: create a meta-inf directory copy my manifest.mf file into the directory jar this directory and and 4 others along with a few files into O2.jar I then delete everything I just put into the O2.jar The problem is I end up with TWO maifest.mf files. One in the O2.jar ROOT that contains the needed classpaths I need and a second one in the meta-inf directory that is aparantly generated by the jar function that has no classpaths. This is what I copy into ${build.filter.dir}/meta-inf/ and ends up in O2.jar root Manifest-Version: 1.2 Main-Class: na.biomerieux.stagville.bootstrap.BootStrap Class-Path: FastObjects_7JC_SDK.jar xreport_lite.jar xtools.jar JavaMediaFramework.jar JSEClassLibraries.jar jcchart.jar jctable.jar spring.jar spring-dao.jar commons-collections-2.0.jar commons-logging.jar BCICorba.jar vbjorb.jar lm.jar vbsec.jar This is what ends up in ${build.filter.dir}/meta-inf/ Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.3 Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) I intially started by specifying the manifest file but ANT truncates the lines at exactally 70 characters no matter how I format it and the classpath ends up bad. Any help on how I might clear this up would be appreciated. David T. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]