Skip to content

IDE Core Develop

Chris Georgoulis edited this page Dec 24, 2013 · 18 revisions

System Requirements

The requirements for this project is Java 7.0 (Java SDK 1.7) or higher, Maven 3.0 or higher. The application this project produces is designed to be run on JBoss Enterprise Application Platform 6 or JBoss AS 7.1.

Download

To download the IDE source code, use your favourite git client and pull the code from one of the following links:

  • HTTPS: https://github.com/OpenIotOrg/openiot.git
  • SSH: [email protected]:OpenIotOrg/openiot.git

The Core IDE module is available under the openiot/ui/ide/ide.core/ folder

Deploy From the Source Code

If you have not yet done so, you must configure Maven before testing the IDE Core deployment. After that:

Start the JBoss

Start the JBoss Enterprise Application Platform 6 or JBoss AS 7.1 with the Web Profile

  1. Open a command line and navigate to the root of the JBoss server directory.
  2. The following shows the command line to start the server with the web profile:
    • For Linux: JBOSS_HOME/bin/standalone.sh
    • For Windows: JBOSS_HOME\bin\standalone.bat

Build and deploy the IDE Core

NOTE: The following build command assumes that you have configured your Maven user settings. If you have not, you must include Maven setting arguments in the command line.

  1. Make sure you have started the JBoss Server as described above.
  2. Open a command line terminal and navigate to the root directory of the IDE project containing the pom.xml.
  3. Type this command to build and deploy the archive: mvn clean package jboss-as:deploy
  4. This will deploy target/ide.core.war to the running instance of the server.

Access the application

The application will be running at the following URL: http://localhost:8080/ide.core/

Undeploy the archive

  1. Make sure you have started the JBoss Server as described above.
  2. Open a command line terminal and navigate to the root directory of the ide.core project.
  3. When you are finished testing, type this command to undeploy the archive: mvn jboss-as:undeploy

Run in Eclipse

You can start the JBoss Application Server and deploy the IDE from Eclipse using JBoss Tools or the integrated JBoss Developer Studio. Detailed instructions on how to integrate and start JBoss AS from Eclipse with JBoss Tools, are available here.

Clone this wiki locally