Bug #52079 Document how to set up IDE project for Cluster/J components
Submitted: 15 Mar 2010 21:51 Modified: 9 Aug 2019 21:45
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Documentation Severity:S3 (Non-critical)
Version:7.1.1 OS:Any
Assigned to: Daniel So CPU Architecture:Any

[15 Mar 2010 21:51] Todd Farmer
Description:
I cannot find any documentation on how to configure a project in Eclipse or NetBeans from the Cluster/J source.

How to repeat:
Try to set up project using source.

Suggested fix:
Provide detailed instructions on setting up a project in Eclipse and/or NetBeans for the various Cluster/J components.
[16 Mar 2010 6:33] Tonci Grgin
Wrong cat?
[16 Mar 2010 21:21] Jon Stephens
Corrected lead.

This is ultimately a documentation issue, but since I know nothing about the tools referenced and this info will have to come from devs, I've left the category as Tonci set it, and set Craig as assignee, so he'll be reminded to supply info. Once this has been done, category/status/lead/assignee should be changed to Docs/Verified/Stefan/me and I'll put the info supplied into the docs.

Thanks!
[22 Mar 2010 9:34] Bernd Ocklin
If I understand this correctly we rather refer to the manual pages of Eclipse and NetBeans respectively.
[22 Mar 2010 20:15] Craig Russell
Assuming that we ship the sources as they are checked into the mysql-5.1-telco-7.1 tree, the main piece of documentation is that the clusterj sources are maven 2 projects. 

First, download and activate the Maven plugins for your IDE.

Netbeans: 

Open the project via File: Open Project...
Navigate to storage/ndb/clusterj

Select all of the projects and press Open Project and the projects will be opened

Eclipse: 

import the project via File: Import...
Select an import source:
General
Maven Projects
Next >

Root Directory:
storage/ndb/clusterj

All the clusterj projects should be displayed. Choose Select All and the projects will be opened.
[22 Mar 2010 20:20] Craig Russell
I'd suggest getting a copy of Eclipse and Netbeans to go through the steps I've outlined. It can be tricky to document a multi-panel GUI process...
[9 Aug 2019 21:45] Daniel So
Posted by developer:
 
Improved on " Getting, Installing, and Setting Up MySQL NDB Cluster Connector for Java" (https://dev.mysql.com/doc/ndbapi/en/mccj-getting.html) by correcting some mistakes and adding the new sections "Building ClusterJ with Maven" ( https://dev.mysql.com/doc/ndbapi/en/mccj-getting.html) and "Building ClusterJ with Maven in IDEs" ( https://dev.mysql.com/doc/ndbapi/en/mccj-getting.html#mccj-building-maven-ides).