Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Guide Does Not Work For 963 Reasons #81

Open
Slight0 opened this issue Jul 27, 2018 · 13 comments
Open

Build Guide Does Not Work For 963 Reasons #81

Slight0 opened this issue Jul 27, 2018 · 13 comments

Comments

@Slight0
Copy link

Slight0 commented Jul 27, 2018

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)

PhaserEditorBuildIssues.zip

Here is a picture of the failure message when I try to run the .product file.

afewerrors

afewmoreerrors

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.

@PhaserEditor2D
Copy link
Owner

Hi, I have to update this guide, I keep you updated.

@PhaserEditor2D
Copy link
Owner

@Slight0 Are you trying to compile v1 or v2?

@RANUX
Copy link

RANUX commented Dec 20, 2018

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.
screen shot 2018-12-21 at 00 13 01

@PhaserEditor2D
Copy link
Owner

Hi, v1.5.3 requires Java 8. Please try with it first.

@RANUX
Copy link

RANUX commented Dec 23, 2018

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

untitled-1

Thank you for help!:)

@PhaserEditor2D
Copy link
Owner

Ok, if it compiles well we are in a good path. Let me check the WST dependencies in my local repo.

@PhaserEditor2D
Copy link
Owner

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:

image

@PhaserEditor2D
Copy link
Owner

By the way, just to confirm. Do you have any compilation error?

@RANUX
Copy link

RANUX commented Dec 27, 2018

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.*

@PhaserEditor2D
Copy link
Owner

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.

@Al3xCalibur
Copy link

image

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

@PhaserEditor2D
Copy link
Owner

Hi @Al3xCalibur

These are the jgit plugins I have in my local Target Platform:

image

@PhaserEditor2D
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants