Skip to content
Jens Reimann edited this page Jun 29, 2015 · 6 revisions

Eclipse Mars

While the installation instructions with Eclipse Luna should still be working with Eclipse Mars, there is a new setup way using Eclipse Oomph and the Eclipse Installer.

In the repository there is a file called de.dentrassi.pm.oomph/PackageDrone.setup which can be added to the Eclipse Oomph installer and automatically install an an Eclipse IDE, check out the source code, install all necessary plugins, import the projects and set up the target platform.

Eclipse Luna

In order to work on Package Drone you will need to:

  • Install Eclipse 4.4 (Luna)
  • If you installed the standard edition, you have to ensure that the feature "Eclipse Plug-in Development Environment" of the category "Eclipse Plugin Development Tools" is installed.
  • Clone https://github.com/ctron/package-drone
  • Import all projects using Eclipse Git
  • Run ant -f build.ant in project runtime
  • Open the file runtime/runtime.target
  • Press "Set as target platform" (upper right corner)
  • Launch "Jetty" from the "Run Configurations"

Additional steps when you want to edit code:

Note: The development on Windows is theoretically possible, unfortunately there is an error when accessing certain JSP files. We haven't found out yet what the cause is, so any help would be appreciated.

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: [24] in the generated java file: [C:\Users\jrose\AppData\Local\Temp\jetty-0.0.0.0-8080-de.dentrassi.osgi.web.servlet-_-any-8666370529661991822.dir\jsp\org\apache\jsp\bundle\_129\WEB_002dINF\views\channel\tree_jsp.java]
de.dentrassi.pm.storage.web.tags cannot be resolved to a type

An error occurred at line: [27] in the generated java file: [C:\Users\jrose\AppData\Local\Temp\jetty-0.0.0.0-8080-de.dentrassi.osgi.web.servlet-_-any-8666370529661991822.dir\jsp\org\apache\jsp\bundle\_129\WEB_002dINF\views\channel\tree_jsp.java]
de.dentrassi.pm.storage.web.tags cannot be resolved to a type

Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:446)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
Clone this wiki locally