Defold Editor 2.0

I changed my .ini file to remove “-vm jre\bin” - looking under ‘About Defold’ it seems like it’s still using 1.8.0_05 for some reason. Does Windows have some sort of cache for .ini files that should clear?

Edit: it looks like I just had an invalid ini file. I tried to use a 64 bit JRE and that didn’t work. WIth a 32 bit (8u102) JRE, I got this log dump:

!SESSION 2016-07-23 23:00:47.746 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_102
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2 0 2016-07-23 23:00:49.431
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.431
!MESSAGE Bundle initial@reference:file:plugins/javax.media.opengl_1.1.1.201607121410/ was not resolved.
!SUBENTRY 2 javax.media.opengl 2 0 2016-07-23 23:00:49.431
!MESSAGE Missing native code match lib/osx/libgluegen-rt.jnilib; lib/osx/libjoal.jnilib; lib/osx/libjogl_cg.jnilib; lib/osx/libjogl_desktop.jnilib; lib/osx/libjogl_mobile.jnilib; lib/osx/libnativewindow_awt.jnilib; lib/osx/libnativewindow_macosx.jnilib; lib/osx/libnewt.jnilib; processor=x86; osname=mac os x, lib/osx/libgluegen-rt.jnilib; lib/osx/libjoal.jnilib; lib/osx/libjogl_cg.jnilib; lib/osx/libjogl_desktop.jnilib; lib/osx/libjogl_mobile.jnilib; lib/osx/libnativewindow_awt.jnilib; lib/osx/libnativewindow_macosx.jnilib; lib/osx/libnewt.jnilib; processor=x86-64; osname=mac os x, lib/linux/x86/libgluegen-rt.so; lib/linux/x86/libjoal.so; lib/linux/x86/libjocl.so; lib/linux/x86/libjogl_cg.so; lib/linux/x86/libjogl_desktop.so; lib/linux/x86/libjogl_mobile.so; lib/linux/x86/libnativewindow_awt.so; lib/linux/x86/libnativewindow_x11.so; lib/linux/x86/libnewt.so; processor=x86; osname=linux, lib/linux/x86-64/libgluegen-rt.so; lib/linux/x86-64/libjoal.so; lib/linux/x86-64/libjocl.so; lib/linux/x86-64/libjogl_cg.so; lib/linux/x86-64/libjogl_desktop.so; lib/linux/x86-64/libjogl_mobile.so; lib/linux/x86-64/libnativewindow_awt.so; lib/linux/x86-64/libnativewindow_x11.so; lib/linux/x86-64/libnewt.so; processor=x86-64; osname=linux, lib/win32/x86/gluegen-rt.dll; lib/win32/x86/joal.dll; lib/win32/x86/jocl.dll; lib/win32/x86/jogl_cg.dll; lib/win32/x86/jogl_desktop.dll; lib/win32/x86/jogl_mobile.dll; lib/win32/x86/nativewindow_awt.dll; lib/win32/x86/nativewindow_win32.dll; lib/win32/x86/newt.dll; processor=x86; osname=Win32, lib/win32/x86-64/gluegen-rt.dll; lib/win32/x86-64/joal.dll; lib/win32/x86-64/jocl.dll; lib/win32/x86-64/jogl_cg.dll; lib/win32/x86-64/jogl_desktop.dll; lib/win32/x86-64/jogl_mobile.dll; lib/win32/x86-64/nativewindow_awt.dll; lib/win32/x86-64/nativewindow_win32.dll; lib/win32/x86-64/newt.dll; processor=x86-64; osname=Win32.

