jQuery in Action, 2nd edition*
The moose likes Ant, Maven and Other Build Tools and the fly likes customised compilation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "customised compilation" Watch "customised compilation" New topic

customised compilation

sachin kools

Joined: Dec 21, 2010
Posts: 2

we have migrated from weblogic 8 to weblogic 10. We use ant 2 to build the application. But now the EAR size have increased drastically with new settings. So while builing the application i want only classes from a particular package to be present in the jar(we have many jars...) and the dependencies should be taken from the classpath.

Can you please help me out in this as all the dependent classes from other packages are getting compiled hence increasing the jar size which in turn increased the EAR size...
Just need a way so that i can exclude other packages compilation which are the dependencies of my package classes...
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885

"sachin sachink", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: customised compilation
Similar Threads
compiling interdependent classes and packages
a query from Distilled
Diff. Btwn EAR, WAR, & JAR Files????
compiling interdependent classes and pachages
NoClassDefFoundError when deploying application on weblogic 10.3.4