It took me a while to get it running and thought I would share the
same.
My configuration is jdk1.6, tomcat6, eclipse helios JavaEE.
- git clone git://
github.com/intalio/wapama.git wapama. This
will get the project and inside that designer folder will be there.
- Move pom.xml to /designer.
- Uncomment the tomcat relevant commented xml in web.xml.
- In EditorHandler.java:265 I add *if(cookies != null)* then
execute the for loop over cookies Otherwise it throws nullpointer
exception.
- In wapama in *designer/src/main/webapp/js/Core/main.js*. I
added if(window.frameElement != null). In my system
window.frameElement is always null. If I run the designer separately.
- cd designer. Used maven to compile, and build eclipse
project.
- Import in eclipse. It creates a JDK5 project. So I change
that to jdk6 in build path, otherwise several '@Override' annotations
will throw errors. It does not create wtp project properly even if i
give, `mvn -Dwtpversion=2.0 eclipse:eclipse` in maven. I am not very
famalier with maven.
- The urls for include scripts are always `/designer/...` .
So I need to always change the context-root of my web-project to
`designer`. I dont know an easier way to do it. So I go and edit the
eclipse settings file /designer/.settings/
org.eclipse.wst.common.component.
- Add -Ddesigner.dev=true -Dfile.encoding=UTF-8 in run-
configurations/arguments tab of eclipse.
- Deploy it and point your browser to
http://localhost:8182/designer/editor?profile=default. The repository
gets created in application context root/repository folder.