[jboss-user] [JBoss Tools] Document updated/added: "HowToBuildJBossTools"

Max Andersen do-not-reply at jboss.com
Wed Jan 20 04:43:25 EST 2010


User development,

The document "HowToBuildJBossTools", was updated Jan 20, 2010
by Max Andersen.

To view the document, visit:
http://community.jboss.org/docs/DOC-9918#cf

Document:
--------------------------------------------------------------
h2. Introduction
 
Checking out and building JBoss Tools with Eclipse is probably much easier than you think. Read on to see the details.
 
Note: external plugins like jbpm and drools exists in these projects repositories. These instructions are for the primary jboss tools plugin set.
 
Please see the http://community.jboss.org/docs/DOC-12852.
 
h2. Get the source
 
The easiest is to just checkout the complete trunk/branch/tag of JBoss Tools you are interested in via command line or your favorite svn client. Using Eclipse to do it is cumbersome since you have to checkout each module individually.
 
To get committer trunk:
 
svn co https://svn.jboss.org/repos/jbosstools/trunk
 
To get anonymous trunk (readonly mirror):
 
svn co http://anonsvn.jboss.org/repos/jbosstools/trunk
 
 
 
h2. Get Eclipse SDK
 
If you do not already have it download Eclipse SDK 3.3 and Webtools 2.0 from
http://www.eclipse.org. SDK is important since otherwise you do not have the PDE plugins which is needed for plugin development.
 
The easiest is to get Eclipse JEE which is a full SDK bundle with the required plugins.
 
h2. Get XULRunner
 
XULRunner is required for the Visual Page Editor (vpe) components.
 
Get org.mozilla.xpcom_1.8.1.3-20070904.jar from http://ftp.mozilla.org/pub/xulrunner/releases/1.8.1.3/contrib/eclipse together with the OS specific org.mozilla.xulrunner binary.
 
These two jars need to be unzipped as directories into your eclipse plugins directory. e.g. org.mozilla.xpcom_1.8.1.3-20070904.jar should be unzipped into eclipse/plugins/org.mozilla.xpcom_1.8.1.3-20070904.
Otherwise you will have compilation errors when import the JBoss Tools project.
 
h2. Start Eclipse
 
To be sure Eclipse picks up changes in the plugins directory start eclipse with the -clean command line argument, e.g. eclipse -clean.
 
Adding -debug can also help since you will get information about which plugins that could not load.
 
h2. Import JBoss Tools
 
*File > Import > Existing projects into workspace*
 
Set "Select root directory" to the root directory of where you have checked out JBoss Tools.
 
The Projects lists should now be filled up and you can press Finish to get all of the projects in one simple operation.
 
When the import is done it will take some time before Eclipse have build all the projects. Be patient 
 
Tip: If there are some plugins with errors and they are from a directory named "legacy" then just remove them since they are not relevant for JBoss Tools functionallity.
 
h2. Run it
 
Now you should be able to select a plugin project and click *Run As ... > Eclipse Application* and you will have an Eclipse with JBoss Tools plugins loaded and ready to be modified as you please.
 
h2. Contribute patches
 
If you fix or add something useful create a patch for each of the affected plugins (or use svn command line to do it for the whole trunk) by right clicking on the plugins and choose *Team > Create* patch.
 
If you do not have a *Team > Create patch* available then it is because you do not have an SVN plugin or have not yet enabled svn for the project.
 
The generated patches you can submit to our http://jira.jboss.org/JBIDE.

--------------------------------------------------------------




More information about the jboss-user mailing list