In Defold 2, how can I build HTML5? [SOLVED]

I’m using MacOS 10.11.1.

I created a tutorial project.

I built Mac executable and played okay.

When I built HTML5, I received a build error:

Line 0: java.net.MalformedURLException: no !/ in spec

Here is a screenshot:

I had no problem building HTML5 in Defold 1.

I’m not sure this is a bug, yet it felt like one.

Build to HTML5 was a very recently added feature in Editor 2. It could be that it is broken… :frowning: @Ragnar_Svensson, @Erik_Angelin?

Oops, this is my bad… is there an exclamation mark in your project title? I bet I failed at escaping things properly.

I really can’t repro this, it does not seem like an escaping issue. Do you mind reporting an issue for this (Help > Report Issue in the editor) so we can track it easier?

I have the same problem with Editor 2.Tried with a fresh created project as well.

All is fine in Editor 1

Same issue. I’m on PC and when i try it an error box pops up saying


java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\natef\Documents\Video%20Game%20Design\Defold\packages\defold-88be500521808b73e9474915d8cdaa830137d467.jar (The system cannot find the path specified)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\natef\Documents\Video%20Game%20Design\Defold\packages\defold-88be500521808b73e9474915d8cdaa830137d467.jar (The system cannot find the path specified)
java.io.FileNotFoundException: C:\Users\natef\Documents\Video%20Game%20Design\Defold\packages\defold-88be500521808b73e9474915d8cdaa830137d467.jar (The system cannot find the path specified)


Then it gives me the option to dismiss or report.

1 Like

Hmm, not sure about this one, @Erik_Angelin, @Ragnar_Dahlen, do you know more or have any news around this?

2 Likes

Hi!
We’re working on a related issue, but if you haven’t already reported this - please do so and we’ll follow up!
Thanks!

2 Likes

Same issue using PC, Windows10 and Defold 1.2.100 - using Build HTML5 option.
An error occurred:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.FileNotFoundException: D:\Game%20Engines\Defold\packages\defold-828f3490b76018594614a4c47eaaf6cb559f3bc2.jar (The system cannot find the path specified)
java.lang.RuntimeException: java.io.FileNotFoundException: D:\Game%20Engines\Defold\packages\defold-828f3490b76018594614a4c47eaaf6cb559f3bc2.jar (The system cannot find the path specified)
java.io.FileNotFoundException: D:\Game%20Engines\Defold\packages\defold-828f3490b76018594614a4c47eaaf6cb559f3bc2.jar (The system cannot find the path specified)

2 Likes

Both these reported issues have been fixed now, sorry for the delay!

4 Likes