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 99740 - User dir migration from Creator 2, 2u1, NB 5.5 or 5.5.1 to NB 6.0
Summary: User dir migration from Creator 2, 2u1, NB 5.5 or 5.5.1 to NB 6.0
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Ch Nguyen
URL:
Keywords:
Depends on: 94804 99748 103082 103184 104005 105212
Blocks:
  Show dependency tree
 
Reported: 2007-04-03 00:49 UTC by Ch Nguyen
Modified: 2007-06-16 06:35 UTC (History)
6 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Leopard User dir with Complibs (1.16 MB, application/octet-stream)
2007-04-12 22:18 UTC, sjangity
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ch Nguyen 2007-04-03 00:49:59 UTC
This is an umbrella task for user dir migration for Creator / Visualweb users.
NB 6.0 is the migration path for the Creator users.  The Creator users might or
might NOT have NB 5.5 or 5.5.1 on their system.  There was not a user dir
migration functionality from Creator 2 or 2u1 to NB 5.5 or 5.5.1.  Hence, it is
important that we cover the migration from Creator 2 / 2u1 to NB6.0 in addition
to migrating the user dir info from NB 5.5 or 5.5.1.

Here is a summary of a recent discussion on this topic:
. There are still some unknowns and Radek is currently occupied with some
important deliverables in M9,  this task will likely be done after J1 (M10).
. Radek / Tonda AI: to discuss further with Dusan the following:
  - should the whole complete user dir migration takes place (which contains
both NB 4.1 specific that Creator 2 or 2u1 was based on + Creator specific data)
for Creator 2 or 2u1 users?
  - if so, it might make sense to ask the user which user dir they want to
migrate since there might be multiple installations of Creator 2, 2u1, NB 5.5 &/
5.5.1 on the same system.  Possible changes to the existing user settings import UI.
  - if not (which implicitly means that all the user dirs can be migrated
together)  then which order should be used and what the user experience would be
like?
. Chau AI: to double check on webservices, ejb & anything else in VW if there is
any data in the user dir to migrated.
. Chau AI: create a twiki page with a table for this info similar to Tonda's
page on user dir migration from 5.5 -> 5.5.1
. Radek AI: to send some pointer to some documentation on how user data should
be stored in the user dir for simpler user settings migration in the future.
Comment 1 Ch Nguyen 2007-04-05 16:38:59 UTC
1.  For M9: only Creator specific data is to be migrated as specified on the
bottom of the table here
http://netbeans.czech/wiki/view/Netbeans/PromotionHSettingsMigration
(Thanks so much to Radek & Tonda for agreeing to this!)

2.  For M10: need input from HIE on what should be imported based on the NB 4.1
settings list below in addition to #1 above:

>   * Window layout. Example: If the projects window is moved to the
>     upper left corner, it will remain in the upper left corner after
>     the migration from Creator to NB 6.0. ( Dusan: No since the window layout
in NB 6.0 is totally different from Creator 2)
>   * IDE Options Settings:
      - font size and color (Dusan?)
      - browsers (Dusan: NB6.0 might set up the default browser automatically...)
      - search settings (Dusan: No since the Find dialog in NB6.0 is redesigned)
