Imeji install
Revision as of 13:37, 3 April 2012 by Jroeder (talk | contribs) (→Install sources: changed contact email address)
This page helps developer to work with Imeji.
Install sources[edit]
This chapter is intended for users running their own instance of Imeji and developers contributing to Imeji.
Prerequisites[edit]
Before downloading the sources please check:
- Your Java version. In command line, type "java -version". Imeji needs version 1.6 or above.
- Install Eclipse (Eclipse IDE for Java EE Developers)
- Download JBoss 4.2
- Install JBoss in Eclipse
- Install Maven
- Integrate Maven in Eclipse
Git[edit]
- Check out sources: https://github.com/MPDL/Imeji
- Create a directory for the Jena database (see next chapter to define it in properties)
Compile Imeji[edit]
- Import Imeji in Eclipse (Import as Maven project)
- Set credentials in your settings.xml (for actual values, please contact [1]):
<properties>
<jboss.install.dir>YOUR_JBOOS_PATH</jboss.install.dir>
<escidoc.framework_access.framework.url>YOUR_CORESERVICE_URL</escidoc.framework_access.framework.url>
<imeji.tdb.path>YOUR_JENA_DIRECTORY</imeji.tdb.path>
<imeji.sysadmin.email>admin_email</imeji.sysadmin.email>
<imeji.sysadmin.password>a_password</imeji.sysadmin.password>
<imeji.escidoc.user>an_escidoc_user</imeji.escidoc.user>
<imeji.escidoc.password>a_password</imeji.escidoc.password>
<framework.admin.username>coreservice_admin_login</framework.admin.username>
<framework.admin.password>password</framework.admin.password>
<imeji.email.server.smtp>YOUR_MAILSERVER</imeji.email.server.smtp>
<imeji.email.user>mailserver_user</imeji.email.user>
<imeji.email.password>mailserver_pwd</imeji.email.password>
<imeji.email.auth>true/false</imeji.email.auth>
<imeji.email.sender>sender_adress</imeji.email.sender>
</properties>
- Check properties in "meta" pom.xml
- Attention: Some properties are related to the coreservice. If you install your own coreservice, you will have to adapt it. If you need help, contact [2]
- Compile presentation : clean install
- Compile ear: clean install jboss:harddeploy
- Start your server
- Imeji is available at http://localhost:8080/faces/