You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by senzacionale2004 <mi...@gmail.com> on 2010/05/14 13:12:55 UTC
ant deploy to jar file
is it possible with ant deploy to jar file not to server? i have
server.deploy which i must deploy to jar file. Is it possible?
--
View this message in context: http://old.nabble.com/ant-deploy-to-jar-file-tp28557975p28557975.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
AW: AW: ant deploy to jar file
Posted by Ja...@rzf.fin-nrw.de.
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
Re: AW: ant deploy to jar file
Posted by senzacionale2004 <mi...@gmail.com>.
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
AW: ant deploy to jar file
Posted by Ja...@rzf.fin-nrw.de.
You could create a jar file with <jar> task.
But what do you mean with "deploy to jar"?
Jan
>-----Ursprüngliche Nachricht-----
>Von: senzacionale2004 [mailto:mitja.bombac@gmail.com]
>Gesendet: Freitag, 14. Mai 2010 13:13
>An: user@ant.apache.org
>Betreff: ant deploy to jar file
>
>
>is it possible with ant deploy to jar file not to server? i have
>server.deploy which i must deploy to jar file. Is it possible?
>--
>View this message in context:
>http://old.nabble.com/ant-deploy-to-jar-file-tp28557975p28557975.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