Hello Michael, I think that what you want is : <jar jarfile="${jars.project}" update="true" <fileset dir="."> <include name="sweethome.properties" > </fileset>
</jar> this is assuming that sweethome.properties is generated in the basedirectory of your Ant project (the same directory as the build file unless you have put something different in the attribute basedir of the project tag). the includesfile is meant to be a file listing entries which you want to add. Regards, Antoine > -------- Original-Nachricht -------- > Datum: Fri, 26 May 2006 08:14:32 -0700 > Von: Labhard, Michael E <[EMAIL PROTECTED]> > An: <user@ant.apache.org> > Betreff: jar properties > > Unable to add a properties file to a jar file. Ant task: > > <target name="firstjar" depends="manifest"> > <jar jarfile="${jars.project}" > > <fileset refid="files.sweethome.class" /> > </jar> > </target> > <target name="deploy" depends="firstjar"> > <jar jarfile="${jars.project}" update="true" > includesfile="sweethome.properties" > > </jar> > </target> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]