> -----Original Message----- > From: Longie [mailto:[EMAIL PROTECTED] > I got that to work but it means now that i cant run the program from a > standalone jar ie. right click on the name.jar and go to javaw. > > So from a dos command i need to run > > java -classpath AntTool.jar;./ant/ant.jar AntTool > > or else use 'ant run' but i need to be able to run the program from a > normal desktop icon. Is this possible now with the program needing the > ant.jar even to start up. When i remove the class that extends ant and > remove the ./ant/ant.jar the GUI works? > > Any suggestion?
Like I already said, you can include the *content* of the ant.jar inside your own AntTool.jar using <zipfileset>s. <zipfileset> can be used within <jar> too, not just <zip>. See http://ant.apache.org/manual/CoreTypes/zipfileset.html --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]