When creating a new properties file using the Properties Editor, only the first line of the .properties file is written to disk.
MyEclipse downloaded 1/8/2010 from here
http://myeclipseide.org/Downloads-index-req-getit-lid-156.html
This issue has been discussed and reported to be resolved here
http://myeclipseide.org/index.php?name=PNphpBB2&file=viewtopic&t=24662
but is still present in ME 8.
To reproduce:
1. Create a new file e.g. test.properties.
2. Create two name > value pairs using the properties editor that opens on file creation.
– prop_one > one
– prop_two > two
3. Save the file.
4. Select the Source tab and note that only the first line is written to disk.
5. Close and open MyEclipse (not the file, not the project, these actions don’t flush the editor’s buffer).
6. Reopen test.properties and observe that only the first line was saved to disk,
as shown in the source tab prior to quitting.
7. Additional properties are now saved as expected.
Not tested thoroughly, but the bug seems to apply only to new file creation. Files existing
when MyEclipse is opened seem to save as expected.
Best regards,
-Glen
MyEclipse Installation Details:
*** Date:
Saturday, January 9, 2010 9:33:57 PM PST
** System properties:
OS=MacOSX
OS version=10.5.5
Java version=1.5.0_16
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120
Eclipse startup command=-os
macosx
-ws
carbon
-arch
x86
-showsplash
-launcher
/Applications/Development/DevelopmentFolders/MyEclipse80/myeclipse.app/Contents/MacOS/myeclipse
-name
Myeclipse
--launcher.library
/Applications/Development/DevelopmentFolders/MyEclipse80/myeclipse.app/Contents/MacOS//../../../../Genuitec/Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.200.v20090520-1835/eclipse_1206.so
-startup
/Applications/Development/DevelopmentFolders/MyEclipse80/myeclipse.app/Contents/MacOS/../../../../Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
/Applications/Development/DevelopmentFolders/MyEclipse80
-configuration
../../../configuration
-keyring
/Users/glen/.eclipse_keyring
-consoleLog
-showlocation
-vm
/System/Library/Frameworks/JavaVM.framework