Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ANT Compilation

Status
Not open for further replies.

sashirao

Programmer
Joined
Oct 13, 2004
Messages
1
Location
US
I have two packages under a project com.util and com.ejb these two packages serve different purpose and I need the result to be util.jar and ejb.jar seperatyely.

When I retrieve from CVC the source is like -- source -- UTIL_PROJ + com.util -- EJB_PROJ +com.ejb

Both util and ejb are interdeoendent.

While compiling if I give UTIL_PROJ as first it fails since its unable to locate EJB and viceversa example:

<javac srcdir="${util_src}" debug="on" deprecation="off" optimize="on">
<classpath>
<pathelement path="${log4j_jar}"/>

</classpath>
</javac>
<javac srcdir="${ejb_src}" debug="on" deprecation="off" optimize="on">
<classpath>
<pathelement path="${log4j_jar}"/>
</classpath>
</javac>
How can I build and create seperate jar files.

Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top