Bug 93384 - Need to update the friend declarations for the new refactored visualweb modules
Need to update the friend declarations for the new refactored visualweb modules
Status: RESOLVED FIXED
Product: obsolete
Classification: Unclassified
Component: visualweb
5.x
All Windows XP
: P2 (vote)
: 6.x
Assigned To: _ sandipchitale
issues@obsolete
: API_REVIEW_FAST
Depends on:
Blocks: 90449
  Show dependency treegraph
 
Reported: 2007-01-29 07:45 UTC by Ch Nguyen
Modified: 2007-02-20 17:15 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
unified diffs (11.78 KB, text/plain)
2007-02-01 17:15 UTC, _ sandipchitale
Details
Diff including the ide/golden/friend-packages.txt and ide/golden/group-friend-packages.txt (27.05 KB, text/plain)
2007-02-02 00:19 UTC, _ sandipchitale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ch Nguyen 2007-01-29 07:45:27 UTC
We have refactored our VisualWeb (aka Rave) modules such that they now have new
package names.  Per Pavel's suggestion,  I'm filing this issue to give everyone
a headsup on these incoming changes.

./db/dbapi/nbproject/project.xml:               
<friend>com.sun.rave.dataconnectivity</friend> ==>
org.netbeans.modules.visualweb.dataconnectivity
./db/dbapi/nbproject/project.xml:               
<friend>com.sun.rave.queryeditor</friend> ==>
org.netbeans.modules.db.sql.visualeditor
./db/derby/nbproject/project.xml:               
<friend>com.sun.rave.dataconnectivity</friend> ==>
org.netbeans.modules.visualweb.dataconnectivity

------
./j2ee/persistenceapi/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject
./j2ee/utilities/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject

------
./refactoring/nbproject/project.xml:               
<friend>com.sun.rave.insync</friend> ==> org.netbeans.modules.visualweb.insync
./refactoring/nbproject/project.xml:               
<friend>com.sun.rave.navigation</friend> ==> org.netbeans.modules.web.jsf.navigation

------
./web/core/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfloader</friend> ==>
org.netbeans.modules.visualweb.project.jsfloader
./web/libs/glassfish_logging/nbproject/project.xml:               
<friend>com.sun.rave.libs.apache.commons</friend> ==>
org.netbeans.modules.visualweb.libs.apache.commons
./web/libs/glassfish_logging/nbproject/project.xml:               
<friend>com.sun.rave.libs.jsf.ri12</friend> ==>
org.netbeans.modules.visualweb.libs.jsf.ri12
./web/libs/glassfish_logging/nbproject/project.xml:               
<friend>com.sun.rave.j2ee14classloaderprovider</friend> ==>
org.netbeans.modules.visualweb.j2ee14classloaderprovider
./web/libs/glassfish_logging/nbproject/project.xml:               
<friend>com.sun.rave.j2ee15classloaderprovider</friend> ==>
org.netbeans.modules.visualweb.j2ee15classloaderprovider
./web/project/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject

-------
./websvc/clientapi/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject
./websvc/jaxwsapi/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject
./websvc/jaxwsmodel/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject
./websvc/websvcapi/nbproject/project.xml:               
<friend>com.sun.rave.project.jsfproject</friend> ==>
org.netbeans.modules.visualweb.project.jsfproject

-------
./xml/multiview/nbproject/project.xml:               
<friend>com.sun.rave.project.navigationloader</friend> ==>
org.netbeans.modules.visualweb.project.navigationloader


Please let me know if you have questions / concerns in the next couple of days.
Thanks.
Comment 1 Ch Nguyen 2007-01-29 08:00:43 UTC
BTW, this issue is just an FYI.  Sine the changes are trivial, we'll have a
person that has access to all these modules to make the changes.
Comment 2 Petr Jiricka 2007-01-29 09:17:09 UTC
Honza, Petr, Milan, Andrei and Erno, could you please review the changes in your
modules? Thanks.
Comment 3 Erno Mononen 2007-01-29 10:05:21 UTC
No concerns on my part.
Comment 4 Jan Becicka 2007-01-29 11:32:58 UTC
Well,
1. I see that target is M7. Refactoring module will not have any friend APIs in
M7 - probably just incorrect target milestone.
2. Proposed change is not compatible. Compatible way is to add a new module, not
to rename old one.

