libgdx/libgdx-maven-archetype — pull request #1 by born2snipe (2012-12-27 04:32:22+00:00)
Title: html archetype asset path

updated the gwt module file to use maven's resource filtering to figure out the the paths to the resources so the root directory will not be based on what folder you open your project in the IDE

When testing this solution out I found that when the PreloaderBundleGenerator executes it appears it has a problem with the String replacement due to Window slashes.

Example:
gdx.assetoutputpath=C:\test\target

actual 'assets.txt':
d:C:/test/target/
i:C:/test/target//libgdx-logo.png

expected 'assets.txt':
d:C:/test/target
i:libgdx-logo.png

I tested out hardcoding the paths in my gwt module's xml file to have UNIX slashes and the assets.txt look correct and running "gwt:run" and viewing the page in the browser worked.

Sorry, I did not take the time to attempt to make the fix in libgdx-gwt. If you have any questions or concerns let me know.