>   * All Toolbox clips (code clips) and components (not sure if users can add
>     clips/components, but if they can   (Chau: is checking on this)
>   * Proxies(Chau: OK for migration if possible)
>     used in Autoupdate, CVS, VCS, WebServices, etc...



Comment 2 rmatous 2007-04-06 18:06:35 UTC
1.  For M9: only Creator specific data is to be migrated as specified on the
bottom of the table here - I plan to implement it in frame of the next week

Comment 3 Ch Nguyen 2007-04-11 08:25:24 UTC
I've just updated the table with a few more entries for the Palette.

Radek,  do you anticipate to have the M9 changes integrated in the next couple
of days or so?  We would like to test and complete our part of the
implementation as well. Thanks.

BTW,  I'm temporarily reassigning this to Dusan so that he complete his part of
the evaluation on whether we need to migrate the rest of the settings.
Comment 4 sjangity 2007-04-12 22:18:27 UTC
Created attachment 40858 [details]
Leopard User dir with Complibs
Comment 5 sjangity 2007-04-12 22:20:49 UTC
Hi Radek,

Attached a zip of the "2_1" Leopard userdir which contains references to
complibs used in 2 separate projects. Please let me know if you can't open the
zip. I purposely removed var/websvc directories to cut down on the upload size.
Thanks.
Comment 6 rmatous 2007-04-13 09:41:31 UTC
I can open it, so used it for testing and here is files layout:
.
|-- build.properties
|-- complibs
|   |-- index.xml
|   |-- poweredby.complib13406
|   |   |-- META-INF
|   |   |   |-- MANIFEST.MF
|   |   |   |-- complib-bundle.properties
|   |   |   `-- complib-config.xml
|   |   |-- poweredby-doc.zip
|   |   |-- poweredby-dt.jar
|   |   |-- poweredby-src.zip
|   |   |-- poweredby.jar
|   |   `-- shale-remoting.jar
|   `-- ui.complib13405
|       |-- META-INF
|       |   |-- MANIFEST.MF
|       |   |-- complib-bundle.properties
|       |   `-- complib-config.xml
|       |-- shale-remoting.jar
|       |-- ui-doc.zip
|       |-- ui-dt.jar
|       |-- ui-src.zip
|       `-- ui.jar
|-- config
|   |-- 2_1
|   |   `-- context.xml
|   |-- Toolbox
|   |   |-- clips
|   |   |   `-- snippets.xml
|   |   `-- components
|   |       `-- components.xml
|   `-- org-netbeans-api-project-libraries
|       |-- Libraries
|       |   |-- LeopardComplibProject1_Design-time_BluePrints_AJAX_Components.xml
|       |   |-- LeopardComplibProject1_Runtime_BluePrints_AJAX_Components.xml
|       |   |-- LeopardComplibProject2_Design-time_BluePrints_AJAX_Components.xml
|       |   |-- LeopardComplibProject2_Design-time_Powered_By_Components.xml
|       |   |-- LeopardComplibProject2_Runtime_BluePrints_AJAX_Components.xml
|       |   `-- LeopardComplibProject2_Runtime_Powered_By_Components.xml
|       `-- libraries-timestamps.properties
Comment 7 dpavlica 2007-04-15 22:50:30 UTC
My comments are below:

>2.  For M10: need input from HIE on what should be imported based on the NB 4.1
>    settings list below in addition to #1 above:
>
>   * Window layout. Example: If the projects window is moved to the
>     upper left corner, it will remain in the upper left corner after
>     the migration from Creator to NB 6.0. (Dusan: No since the window layout
>     in NB 6.0 is totally different from Creator 2)
>   * IDE Options Settings:
      - font size and color

Dusan: I checked Creator2 Update1 and NB6.0 and font size and colors seem to be 
the same, so it shouldn't be imported. Plus there is new spec for default font 
and colors being prepared.

      - browsers (Dusan: NB6.0 might set up the default browser 
automatically...)

Dusan: If some browser settings are empty in NB (there are more of them in 
Options), then they could be taken from Creator settings.

      - search settings (Dusan: No since the Find dialog in NB6.0 is redesigned)

Dusan: Here is the spec: 
http://ui.netbeans.org/docs/ui/FindInProjects/index.html

>   * All Toolbox clips (code clips) and components (not sure if users can add
>     clips/components, but if they can   (Chau: is checking on this)
>   * Proxies(Chau: OK for migration if possible)
>     used in Autoupdate, CVS, VCS, WebServices, etc...
Comment 8 Ch Nguyen 2007-04-30 21:24:10 UTC
Only a partial of this task was done in M9 (see the issues that this task
depends on).  The rest, which includes these additionals: migration when
multiple user dirs exist on the system and migration from 5.5.1.
Comment 9 John Baker 2007-06-16 06:35:43 UTC
Feature completed.
Note, the migrated folder is now in the config folder instead.  User can copy context.xml to this
folder and driver to $userdir/jdbc-drivers/*

latest integration:
Checking in
visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/naming/DatabaseSettingsImporter.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/naming/DatabaseSettingsImporter.java,v
 <--  DatabaseSettingsImpor
ter.java
new revision: 1.16; previous revision: 1.15
done
Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/ui/WaitForUpdatePanel.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/ui/WaitForUpdatePanel.java,v  <-- 
WaitForUpdatePanel.java
new revision: 1.3; previous revision: 1.2
done
Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/ImportDataSource.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/ImportDataSource.java,v  <-- 
ImportDataSource.java
new revision: 1.9; previous revision: 1.8
done