-
Notifications
You must be signed in to change notification settings - Fork 13
Development
Markus Rathgeb edited this page Jun 16, 2015
·
6 revisions
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 projectruntime
- 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:
- Install the Java Code formatter definition parent/settings/eclipse_formatter.xml
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)