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.
This looks like the same problem as issue 58047 in web/project. I can see the problem in both earproject and ejbjarproject. Resolve references dialog for libraries with multiple files does not update private.properties. 1. create project (ear or ejbjar) 2. create library with 2 jar files 3. add the library to project (build to check it works ok) 4. close the project 5. delete the library 6. manually delete the private folder in nbproject (this simulates transfer to another machine or cvs co) 7. open the project again - see broken references warning 8. resolve references 9. build project -- get an error
similar problem as issue 58047 -> P1
Fixing similarly as issue 58047 - force save of EjbJarProjectProperties saves the library references correctly. Candidate for merge to release41 if the fix works for QE and reviewer (Andrej) and if QE agrees this is a valid P1.
Created attachment 21746 [details] diff
I agree with merge to netbeans41. Please, commit fix to trunk first.
I think it's in trunk. Andrei, can you review it?
verified in build 20050420-0434
I have reviewed the fix. We don't have anything better for 4.1, so I agree with it. But I think this should be addressed better in 4.2.
merger to release41 Checking in src/org/netbeans/modules/j2ee/ejbjarproject/ui/EjbJarLogicalViewProvider.java; /cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/EjbJarLogicalViewProvider.java,v <-- EjbJarLogicalViewProvider.java new revision: 1.12.6.1; previous revision: 1.12 done
verified in build 200504241930