Skip to content

Commit

Permalink
Reorder GdxDefinition.gwt.xml; order matters!
Browse files Browse the repository at this point in the history
Thanks zskamljic for putting up with this mistake of mine and @lyze237 for finding a good fix!
  • Loading branch information
tommyettinger committed Dec 31, 2024
1 parent ae8b234 commit 020faa1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/main/kotlin/gdx/liftoff/data/platforms/GWT.kt
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,24 @@ ${(project.reflectedClasses + project.reflectedPackages).joinToString(separator
<!-- Paths to source are relative to this file and separated by slashes ('/'). -->
<source path="" />
<!-- "Inherits" lines are how GWT knows where to look for code and configuration in other projects or libraries. -->
${project.gwtInherits.sortedWith(INHERIT_COMPARATOR).joinToString(separator = "\n") { " <inherits name=\"$it\" />" }}
<!-- You must change this if you rename packages later, or rename GwtLauncher. -->
<entry-point class="${project.basic.rootPackage}.gwt.GwtLauncher" />
<!-- Reflection includes may be needed for your code or library code. Each value is separated by periods ('.'). -->
<!-- You can include a full package by not including the name of a type at the end. -->
<!-- This is a feature of libGDX, so these lines go after the above "inherits" that brings in libGDX. -->
<!-- <extend-configuration-property name="gdx.reflect.include" value="fully.qualified.TypeName" /> -->
<!-- Rarely, projects may need to include files but do not have access to the complete assets. -->
<!-- This happens for libraries and shared projects, typically, and the configuration goes in that project. -->
<!-- The value is a path, separated by forward slashes, where the root is your html project's resources root. -->
<!-- You can include individual files like this, and access them with Gdx.files.classpath("path/to/file.png") : -->
<!-- This is also a feature of libGDX, so these lines go after the above "inherits" that brings in libGDX. -->
<!-- <extend-configuration-property name="gdx.files.classpath" value="path/to/file.png" /> -->
<!-- "Inherits" lines are how GWT knows where to look for code and configuration in other projects or libraries. -->
${project.gwtInherits.sortedWith(INHERIT_COMPARATOR).joinToString(separator = "\n") { " <inherits name=\"$it\" />" }}
<!-- You must change this if you rename packages later, or rename GwtLauncher. -->
<entry-point class="${project.basic.rootPackage}.gwt.GwtLauncher" />
<!-- You usually won't need to make changes to the rest of this. -->
<set-configuration-property name="gdx.assetpath" value="../assets" />
<set-configuration-property name="xsiframe.failIfScriptTag" value="FALSE"/>
Expand Down

0 comments on commit 020faa1

Please sign in to comment.