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.
Hi RE team, Is it possible to remove comment lines from localized Bundle.properties at build time? It seems that current build script is doing this for English Bundle.properties (in bug 58298) for size reduction and performance. Below is the simple result only for Japanese. We will have Chinese and pt-BR, also more languages. So I think we should do the same reduction in ml builds. $ find */*/src */src -name "*_ja.properties" | xargs grep -v -h "^#" | wc 9892 12735 651545 $ find */*/src */src -name "*_ja.properties" | xargs cat | wc 20316 69883 1147587
Changing version to 6.0. Setting preliminary milestone to 6.0M11. I've found sample how to easily do that in nbbuild/templates/common.xml <copy todir="${build.classes.dir}"> <!-- #58298: strip comments to save some space --> <fileset dir="${src.dir}" includes="**/*.properties"/> <filterchain> <tokenfilter> <!-- #61965: preserve #NOI18N and similar comments --> <filetokenizer/> <replaceregex pattern="^#(?!(PART)?(NO)?I18N).*[\r\n]+" replace="" flags="gm"/> </tokenfilter> </filterchain> </copy>
Reassigning to me. Actual working prototype of NB 6.0 ML build already has a fix for this issue.
Checking in nbbuild/templates/projectized.xml; /cvs/nbbuild/templates/projectized.xml,v <-- projectized.xml new revision: 1.131; previous revision: 1.130 done