This content has been marked as final. Show 8 replies
I would guess that your application is big enough that that's how long the build needs to take to process it. A 17 to 18 minute build doesn't strike me as overly long for non-trivial application, but here are some strategies for coping with long build times:
1. Modularize your application. If you only make changes in one part, you will be able to re-build just that module, saving yourself the time of building everything from scratch.
2. Get faster hardware. Builds are very sensitive to disk system performance. A laptop with an energy-saving 5400 RPM HDD will run the build several times slower than a desktop with several 10k Raptors in RAID, even if they have comparable CPU and memory.
Hope this helps.
As Kal mentioned
I have set verbose="true" in the build script and tried executing the build. I could observe that the time is consumed for the
[apt] [loading com/bea/control/interceptors/TransactionInterceptor.class(com/bea/control/interceptors:TransactionInterceptor.class)]
[apt] [loading java/util/SortedSet.class(java/util:SortedSet.class)]
[apt] [loading org/apache/commons/validator/ValidatorResults.class(l/commons/validator:ValidatorResults.class)]
which takes 3 mins each. Am not sure why this loads the dependent jars at the compile time. I think some where I have set the .jar files in the path.
In the log I could see there are aroud three pages of jar file path in the continuation to the resources.jar below.
[apt] [search path for class files: /apps/bea/platform/10.3.0/jdk160_05/jre/lib/resources.jar, ....
is there any issue setting the path.
Can you help me.
Thanks for your Responce Konstantin,
My Application is not that big to take 17 mins to 18 mins for a particular module. In my application there are around 5 projects all the other 4 builds faster, only the web project takes time, because of the annotations. I feel there should be a way or there should be some unnecessary things making this delay. My application is weblogic portal application.
I think you are using JRockit by default try to change to sun Jdk and include permsize parameters and try to build the application.
Hope this should make the difference in the performances.
Note|: This suggestion is done because you are using atp command in your build so there should be some difference in JRockit and Sun JDK.
let me know if you have still problem in this issue.