!ENTRY org.eclipse.osgi 2 0 2016-07-23 23:00:49.437
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.437
!MESSAGE Bundle com.dynamo.cr.bob_1.0.0.201607121410 [1] was not resolved.
!SUBENTRY 2 com.dynamo.cr.bob 2 0 2016-07-23 23:00:49.437
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.437
!MESSAGE Bundle com.dynamo.cr.ddfeditor_1.0.0.201607121410 [7] was not resolved.
!SUBENTRY 2 com.dynamo.cr.ddfeditor 2 0 2016-07-23 23:00:49.437
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.ddfeditor 2 0 2016-07-23 23:00:49.437
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.ddfeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.ddfeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.editor_1.0.0.201607121410 [9] was not resolved.
!SUBENTRY 2 com.dynamo.cr.editor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.go_1.0.0.201607121410 [14] was not resolved.
!SUBENTRY 2 com.dynamo.cr.go 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.go 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.guied_1.0.0.201607121410 [15] was not resolved.
!SUBENTRY 2 com.dynamo.cr.guied 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.guied 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.guied 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.guied 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 2 com.dynamo.cr.guied 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing imported package com.dynamo.cr.tileeditor.scene_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.luaeditor_1.0.0.201607121410 [16] was not resolved.
!SUBENTRY 2 com.dynamo.cr.luaeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.luaeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.parted_1.0.0.201607121410 [17] was not resolved.
!SUBENTRY 2 com.dynamo.cr.parted 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.parted 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.parted 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.tileeditor_1.0.0.
!SUBENTRY 2 com.dynamo.cr.parted 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.parted 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.projed_1.0.0.201607121410 [18] was not resolved.
!SUBENTRY 2 com.dynamo.cr.projed 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.sceneed_1.0.0.201607121410 [22] was not resolved.
!SUBENTRY 2 com.dynamo.cr.sceneed 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.sceneed 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing imported package com.dynamo.bob.font_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.spine_1.0.0.201607121410 [23] was not resolved.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.tileeditor_1.0.0.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.spine 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.ddfeditor_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle com.dynamo.cr.tileeditor_1.0.0.201607121410 [25] was not resolved.
!SUBENTRY 2 com.dynamo.cr.tileeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle javax.media.opengl_1.1.1.
!SUBENTRY 2 com.dynamo.cr.tileeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.go_1.0.0.
!SUBENTRY 2 com.dynamo.cr.tileeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.sceneed_1.0.0.
!SUBENTRY 2 com.dynamo.cr.tileeditor 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing required bundle com.dynamo.cr.bob_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-07-23 23:00:49.438
!MESSAGE Bundle javax.media.opengl_1.1.1.201607121410 [33] was not resolved.
!SUBENTRY 2 javax.media.opengl 2 0 2016-07-23 23:00:49.438
!MESSAGE Missing native code match lib/osx/libgluegen-rt.jnilib; lib/osx/libjoal.jnilib; lib/osx/libjogl_cg.jnilib; lib/osx/libjogl_desktop.jnilib; lib/osx/libjogl_mobile.jnilib; lib/osx/libnativewindow_awt.jnilib; lib/osx/libnativewindow_macosx.jnilib; lib/osx/libnewt.jnilib; processor=x86; osname=mac os x, lib/osx/libgluegen-rt.jnilib; lib/osx/libjoal.jnilib; lib/osx/libjogl_cg.jnilib; lib/osx/libjogl_desktop.jnilib; lib/osx/libjogl_mobile.jnilib; lib/osx/libnativewindow_awt.jnilib; lib/osx/libnativewindow_macosx.jnilib; lib/osx/libnewt.jnilib; processor=x86-64; osname=mac os x, lib/linux/x86/libgluegen-rt.so; lib/linux/x86/libjoal.so; lib/linux/x86/libjocl.so; lib/linux/x86/libjogl_cg.so; lib/linux/x86/libjogl_desktop.so; lib/linux/x86/libjogl_mobile.so; lib/linux/x86/libnativewindow_awt.so; lib/linux/x86/libnativewindow_x11.so; lib/linux/x86/libnewt.so; processor=x86; osname=linux, lib/linux/x86-64/libgluegen-rt.so; lib/linux/x86-64/libjoal.so; lib/linux/x86-64/libjocl.so; lib/linux/x86-64/libjogl_cg.so; lib/linux/x86-64/libjogl_desktop.so; lib/linux/x86-64/libjogl_mobile.so; lib/linux/x86-64/libnativewindow_awt.so; lib/linux/x86-64/libnativewindow_x11.so; lib/linux/x86-64/libnewt.so; processor=x86-64; osname=linux, lib/win32/x86/gluegen-rt.dll; lib/win32/x86/joal.dll; lib/win32/x86/jocl.dll; lib/win32/x86/jogl_cg.dll; lib/win32/x86/jogl_desktop.dll; lib/win32/x86/jogl_mobile.dll; lib/win32/x86/nativewindow_awt.dll; lib/win32/x86/nativewindow_win32.dll; lib/win32/x86/newt.dll; processor=x86; osname=Win32, lib/win32/x86-64/gluegen-rt.dll; lib/win32/x86-64/joal.dll; lib/win32/x86-64/jocl.dll; lib/win32/x86-64/jogl_cg.dll; lib/win32/x86-64/jogl_desktop.dll; lib/win32/x86-64/jogl_mobile.dll; lib/win32/x86-64/nativewindow_awt.dll; lib/win32/x86-64/nativewindow_win32.dll; lib/win32/x86-64/newt.dll; processor=x86-64; osname=Win32.

!ENTRY org.eclipse.osgi 4 0 2016-07-23 23:00:49.442
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.dynamo.cr.editor.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error, org.eclipse.equinox.p2.garbagecollector.application.
	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
	at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