Comment 5 Petr Pisl 2007-01-29 12:59:54 UTC
I'm ok with these changes. I also agree with Jan that these are not compatible
changes, but in these case we don't have to care.

So will everybody do a part or there will be one, who do all changes in one
commit? IMHO one commit is better. 
Comment 6 Ch Nguyen 2007-01-30 16:29:26 UTC
Yes,  it'll be under 1 commit.  Sandip Chitale has volunteered to make these
changes.  Most likely he'll proceed sometime today if no objections.
Comment 7 Petr Jiricka 2007-01-30 19:03:13 UTC
Thanks, Sandip. I did not see any objections, go ahead.
Comment 8 Andrei Badea 2007-01-31 10:19:29 UTC
The changes in db and j2ee look OK to me (I haven't looked at others). I would
have preferred they were described in an unified diff though, since that is
easier to read.
Comment 9 _ sandipchitale 2007-01-31 17:58:47 UTC
I will be adding the universal diff as well as performing the commit today.
Comment 10 _ sandipchitale 2007-02-01 02:00:14 UTC
The original list specified by Chau was based on NB5.5.

I am attaching the unified diff for the changes I will be making tomorrow. Yes 
the refactoring support in VW is not planned for M7. Thus we will not be 
needing that. I am also aware that I have to switch over to the new 
refactoring APIs. That will most likely come in M8. I think Petr Pisl also has 
some dependency on that.

Here are the unified diffs:

Index: autoupdate/nbproject/project.xml
===================================================================
RCS file: /cvs/autoupdate/nbproject/project.xml,v
retrieving revision 1.27
diff -u -u -r1.27 project.xml
--- autoupdate/nbproject/project.xml	10 Jan 2007 14:00:33 -0000	1.27
+++ autoupdate/nbproject/project.xml	1 Feb 2007 00:37:49 -0000
@@ -161,7 +161,7 @@
                 </test-type>
             </test-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.extension.autoupdate</friend>
+                
<friend>org.netbeans.modules.visualweb.extension.autoupdate</friend>
                 <friend>org.netbeans.modules.updatecenters</friend>
                 <package>org.netbeans.modules.autoupdate</package>
             </friend-packages>
Index: db/dbapi/nbproject/project.xml
===================================================================
RCS file: /cvs/db/dbapi/nbproject/project.xml,v
retrieving revision 1.3
diff -u -u -r1.3 project.xml
--- db/dbapi/nbproject/project.xml	30 Jan 2007 16:20:00 -0000	1.3
+++ db/dbapi/nbproject/project.xml	1 Feb 2007 00:39:50 -0000
@@ -66,8 +66,8 @@
                 </dependency>
             </module-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.dataconnectivity</friend>
-                <friend>com.sun.rave.queryeditor</friend>
+                
<friend>org.netbeans.modules.visualweb.dataconnectivity</friend>
+                <friend>org.netbeans.modules.db.sql.visualeditor</friend>
                 <friend>org.netbeans.modules.db.sql.editor</friend>
                 <friend>org.netbeans.modules.j2ee.jpa.verification</friend>
                 <friend>org.netbeans.modules.j2ee.persistence</friend>
Index: db/derby/nbproject/project.xml
===================================================================
RCS file: /cvs/db/derby/nbproject/project.xml,v
retrieving revision 1.12
diff -u -u -r1.12 project.xml
--- db/derby/nbproject/project.xml	7 Nov 2006 23:43:44 -0000	1.12
+++ db/derby/nbproject/project.xml	1 Feb 2007 00:39:51 -0000
@@ -144,7 +144,7 @@
                 </test-type>
             </test-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.dataconnectivity</friend>
+                
<friend>org.netbeans.modules.visualweb.dataconnectivity</friend>
                 <friend>org.netbeans.modules.derby.bundled</friend>
                 <friend>org.netbeans.modules.j2ee.blueprints</friend>
                 <friend>org.netbeans.modules.j2ee.samples</friend>
Index: j2ee/persistenceapi/nbproject/project.xml
===================================================================
RCS file: /cvs/j2ee/persistenceapi/nbproject/project.xml,v
retrieving revision 1.3
diff -u -u -r1.3 project.xml
--- j2ee/persistenceapi/nbproject/project.xml	30 Jan 2007 16:20:07 -0000
	1.3
+++ j2ee/persistenceapi/nbproject/project.xml	1 Feb 2007 00:44:12 -0000
@@ -41,7 +41,7 @@
                 </dependency>
             </module-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <friend>org.netbeans.modules.j2ee.clientproject</friend>
                 <friend>org.netbeans.modules.j2ee.ejbjarproject</friend>
                 <friend>org.netbeans.modules.j2ee.jpa.verification</friend>
Index: j2ee/utilities/nbproject/project.xml
===================================================================
RCS file: /cvs/j2ee/utilities/nbproject/project.xml,v
retrieving revision 1.53
diff -u -u -r1.53 project.xml
--- j2ee/utilities/nbproject/project.xml	30 Jan 2007 06:31:36 -0000
	1.53
+++ j2ee/utilities/nbproject/project.xml	1 Feb 2007 00:44:40 -0000
@@ -263,7 +263,7 @@
                 </test-type>
             </test-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <friend>org.netbeans.modules.j2ee.archive</friend>
                 <friend>org.netbeans.modules.j2ee.clientproject</friend>
                 <friend>org.netbeans.modules.j2ee.earproject</friend>
Index: web/core/nbproject/project.xml
===================================================================
RCS file: /cvs/web/core/nbproject/project.xml,v
retrieving revision 1.23
diff -u -u -r1.23 project.xml
--- web/core/nbproject/project.xml	15 Dec 2006 11:15:04 -0000	1.23
+++ web/core/nbproject/project.xml	1 Feb 2007 00:51:21 -0000
@@ -353,7 +353,7 @@
                 </test-type>
             </test-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.project.jsfloader</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfloader</friend>
                 <package>org.netbeans.modules.web.core.jsploader.api</package>
             </friend-packages>
         </data>
Index: web/libs/glassfish_logging/nbproject/project.xml
===================================================================
RCS file: /cvs/web/libs/glassfish_logging/nbproject/project.xml,v
retrieving revision 1.2
diff -u -u -r1.2 project.xml
--- web/libs/glassfish_logging/nbproject/project.xml	12 Oct 2006 14:32:53 -
0000	1.2
+++ web/libs/glassfish_logging/nbproject/project.xml	1 Feb 2007 00:51:49 -
0000
@@ -25,10 +25,10 @@
             <module-dependencies/>
             <friend-packages>
                 <friend>org.netbeans.modules.web.jspparser</friend>
-                <friend>com.sun.rave.libs.apache.commons</friend>
-                <friend>com.sun.rave.libs.jsf.ri12</friend>
-                <friend>com.sun.rave.j2ee14classloaderprovider</friend>
-                <friend>com.sun.rave.j2ee15classloaderprovider</friend>
+                
<friend>org.netbeans.modules.visualweb.libs.apache.commons</friend>
+                <friend>org.netbeans.modules.visualweb.libs.jsf.ri12</friend>
+                
<friend>org.netbeans.modules.visualweb.j2ee14classloaderprovider</friend>
+                
<friend>org.netbeans.modules.visualweb.j2ee15classloaderprovider</friend>
                 <package>com.sun.org.apache.commons.logging</package>
                 <package>com.sun.org.apache.commons.logging.impl</package>
             </friend-packages>
Index: web/project/nbproject/project.xml
===================================================================
RCS file: /cvs/web/project/nbproject/project.xml,v
retrieving revision 1.51
diff -u -u -r1.51 project.xml
--- web/project/nbproject/project.xml	24 Jan 2007 14:10:20 -0000	1.51
+++ web/project/nbproject/project.xml	1 Feb 2007 00:51:50 -0000
@@ -385,7 +385,7 @@
             <friend-packages>
                 <friend>org.netbeans.modules.j2ee.earproject</friend>
                 <friend>org.netbeans.modules.j2ee.archive</friend>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <package>org.netbeans.modules.web.project.api</package>
                 <package>org.netbeans.modules.web.project.spi</package>
             </friend-packages>
Index: websvc/clientapi/nbproject/project.xml
===================================================================
RCS file: /cvs/websvc/clientapi/nbproject/project.xml,v
retrieving revision 1.11
diff -u -u -r1.11 project.xml
--- websvc/clientapi/nbproject/project.xml	18 Dec 2006 14:39:17 -0000
	1.11
+++ websvc/clientapi/nbproject/project.xml	1 Feb 2007 00:51:59 -0000
@@ -128,7 +128,7 @@
                 <friend>org.netbeans.modules.websvc.wsitconf</friend>
                 -->
                 <friend>org.netbeans.modules.websvc.customization</friend>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <package>org.netbeans.modules.websvc.api.client</package>
                 
<package>org.netbeans.modules.websvc.api.jaxws.client</package>
                 <package>org.netbeans.modules.websvc.spi.client</package>
Index: websvc/jaxwsapi/nbproject/project.xml
===================================================================
RCS file: /cvs/websvc/jaxwsapi/nbproject/project.xml,v
retrieving revision 1.5
diff -u -u -r1.5 project.xml
--- websvc/jaxwsapi/nbproject/project.xml	30 Jan 2007 06:30:45 -0000
	1.5
+++ websvc/jaxwsapi/nbproject/project.xml	1 Feb 2007 00:52:34 -0000
@@ -105,7 +105,7 @@
                 </test-type>
             </test-dependencies>
             <friend-packages>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <friend>org.netbeans.modules.identity.profile.ui</friend>
                 <friend>org.netbeans.modules.j2ee.ejbjarproject</friend>
                 <friend>org.netbeans.modules.j2ee.refactoring</friend>
Index: websvc/jaxwsmodel/nbproject/project.xml
===================================================================
RCS file: /cvs/websvc/jaxwsmodel/nbproject/project.xml,v
retrieving revision 1.3
diff -u -u -r1.3 project.xml
--- websvc/jaxwsmodel/nbproject/project.xml	24 Oct 2006 12:59:37 -0000
	1.3
+++ websvc/jaxwsmodel/nbproject/project.xml	1 Feb 2007 00:52:35 -0000
@@ -198,7 +198,7 @@
                 <friend>org.netbeans.modules.websvc.dev</friend>
                 <friend>org.netbeans.modules.websvc.jaxwsapi</friend>
                 <friend>org.netbeans.modules.websvc.wsitconf</friend>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 
<package>org.netbeans.modules.websvc.api.jaxws.project</package>
                 
<package>org.netbeans.modules.websvc.api.jaxws.project.config</package>
                 
<package>org.netbeans.modules.websvc.api.jaxws.wsdlmodel</package>
Index: websvc/websvcapi/nbproject/project.xml
===================================================================
RCS file: /cvs/websvc/websvcapi/nbproject/project.xml,v
retrieving revision 1.19
diff -u -u -r1.19 project.xml
--- websvc/websvcapi/nbproject/project.xml	15 Dec 2006 12:10:54 -0000
	1.19
+++ websvc/websvcapi/nbproject/project.xml	1 Feb 2007 00:52:36 -0000
@@ -116,7 +116,7 @@
                 <friend>org.netbeans.modules.j2ee.refactoring</friend>
                 <friend>org.netbeans.modules.web.project</friend>
                 <friend>org.netbeans.modules.websvc.jaxrpc</friend>
-                <friend>com.sun.rave.project.jsfproject</friend>
+                
<friend>org.netbeans.modules.visualweb.project.jsfproject</friend>
                 <package>org.netbeans.modules.websvc.api.webservices</package>
                 <package>org.netbeans.modules.websvc.spi.webservices</package>
             </friend-packages>
Index: xml/multiview/nbproject/project.xml
===================================================================
RCS file: /cvs/xml/multiview/nbproject/project.xml,v
retrieving revision 1.12
diff -u -u -r1.12 project.xml
--- xml/multiview/nbproject/project.xml	9 Nov 2006 16:54:13 -0000	1.12
+++ xml/multiview/nbproject/project.xml	1 Feb 2007 00:52:56 -0000
@@ -142,7 +142,7 @@
             <friend-packages>
                 <friend>org.netbeans.modules.identity.profile.ui</friend>
                 <friend>org.netbeans.modules.websvc.wsitconf</friend>
-                <friend>com.sun.rave.project.navigationloader</friend>
+                
<friend>org.netbeans.modules.visualweb.project.navigationloader</friend>
                 <friend>org.netbeans.modules.e2e.end2end</friend>
                 <friend>org.netbeans.modules.e2e.jsr172</friend>
                 <friend>org.netbeans.modules.j2ee.persistence</friend>


 
Comment 11 Petr Pisl 2007-02-01 08:14:18 UTC
Thanks to Sandip. One more request. Could you attach the diff as a file? If you
put the file directly, then it lost formating and is not so easy to apply the
patch to try it :).
Comment 12 _ sandipchitale 2007-02-01 17:15:13 UTC
Created attachment 37932 [details]
unified diffs
Comment 13 _ sandipchitale 2007-02-01 17:15:54 UTC
As per Petrs suggestions added the diffs as an attachment.
Comment 14 _ sandipchitale 2007-02-02 00:19:37 UTC
Created attachment 37946 [details]
Diff including the ide/golden/friend-packages.txt and ide/golden/group-friend-packages.txt
Comment 15 _ sandipchitale 2007-02-02 00:20:37 UTC
Attached the diff including the diffs to the ide/golden/friend-packages.txt 
and ide/golden/group-friend-packages.txt
Comment 16 _ sandipchitale 2007-02-02 00:22:12 UTC
Checking in ide/golden/friend-packages.txt;
/cvs/ide/golden/friend-packages.txt,v  <--  friend-packages.txt
new revision: 1.97; previous revision: 1.96
done
Checking in ide/golden/group-friend-packages.txt;
/cvs/ide/golden/group-friend-packages.txt,v  <--  group-friend-packages.txt
new revision: 1.34; previous revision: 1.33
done
Checking in autoupdate/nbproject/project.xml;
/cvs/autoupdate/nbproject/project.xml,v  <--  project.xml
new revision: 1.28; previous revision: 1.27
done
Checking in db/dbapi/nbproject/project.xml;
/cvs/db/dbapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Checking in db/derby/nbproject/project.xml;
/cvs/db/derby/nbproject/project.xml,v  <--  project.xml
new revision: 1.13; previous revision: 1.12
done
Checking in j2ee/persistenceapi/nbproject/project.xml;
/cvs/j2ee/persistenceapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Checking in j2ee/utilities/nbproject/project.xml;
/cvs/j2ee/utilities/nbproject/project.xml,v  <--  project.xml
new revision: 1.54; previous revision: 1.53
done
Checking in web/core/nbproject/project.xml;
/cvs/web/core/nbproject/project.xml,v  <--  project.xml
new revision: 1.24; previous revision: 1.23
done
Checking in web/libs/glassfish_logging/nbproject/project.xml;
/cvs/web/libs/glassfish_logging/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Checking in web/project/nbproject/project.xml;
/cvs/web/project/nbproject/project.xml,v  <--  project.xml
new revision: 1.52; previous revision: 1.51
done
Checking in websvc/clientapi/nbproject/project.xml;
/cvs/websvc/clientapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.12; previous revision: 1.11
done
Checking in websvc/jaxwsapi/nbproject/project.xml;
/cvs/websvc/jaxwsapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.6; previous revision: 1.5
done
Checking in websvc/jaxwsmodel/nbproject/project.xml;
/cvs/websvc/jaxwsmodel/nbproject/project.xml,v  <--  project.xml
new revision: 1.4; previous revision: 1.3
done
Checking in websvc/websvcapi/nbproject/project.xml;
/cvs/websvc/websvcapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.20; previous revision: 1.19
done
Checking in xml/multiview/nbproject/project.xml;
/cvs/xml/multiview/nbproject/project.xml,v  <--  project.xml
new revision: 1.13; previous revision: 1.12
done
Comment 17 _ sandipchitale 2007-02-20 17:15:14 UTC
The changes have been checked in.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo