PhaserEditor
PhaserEditor copied to clipboard
Build Guide Does Not Work For 963 Reasons
Just followed this guide to the T and got 963 errors (although I think all of the "javascript" errors can be ignored). I should note I did not have Java, Eclipse, or any other of the dependances installed before putting this all together. I am using Eclipse Oxygen EE 2018 release and Java 8 (jdk-8u181).
(I attached all the errors in txt and html versions, view whichever you prefer)
Here is a picture of the failure message when I try to run the .product file.
Any ideas what's going on or what I'm missing? I've tried adding JRE-SE 10 to my library list which eliminates the 3 of 6 build path errors, but the same failures happen.
Hi, I have to update this guide, I keep you updated.
@Slight0 Are you trying to compile v1 or v2?
Couldn't build PhaserEditor Version 1.5.3 on Mac OS X :( Eclipse Oxygen 3 and Java 10.0.2
Here is a picture of the failure message when I try to run the .product file.
Hi, v1.5.3 requires Java 8. Please try with it first.
Hi, v1.5.3 requires Java 8. Please try with it first.
Hi! After reinstall JDK to java version "1.8.0_191" i've got new errors :(
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.wst.jsdt.web.ui [334]
Unresolved requirement: Require-Bundle: org.eclipse.wst.jsdt.web.core; bundle-version="[1.0.300,2.0.0)"
-> Bundle-SymbolicName: org.eclipse.wst.jsdt.web.core; bundle-version="1.0.901.v201707142218"; singleton:="true"
org.eclipse.wst.jsdt.web.core [328]
Unresolved requirement: Require-Bundle: org.eclipse.wst.jsdt.core; bundle-version="[2.0.0,3.0.0)"
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.wst.web.ui [330]
Unresolved requirement: Require-Bundle: org.eclipse.wst.jsdt.ui; bundle-version="[2.0.0,3.0.0)"
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.wst.jsdt.web.core [328]
Unresolved requirement: Require-Bundle: org.eclipse.wst.jsdt.core; bundle-version="[2.0.0,3.0.0)"
"build\wst_deps" contains: org.eclipse.wst.jsdt.web.core_1.0.800.v201505130300.jar org.eclipse.wst.jsdt.web.ui_1.0.800.v201403271809.jar
Thank you for help!:)
Ok, if it compiles well we are in a good path. Let me check the WST dependencies in my local repo.
Hi,
I think you are including other WST plugins with a recent version. Please, go to the Target Platform you are using and check the versions of WST you are using. This is a picture of what I am using locally:
By the way, just to confirm. Do you have any compilation error?
Thanks. I disabled other WST plugins with higher version and commented lines 41 and 46 in PhaserIDE2.java (LicCore.PRODUCT_VERSION and LicCore.startMonitor()) and now it compiles with errors. Errors arise because of undefined methods in LicCore and other missing libs like:
javafx.embed.swt.FXCanvas
phasereditor.ui.BaseImageCanvas
phasereditor.ui.ICanvasCellRenderer
org.eclipse.core.resources.IFile
org.eclipse.lsp4j.SymbolInformation
phasereditor.inspect.core.jsdoc.IJsdocProvider
org.pushingpixels.*
Maybe you can add the missing methods to LicCore, but keep them empty, and do a pull request, so others can use that working version.
I think you are merging plugins of v1 with v2. Just remove from the workspace the plugins under the v2 folder.
Hello ! Thank you for all but there is some bundle version issues during my build of the editor. I imported org.eclipse.jgit but it doesn't work, i can't manually find org.eclipse.jgit.transport.sshd even if i think it comes with org.eclipse.jgit.ssh
Hi @Al3xCalibur
These are the jgit plugins I have in my local Target Platform:
I have to write a new Build Guide. I found a simplest way to create the Target Platform, by using a Phaser Editor binaries as plugins folder, but right now I am too busy working on release v2 of the editor, I have a week of delay on it.