This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 3019
    
  35

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


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: customised compilation
 
Similar Threads
Diff. Btwn EAR, WAR, & JAR Files????
NoClassDefFoundError when deploying application on weblogic 10.3.4
compiling interdependent classes and packages
a query from Distilled
compiling interdependent classes and pachages