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.

Bug 58078 - project - resolved broken reference doesn't update private.properties
Summary: project - resolved broken reference doesn't update private.properties
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on: 58047
Blocks:
  Show dependency tree
 
Reported: 2005-04-20 03:16 UTC by Pavel Buzek
Modified: 2006-03-24 12:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
diff (833 bytes, text/plain)
2005-04-20 03:29 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2005-04-20 03:16:22 UTC
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
Comment 1 Pavel Buzek 2005-04-20 03:17:43 UTC
similar problem as issue 58047 -> P1
Comment 2 Pavel Buzek 2005-04-20 03:29:07 UTC
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.
Comment 3 Pavel Buzek 2005-04-20 03:29:30 UTC
Created attachment 21746 [details]
diff
Comment 4 Petr Blaha 2005-04-20 07:08:30 UTC
I agree with merge to netbeans41. Please, commit fix to trunk first. 
Comment 5 Pavel Buzek 2005-04-20 13:56:48 UTC
I think it's in trunk.
Andrei, can you review it?
Comment 6 Jan Horvath 2005-04-20 14:17:08 UTC
verified in build 20050420-0434
Comment 7 Andrei Badea 2005-04-20 15:18:48 UTC
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.
Comment 8 Pavel Buzek 2005-04-22 16:30:47 UTC
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
Comment 9 Jan Horvath 2005-04-25 16:18:22 UTC
verified in build 200504241930