Before we start with with blank project creation, you might consider to set up development environment.
Presuming that you have Maven installed, navigate to the workspace root directory and execute the following command.
mvn archetype:generate -DarchetypeCatalog=http://repository.jibesolutions.net/
and follow steps described bellow
- On archetype selection step, select org.jibeframework.quickstart-archetype
- For the value of groupId, you might enter org.jibeframework or your own domain
- For the value of artifactId which will become the name of newly created project you might use the following convention <domain>.<name>. For example org.jibeframework.core or org.jibeframework.contentmanager
- For the version, you can accept default value, and press enter
- For the package, accept default value, or enter your own domain name.
Created project has the following structure
${artifactId}
/src
/main
/java
/resources
/config
/context
/css
/messages
/scripts
/template
/module-context.xml
/module.properties
/test
/build.xml
/pom.xml| Folder or file | Description |
| ${artifactId} | Project folder with project name |
| /src/main/java | This is where you put your Java source files |
| /src/main/resources/ | This is where you put your resources |
| /src/main/resources/config | This is where you put your jibe configuration files |
| /src/main/resources/context | This is where you put your spring configuration files |
| /src/main/resources/css | This is where you put your stylesheet files. All css files in this directory will be merged and served on the first request |
| /src/main/resources/messages | This is where you put your message bundles |
| /src/main/resources/scripts | This is where you put your JavaScript files |
| /src/main/resources/template | This is where you put your freemarker template files |
| /src/main/resources/module-context.xml | This is spring configuration file which includes all spring config files from /config directory |
| /src/main/resources/module.properties | This is Alfresco specific module file |
After the empty project is created, you can import it into Eclipse.