|Table of Contents|
Install Eclipse & Plugins
Eclipse Kepler (3.9)
As of July 9th 2013 Kepler based image is available on file server with same set of plugins as those installed for 3.7 with addition of
- JBoss Tools (for editing BPMN workflow definitions)
- Vaadin plugin
- JRebel plugin
After installing this bundle
- reconfigure location of checkstyle header files according to Checkstyle for Eclipse (In difference to the page i would recommend to just checkout
magnolia-build-toolsdirectly from svn and point header properties for ce and ee checkstyle configurations directly to those files).
- it might be also necessary to click "Apply" again on formatting configuration to get it being used by eclipse (pbly related to workspace config?). See more details at Eclipse setup
- I had some performance issues with Indigo and git reindexing which was the primary reason for making Kepler bundle. Those issues were not solved by installing Kepler but only by trashing the workspace and recreating it again ... do the same if in doubt.
- If you have any problems with Kepler bundle, please report them along w/ solution or workaround here.
Complete list of installed plugins:
Eclipse Indigo (3.7)
As of 4th April 2012 our SVN repository will be gradually migrated to GIT. The new Eclipse bundle is based on latest (as of April 2012) Indigo and also contains EGit plugin, an Eclipse Team provider for the Git version control system. For any question concerning Eclipse and Git integration, please read the EGit User guide.
A) Register taglib definitions in
web.xmland add the taglib definitions as follows. It is important to add them before
Code Block xml xml
<jsp-config> <taglib> <taglib-uri>cms-taglib</taglib-uri> <taglib-location>cms-taglib.tld</taglib-location> </taglib> <taglib> <taglib-uri>cms-util-taglib</taglib-uri> <taglib-location>cms-util-taglib.tld</taglib-location> </taglib> <taglib> <taglib-uri>cmsfn-taglib</taglib-uri> <taglib-location>cmsfn-taglib.tld</taglib-location> </taglib> <jsp-property-group> <url-pattern>*.jsp</url-pattern> <page-encoding>UTF-8</page-encoding> </jsp-property-group> </jsp-config>
- Copy the files to
B) Put minimal JARs into
Code Block none none
This generates a complete webapp in your
src/webappdirectory as opposed to
target/webapp-name-1.0-SNAPSHOT. This is an Eclipse specific workaround.
- Delete all JARs except the taglib JARs in
Minimize the taglib JAR
Code Block none none
zip -d magnolia-taglib-cms-4.1.1-SNAPSHOT.jar /info/* zip -d magnolia-taglib-utility-4.1.1-SNAPSHOT.jar /info/*
Solution 2: make the servlet-api dependency scope
<dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency>
Solution 3: make the gwt-user dependency scope
<dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <version>2.4.0</version> <scope>provided</scope> </dependency>
By default Ubuntu packagers are not supporting sun jdk. You have to add new software source:
deb http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric main