Community
Participate
Working Groups
PBS Java server size increasingly becomes a problem. This is a showcase detailing a multi-step size reduction approach and its integration in the ANT build process. Below are performance and size reduction assessments. Get started by reading the instructions in build_small.xml in the project org.eclipse.ptp.rm.pbs.jproxy Size-Assessment: We start with a given pbs server jar containing many unnecessary classes since it was created using the Eclipse export mechanism that includes all dependend projects. Size: 30 MB Jar after dependency analysis: 1 MB Jar after compression (pack200+GZip): 350 kb Performance-Assessment: timestamp: [echo] Step #1: Creating dependency fileset 12/07/2010 08:11:42 AM timestamp: [echo] Step #2: Create jar from dependecy fileset 12/07/2010 08:11:42 AM [jar] Building jar: D:\workspace_flockingwords\_ant_bcel_bugfix\test-minim al.jar pack200-jar: timestamp: [echo] Step #3: Compressing Jar (Pack200+GZip) 12/07/2010 08:11:45 AM BUILD SUCCESSFUL Total time: 5 seconds
Superceded by new JAXB resource manager. Reopen if you think it's still relevant.