Nuxeo IDE

Any tools integrated in Eclipse IDE (at the moment) that would help developing on top of Nuxeo platform.

Today, it consists of

  • Webengine tools for hot reload
  • Wizards to create new projects
Any help and contributions are welcome to improve this tools. We will first see how to installed Nuxeo IDE from an update site, what are the main features, and how to use it. Then in a second part, we will see how to get the latest sources, what are the main components and how to debug nuxeo ide with eclipse.

Install and use it.

Requirements:

  • Eclipse Ganymede

Install from the update site

Launch Eclipse. From the Software updates wizard ( Help -> Software Updates … ) Add a new update site and enter the following site. http://download.nuxeo.org/nuxeo-ide/updates/snapshots/

You should have a new update site available. Select both feature "Archetype Feature" and "Nuxeo IDE Webengine Feature" and click "Install" on the top right.

After having restarted, Nuxeo IDE should be installed.

Create a new Webengine project

File > New > WebEngine project After creation, you'll need to run from the command line "mvn eclipse:eclipse" or right click on the project and update your project configuration if you are using m2eclipse.

Debuging the webengine project

Display the eclipse view "WebEngine Server" (Menu Window -> show view -> Nuxeo IDE -> "Webengine) All your webengine project should be shown in this view. (If your project is not in the list, you can add it by right clicking on the project and select Nuxeo Tools > add Webengine nature. Refresh the view and the project should have been added to the project)

Configure where nuxeo-webengine (based on glassfish or jetty) is located with the "Server configuration" in the view toolbar. Select the webengine project you want to debug (make sure that the project jar is not also deploy in the server otherwise it will be loaded twice) and click on "Debug" in the same toolbar.

Once the server has been started, you should be able to make hot modification on ftl files and java files. ("Menu -> Project -> Build Automatically" should be activated)

Improve Nuxeo IDE

Nuxeo IDE needs to be improved. Requirements:

  • Eclipse Ganymede (For RCP Developments)
Get the sources from using the command: hg clone https://hg.nuxeo.org/tools/nuxeo-ide/

Update default archetype templates

An archetype template is composed of a xml file "archetype.xml" that describes the variables that are going to be used by the project creator. All the resources describe there will have the strings ${variable_name} replace with what have been set by the user through the wizard form. Any var in this file will shown as a field in the form. Webengine archetype can be find in org.nuxeo.ide.webengine/archetypes

Debug Nuxeo IDE from Eclipse

In Eclipse Menu, File -> Import -> Existing projects into Workspace, and select the cloned nuxeo-ide folder. Once imported, you can launch an eclipse with Nuxeo IDE projects in debug mode from eclipse menu: "Run -> Debug Configurations", double click on "Eclipse Application" and Debug it (rename it if you like, the default configuration should include the "plugins" projects in the workspace). Another Eclipse should be launching.

Nuxeo IDE projects

Here are the projects that are available:

  • org.nuxeo.ide.archetype: provides main APIs for manipulating parsing and create project from archetypes template
  • org.nuxeo.ide.archetype.ui: provides UI to create projects using Eclipse wizards and archetypes templates
  • org.nuxeo.ide.webengine: provides archetypes templates for webengine and the tools to debug a webengine project
  • org.skinsoft.nuxeo.ide projects provide uml based code and configuration generation tools and have not been packaged yet in the default Nuxeo-IDE update-site.
Version 16.1 last modified by Sun Seng David Tan on 03/06/2009 at 12:45

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: Sun Seng David Tan on 2009/06/02 17:59
© 2008-2010 Nuxeo
1.3.8295