Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "customised compilation" Watch "customised compilation" New topic
Author

customised compilation

sachin kools
Greenhorn

Joined: Dec 21, 2010
Posts: 2
Hi,

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: 2891
    
  19

"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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: customised compilation
 
Similar Threads
a query from Distilled
Diff. Btwn EAR, WAR, & JAR Files????
compiling interdependent classes and pachages
compiling interdependent classes and packages
NoClassDefFoundError when deploying application on weblogic 10.3.4