IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes how to deploy class file in jar using ant Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "how to deploy class file in jar using ant" Watch "how to deploy class file in jar using ant" New topic
Author

how to deploy class file in jar using ant

kesava chaitanya
Ranch Hand

Joined: Aug 15, 2001
Posts: 140
hi


say my application jar is in oc4j container;path is


c:/oc4j/j2ee/home/applications/ETEAGL3040020040613/EJB.jar

if i compiled (com.foursoft.etrans.air.mawb.java.MAWBDAO) java file then the compiled class from JDeveloper

should deploy in my above jar file path;

how to write build.xml if i want to use ant;

bye
chaitanya
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Read the Ant documentation for an intro to using Ant.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Angel Dobbs-Sciortino
Ranch Hand

Joined: Sep 10, 2003
Posts: 101
Check out the Apache Ant User Manual. First click on Ant Tasks, then click on Core Tasks. The task you want is Jar. If you don't know how to use ant tasks, start at the beginning of the manual for a tutorial on using ant, or purchase a book on how to use ant.

Angel
 
 
subject: how to deploy class file in jar using ant
 
Threads others viewed
making ant run using command line
problem with classpath
Deploying With Ant Using Websphere3.5
How can i deploy class to jar from jdeveloper IDE
Jar file problems
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture