I dont know JDeveloper. Maybe you want to create a runnable JAR file. This just is a jar file with a Main-Class entry in the manifest. <jar ...> <manifest> <attribute name="Main-Class" value="${application.main.class}"/> </manifest> </jar>
See also the 4th example in the <jar> manual. Jan >-----Ursprüngliche Nachricht----- >Von: senzacionale2004 [mailto:mitja.bom...@gmail.com] >Gesendet: Freitag, 14. Mai 2010 13:50 >An: user@ant.apache.org >Betreff: Re: AW: ant deploy to jar file > > >hmm create jar task. > >.deploy file is jdeveloper file > >You can create it like this: > >Highlight the project, right click->New >General->Deployment Profiles: JAR File - Simple Archive >Save as TestApplication.deploy >Fill in dialog >JAR Options -> Main class name: >net.casetech.otsig.jdevintro.TestApplication >Right click .deploy file->Deploy to JAR file > >-- >View this message in context: >http://old.nabble.com/ant-deploy-to-jar-file-tp28557975p28558393.html >Sent from the Ant - Users mailing list archive at Nabble.com. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >For additional commands, e-mail: user-h...@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org