This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Strip comments from properties files in build | ||
---|---|---|---|
Product: | www | Reporter: | _ rkubacki <rkubacki> |
Component: | Builds & Repositories | Assignee: | _ rkubacki <rkubacki> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, jglick |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 61965 | ||
Bug Blocks: | 142319 | ||
Attachments: | patch |
Description
_ rkubacki
2005-04-25 20:14:43 UTC
Created attachment 21868 [details]
patch
There is a 600kB improvement in netbeans size. $ du -sk nbbuild/netbeans nbbuild/netbeans.orig 112440 nbbuild/netbeans 113052 nbbuild/netbeans.orig Also RSS shows a bit better numbers. The only problem is template in properties module and couple of modules that are not projectized (like xml/tax). Sounds fine to me. Don't bother with xml/tax, will get projectized eventually anyway. For the template in properties module, just rename it sample.properties.template in the JAR (keep same layer name) and you are done. I modified common.xml and used Jesse's suggestion rather than special handling in properties/build.xml Checking in nbbuild/templates/common.xml; /cvs/nbbuild/templates/common.xml,v <-- common.xml new revision: 1.2; previous revision: 1.1 done Checking in vcscore/build.xml; /cvs/vcscore/build.xml,v <-- build.xml new revision: 1.52; previous revision: 1.51 done Checking in properties/src/org/netbeans/modules/properties/Layer.xml; /cvs/properties/src/org/netbeans/modules/properties/Layer.xml,v <-- Layer.xml new revision: 1.10; previous revision: 1.9 done Removing properties/src/org/netbeans/modules/properties/sample.properties; /cvs/properties/src/org/netbeans/modules/properties/sample.properties,v <-- sample.properties new revision: delete; previous revision: 1.1 done RCS file: /cvs/properties/src/org/netbeans/modules/properties/sample.properties.template,v done Checking in properties/src/org/netbeans/modules/properties/sample.properties.template; /cvs/properties/src/org/netbeans/modules/properties/sample.properties.template,v <-- sample.properties.template initial revision: 1.1 Note: this trick has now been reverted, as it was causing trouble for creation of the L10N kit and there was no consensus on its value. #bbc5329c3be5 |