Hi there,
I'm a beginner here,
I'm trying to create a executable jar file(tdd.jar) that has a
java class which includes certain other jar files like, mail.jar,tidy.jar,etc.
I have included the jar files in a lib dir in the tdd.jar
when i create and execute my jar file, its not able to locate the jar files in the classpath,
could someone explain to include (jar) files from with a jar
-------------------------------------------------------------
<target name="jar" depends="compile">
<jar jarfile="${dist}/tdd.jar" basedir="build">
<fileset dir="src">
<include name="**/lib/*.jar"/>
</fileset>
<manifest>
<attribute name="Main-Class" ="x/y/z/tdd" />
<attribute name="Class-Path" value=" /lib/mail.jar /lib.tidy"/>
</manifest>
</jar>
</target>
<target name="run jar" depends="jar">
<java fork="yes" jar="${dist}/tdd.jar"/>
</target>
----------------------------------------------------------------------
thanks in advance