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.
We need a new "Language" option on "Options>Editor>OnSave", to control "*.mf" files. Plain text does not work, so as a workaround, we have to set "All Languages" to "none" (for trailing whitespaces) and all other languages to e.g. all lines This is not so productive. Please give a manifest language option as well in a new NB version. In my opinion "Remove Trailing Spaces" should be a configurable property for specified file types. For example it is desired to trim spaces on source files *.java but it is not on manifest files, because of the blank spaces that are required for "Class-Path:" e.g consider the following manifest.mf, every line in Class-Path section must end with a training space. Since Netbeans trims these spaces I have to edit my manifest files with notepad! Manifest-Version: 1.0 Main-Class: test.MainDesktop Class-Path: lib\. lib\hibernate\antlr-2.7.6.jar lib\hibernate\c3p0-0.9.1.jar lib\hibernate\cglib-2.2.jar lib\hibernate\commons-collections-3.1.jar lib\hibernate\commons-logging-1.1.1.jar lib\hibernate\dom4j-1.6.1.jar lib\hibernate\ehcache-1.2.3.jar lib\hibernate\hibernate3.jar lib\hibernate\javassist-3.9.0.GA.jar lib\hibernate\jta-1.1.jar lib\hibernate\log4j-1.2.15.jar lib\hibernate\slf4j-api-1.5.8.jar lib\hibernate\slf4j-log4j12-1.5.8.jar lib\jasperreports\commons-beanutils-1.7.jar lib\jasperreports\commons-digester-1.7.jar lib\jasperreports\commons-javaflow-20060411.jar lib\jasperreports\itext-1.3.1.jar lib\jasperreports\jasperreports-3.0.0-modified.jar lib\jasperreports\jdt-compiler-3.1.1.jar lib\jasperreports\poi-3.0.1-final-20070705.jar
*** Bug 226742 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
it seems in nb 8.1 this issue is no more. Setting onSave to trim spaces for properties, text files, etc. does not affect *.mf files anymore.