Version 42

    How to build JBoss-IDE

     

    Introduction

    Building is very simple if you follow the instructions carefully. Note that you need :

     

    • A JDK 1.4 or higher installed

    • The latest JBoss-IDE release installed in order to build the plugins from the source. This is because JBoss-IDE is built with JBoss-IDE.

     

    Workspace Structure of the JBoss-IDE plugin.

    The JBoss-IDE is made of the following Eclipse plugin projects :

     

    • feature

    • org.apache.xalan

    • org.jboss.ide.eclipse.core

    • org.jboss.ide.eclipse.deployer.core

    • org.jboss.ide.eclipse.deployer.ui

    • org.jboss.ide.eclipse.deployer.jdt.core

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.core

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.jsp.core

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.jsp.ui

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.xml.core

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.xml.ui

    • org.jboss.ide.eclipse.deployer.jdt.j2ee.ui

    • org.jboss.ide.eclipse.deployer.jdt.test.core

    • org.jboss.ide.eclipse.deployer.jdt.test.ui

    • org.jboss.ide.eclipse.deployer.jdt.ui

    • org.jboss.ide.eclipse.deployer.jdt.xml.core

    • org.jboss.ide.eclipse.deployer.jdt.xml.ui

    • org.jboss.ide.eclipse.deployer.jdt.ws.core

    • org.jboss.ide.eclipse.deployer.jdt.ws.ui

    • org.jboss.ide.eclipse.launcher.core

    • org.jboss.ide.eclipse.launcher.ui

    • org.jboss.ide.eclipse.packaging.core

    • org.jboss.ide.eclipse.packaging.ui

    • org.jboss.ide.eclipse.ui

    • org.jboss.ide.eclipse.xdoclet.assist

    • org.jboss.ide.eclipse.xdoclet.core

    • org.jboss.ide.eclipse.xdoclet.run

    • org.jboss.ide.eclipse.xdoclet.ui

    • site

     

    Import these JBoss-IDE Eclipse components into the workspace :

     

     

    Extra steps

    You need extra plugins to be installed and imported in the workspace for a proper compilation. They are :

     

    • org.eclipse.emf.common

    • org.eclipse.emf.ecore

    • org.eclipse.xsd

     

    These plugins can be obtained from the Eclipse EMF/SDO/XSD Project Update Site or by downloading the distributions.

     

    Building

    Here are the steps :

     

    • Open the feature plugin component project.

    • Right click on the feature.xml file and choose Create Ant Build File. This action regenerates every build.xml file in each of the plugin component projects.

      • Note : On Eclipse 3.0M7 or higher right click on the feature.xml file and select PDE Tools > Create Ant Build File.

    • Once this process completes then right click on the build.xml file and select Run As > Ant Build..., set the "build.update.jar", "build.jars" and "zip.distribution" targets. BE SURE to select all three targets in this order. The update jar and the binary distribution will be built from all the plugin component projects and put into the feature project.

     

     

    Result

    The file org.jboss.ide.eclipse_w.y.z.bin.dist.zip contains the results. To install, unzip it in your Eclipse installation.

     

    -


    Update of the website (Developers Only)

    A website is available for those who choose to install JBoss-IDE through the Install/Update feature of Eclipse. This website needs to be updated for each release.

     

    Update Site

    The main site project is used during the Eclipse install/update process.

    The site.xml file must be regenerated to include new feature. Old features must be kept, even if they are not available in development environment.

    The update site is located on the JBoss SourceForge website under the htdocs/jbosside/updates folder. The site.xml file, plugins, and features have to be uploaded. Don't forget to make a backup copy of the site.xml file to be able to quickly revert to the previous release.

     

    -


    Snapshots

    Daily snapshots are also available. You can find them here.

     

    -