- From the Eclipse main menu select .
- Click Next.
- Make sure the catalog "Alfresco Archetypes 2.0", is selected in the drop down list.
- Enter org.alfresco into the Filter field.
- Select alfresco-allinone-archetype from the archetype list.
- Click Next.
- Enter a suitable Group Id, such as com.alfresco.tutorials.
- For the Artifact Id enter allinone-project.
The project will be created and will appear in the Eclipse Package Explorer. Notice the sub-projects that are created, such as share, runner, and solr.
You now need to create a Maven run configuration.
- Right-click the All in One project in the Package Explorer and select .
- Select Maven Build.
- Click the New launch configuration icon.
- In the Name field enter a name such as "All in One project".
- You now need to select the Base Directory. Click Browse Workspace... and navigate to the root of your All in One project.
- In the Goals field, enter install.
- In the Profiles field enter run.
- Now click the JRE tab, so you can enter some JVM options.
In the VM arguments box, enter some options to allocate
more memory to Alfresco, and also you will now use the path to Spring Loaded
that you noted down previously. The VM arguments box should contain the
following (please modify to reflect your own path to Spring Loaded):
-Xms1024m -Xmx4096m -XX:PermSize=1024m -javaagent:/Users/tbedford/Downloads/springloaded-1.2.0.RELEASE.jar -noverifyAttention: You need to change the path to Spring Loaded to reflect your system.
- Click Apply.
Click the Run button.
Your project will now run. After some time you will see INFO: Starting ProtocolHandler ["http-bio-8080"] displayed in the Console. This indicates that Alfresco is now running.