ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: ant deploy to jar file
Date Fri, 14 May 2010 11:59:09 GMT
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.bombac@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-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message