Make sure you have checked out the majas-tutorial directory, as was explained in the previous page before continuing here. At this stage, all you have is a directory structure with some SVN information in it. We will now use Maven to create an Eclipse Dynamic Web Project out of it.
You'll need maven version 2.0.9 or above. See the Apache Maven site for more information. We use a maven JAXB plugin that is not yet officially released. You can download it from the Glassfish JAXB project site. That site contains also a lot of information on how to install and use the plugin.
Maven is usually executed from the prompt, so open your prompt (explained for windows here), and go to the directory where you have checked out the majas-tutorial directory. Then use the install plugin like this:
$ mvn install
Create the Eclipse project
To create an Eclipse project, we also use maven. This time, run the Eclipse plugin like this:
$ mvn eclipse:eclipse
Note: if in the previous page, you checked out all directories (source included), you have to run the Eclipse plugin with another profile then the default. This to make sure that the majas-core and majas-js are actually used as depended projects in Eclipse:
$ mvn eclipse:eclipse -P dev-all
Next, that depends on whether or not the majas-tutorial directory is still showing in your Eclipse, in the Java EE perspective. If it is, simply refresh it, if not, import it as a new project:
In Eclipse use:File-> Import ... \-> General/Existing Projects into Workspace