Issue Details (XML | Word | Printable)

Key: DERBY-476
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Susan Cline
Reporter: Susan Cline
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Derby UI plug-in version 1.0.0 incompatible with Eclipse 3.1 M6 or higher

Created: 28/Jul/05 09:40 AM   Updated: 30/Sep/05 02:54 AM
Return to search
Component/s: Tools
Affects Version/s: None
Fix Version/s: 10.1.1.0, 10.1.2.1, 10.2.1.6

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works launch_patch.diff 2005-07-29 09:45 AM Susan Cline 5 kB

Resolution Date: 30/Sep/05 02:54 AM


 Description  « Hide
Per this email thread:

http://mail-archives.apache.org/mod_mbox/db-derby-user/200506.mbox/%3c20050606165347.40256.qmail@web81302.mail.yahoo.com%3e

The Derby UI plugin throws an exception when trying to start the Derby network server with Eclipse 3.1M6 or higher.

The fix for this is simple, and involves only changing a class name in 4 files per the email above. Eclipse 3.1 is now GA so this fix should be made to the UI plug-in which will allow it to work with the current release of Eclipse.

Also, by adding this fix the plug-ins will no longer work with 3.0.x through 3.1M5 builds of Eclipse.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Susan Cline added a comment - 29/Jul/05 09:45 AM
The attached patch does two things:

1) Allows the Derby UI plug-in to work with Eclipse 3.1M6 and higher. Since Eclipse 3.1 has been GA since the end of June the Derby plug-ins should work with the current release of Eclipse.

Note that with this patch there is no support to run the Derby plug-ins on Eclipse 3.1M5 or less.

Without applying this patch when any of the functionality of the Derby UI plug-in is invoked like starting the
Network Server, running ij, running sysinfo the following pop-up box appears (this example is for the Network Server):

"Error starting Derby Network Server :
  Plugin org.apache.derby.ui was unable to load class
  org.apache.derby.ui.launch.StartDerbyServerLaunchConfigurationDelegate".

2) Update the version of the UI and Doc plugins to be 1.1.0 instead of 1.0.0.
      Since I'd like for these plug-ins to be released as zip files with the 10.1 release of Derby, and the 10.1 Derby core plug-in,
      I updated the version of the plug-ins to be 1.1, to make it more obvious the 1.1 UI plug-in is compatible with the 10.1 Core plug-in.

Output from svn stat:

M plugins\eclipse\org.apache.derby.ui\src\org\apache\derby\ui\launch\StopDerbyServerLaunchConfigurationDelegate.java
M plugins\eclipse\org.apache.derby.ui\src\org\apache\derby\ui\launch\IJDerbyLaunchConfigurationDelegate.java
M plugins\eclipse\org.apache.derby.ui\src\org\apache\derby\ui\launch\StartDerbyServerLaunchConfigurationDelegate.java
M plugins\eclipse\org.apache.derby.ui\src\org\apache\derby\ui\launch\SysInfoDerbyLaunchConfigurationDelegate.java
M plugins\eclipse\org.apache.derby.ui\plugin.xml
M plugins\eclipse\org.apache.derby.plugin.doc\plugin.xml

Tests:

I built a new UI and doc zip file and performed all of the manual tests here on the plug-ins:

http://incubator.apache.org/derby/integrate/func_spec_plugins.html#Testing

I'd appreciate it is someone could review it, and if it looks okay, commit it.

Andrew McIntyre added a comment - 30/Jul/05 09:08 AM
Committed to trunk (revision 226443) and 10.1 (revision 226441).

Susan Cline added a comment - 26/Aug/05 04:03 AM
This patch has been applied for this and this bug should be closed.

Deepa Remesh added a comment - 30/Sep/05 02:54 AM
reopening to fix fix version