I’m not sure what to make of it - I’ll do some more digging tomorrow.

1 Like

We in fact had that error last thursday when trying to set up the engine dev env. on a Windows10. Turns out that the identifier for that platform in Eclipse/OSGI is different and mismatches, thereby giving you the list of confused native code libs. The fix was to add “Windows 10”/“Windows 8” as an entry next to “Win32” in a file which defines the libs. But I bet this is pre-build and not configurable in a bundled installation. :confused: For fun, you could search for a file containing one of the “Missing native code match” files in the log above, and see if you can add the entry there. The reason you are seeing this error with a later JRE could be something like this: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7170169 If you don’t feel like investigating more, we will fix this in time.

2 Likes

It looks like the issue is solvable post-build, someone fixed it by tinkering with the jar and some other madness here: Can't run Defold on my Server 2012 R2 machine (DEF-2105)

I got Defold to use 8u102 finally - unfortunately, the editor still refuses to recognize the DPI system settings and remains at a small scale. Is there some way to manually tell JavaFX to scale to a certain DPI setting?

3 Likes

Editor1 doesn’t use JavaFX at all (SWT instead), so it should still work for Editor2.

4 Likes

Oh, I thought Eclipse used JavaFX. That’s great, then there’s still hope!

3 Likes

#teaserfriday

This shows some error handling… A bit more WIP than the other teasers, so expect the visuals to improve a bit.

Here is also a run down of what’s left of essential features:

  • Tile map editor - roughly 40% done
  • Spine editor - roughly 60% done
  • Tile source editor - done, except collision group painting, anim previewing
  • Atlas editor - done, except anim previewing
  • Model rendering - fairly small to fix
  • Factory rendering - very small to fix
  • In-place editing - requires a bit of design and refactoring, but not too complicated
  • View filtering - settings for what to show in each type of asset, e.g. show gui in collection?

I hope we will plow through most of these during next week.

And to verify some form of working state before external early-alpha testing:

  • Run through all tutorials
  • Build and run all internal king Defold-games
  • Basically just use the editor for a while so there are no obvious show-stopper
  • Fix the bugs that surfaced

This would happen in two weeks.

These things will not be done for the early-alpha testing, but some time after (the old elditor can be used for it):

  • Texture profiles
  • Bundling
  • Uploading iOS dev app

There are also many other missing features that we got “for free” from the eclipse platform and other bits and pieces, but it seems like a good idea to let users test it so we can see which ones were actually useful to people.

13 Likes

Hooray! So external testing might begin in as soon as two weeks?

3 Likes

Bear in mind that all my estimates have been incredibly off during this whole project, so no promises! Realistically, there might be another month before it can start. I don’t believe so, but I have also been wrong a lot lately. :wink: But we are really trying to get it out as soon as possible and progress have been much faster now that the really tricky things have been solved.
An open question by the way: whenever we get there, we would need to have some means to track and follow up issues. This forum and google docs are out of the question. What about trello? What would be the easiest, what do people use now?

7 Likes

Trello good option. I am using trello for my projects - it’s really simple and full-featured service.

4 Likes

2.0 looking incredibly good! :thumbsup:

4 Likes

I like Trello, maybe not ideal for public issue tracking. For public roadmaps it is good though.

Roadmap example https://trello.com/b/gHooNW9I/ue4-roadmap

You could create an empty Bitbucket project, not use it for any actual project just use its issue tracking feature. Then we can submit (potential) issues, comment, post screenshots, and everyone can see how it’s going publicly. I’ve done this with one project and it worked great. I prefer Bitbucket over Github for work but Github’s issue tracking would be ok too.

https://confluence.atlassian.com/bitbucket/use-the-issue-tracker-221449750.html

4 Likes

Trello is really nice!

+1

3 Likes

Trello and github ir bitbucket bugtracker will be great :grin:

3 Likes

How about a built-in bugreporter that posts stuff e.g. to jira?
I guess this sounds like a fair bit of extra work, but then the community gets happier and you get more feedback or better quality =]

5 Likes

I’m completly in love with that😍

Is it lot of work too integreate ?

3 Likes

Maybe I overlooked, but what is this being built on? Are you using an editor framework? Just curious. Super nice looking, I can’t wait. :slight_smile:

2 Likes

Here is a talk Ragnar and Michael Nygard held about the editor last autumn:

6 Likes

@Ragnar_Svensson :scream: your beard almost gone!? That beard is your brand! :yum:

4 Likes

If I remember correctly the new editor will use clojure and javafx and the engine will remain in C.

4 Likes

What level of auto-completion are you planning for Editor 2.0?

I can see a few places where it would really help to have solid auto-complete (like when defining mask collisions)

2 Likes