File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

Joined: Jul 29, 2008
Posts: 3912

"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
I agree. Here's the link:
subject: customised compilation
It's not a secret anymore!