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: | User library definitions are removed from nbproject/private/private.properties on startup | ||
---|---|---|---|
Product: | javaee | Reporter: | ladermann <ladermann> |
Component: | EAR | Assignee: | David Konecny <dkonecny> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
messages.log
Before start of the IDE After start of the IDE |
Description
ladermann
2008-06-12 07:06:29 UTC
Created attachment 62719 [details]
messages.log
There was a fix related to lib.file.xxx properties. The fix was included in a patch for 6.1. Also, could you zip nbproject folder before and after this problem and attach it here? If the problem happened after a while it may help to try: * delete (perhaps backup first) nbproject/private folder * start NB with clean userdir (nb --userdir /some/path) Deleting and restarting the IDE doesn't help. The user libraries are still missing in private/private.properties and can only be fixed for the session as I described above. Find attached the zips of the nbproject folder before and after the start of Netbeans. Created attachment 62779 [details]
Before start of the IDE
Created attachment 62780 [details]
After start of the IDE
This problem exists in ejb, ear and appclient projects which do not use "Libraries Folder". It is related to issues 129316 and 134452 which were not properly fixed (apart from web project). How to reproduce: * create one of above mentioned projects without Libraries Folder * add for example Struts library (that is a library which has >1 jars) to compilation classpath (in case of ear add library to packaging panel) * notice that private.properties file contains libs.XXX.classpath.libfile.XXX * restart IDE and all libs.XXX.classpath.libfile.XXX will be removed Possible workaround is to configure projects to use Libraries Folder. Fixed in fd62ed665a24 (will be pushed later today). Integrated into 'main-golden', available in NB_Trunk_Production #271 build Changeset: http://hg.netbeans.org/main/rev/fd62ed665a24 User: David Konecny <dkonecny@netbeans.org> Log: #137071 - User library definitions are removed from nbproject/private/private.properties on startup ladermann, I would like to ask you to verify this fix works in trunk builds. This way I can follow-up and make it appear in NB 6.1 Patch (3) release. Thanks, -R I just want to let you know, that the latest update indeed fixed the problem. Thank's for your efforts! Please note that NetBeans 6.1 Patch3 cut-off is going to happen on close of business August 5th. If you would like to have bugfix for this issue as part of NetBeans 6.1 Patch3, then this issue must have information about bugfix' trunk changeset and it's status must be "VERIFIED". ladermann did verify this issue just forgot to update the state. I've transplanted the changeset http://hg.netbeans.org/main/rev/fd62ed665a24 into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/df8acee451ba |