thomasahle / TrinityProject

A mindblowing trainbased game for entire family
http://thomasahle.github.com/TrinityProject/
GNU General Public License v3.0
8 stars 3 forks source link

HTML doesn't run #25

Closed thomasahle closed 12 years ago

thomasahle commented 12 years ago

When I run mvn test -Ptest-html I get the following error:

WARNING: Failed startup of context o.m.j.p.JettyWebAppContext{/,null},/home/thomas/Kode/workspace/trainbox/html/target/trainbox-html-0.0.1-SNAPSHOT
java.io.FileNotFoundException: /home/thomas/Kode/workspace/trainbox/html/target/trainbox-html-0.0.1-SNAPSHOT
EdShaw commented 12 years ago

I've been running the html builds through ant and it seems to download all the gwt dependencies for you.

Can you try ant run-html ?

thomasahle commented 12 years ago

Hm, $ ant run-html gives me:

...
BUILD FAILED
/home/thomas/Kode/workspace/trainbox/build.xml:36: Problem: failed to create task or type urn:maven-artifact-ant:pom
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

I assume you never got any of this. I did add a dependency for junit to my pom.xml file. Is that in yours as well?

As a side comment, how about uploading the html you build to our website?

thomasahle commented 12 years ago

I deleted ~/.m2/ant-support/maven-ant-tasks-2.1.3.jar which was corrupt, and now it compiled perfectly. Looks so much better in html as well!

EdShaw commented 12 years ago

<3 Antialiasing

thomasahle commented 12 years ago

Yup. Though apparently we should be able to some how enable it in the java version as well.