Issue Type: Improvement Improvement
Affects Versions: 2.5.1
Assignee: Unassigned
Created: 10/Apr/13 10:05 AM
Description:

Using sample created by

http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html

I had moved

src/main/webapp/module1.css

to

src/main/resources

to test http://mojo.codehaus.org/gwt-maven-plugin/user-guide/css-interface-generator.html

Caused this non-descript error:

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:css (default) on project archetype-test: Command [[
[ERROR] /bin/sh -c /usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx512m -classpath /home/malachi/work/test/archetype-test/src/main/java:/home/malachi/work/test/archetype-test/target/generated-sources/gwt:/home/malachi/work/test/archetype-test/src/main/resources:/home/malachi/.m2/repository/com/google/gwt/gwt-dev/2.5.1/gwt-dev-2.5.1.jar:/home/malachi/.m2/repository/com/google/gwt/gwt-user/2.5.1/gwt-user-2.5.1.jar com.google.gwt.resources.css.InterfaceGenerator -standalone -typeName module1 -css /home/malachi/work/test/archetype-test/src/main/resources/module1.css
[ERROR] ]] failed with status 1

Two possible solutions:

On this page:
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/css-interface-generator.html

Should be noted that the resource has to be in src/main/resources/SOMETHING/filename.css. If the CSS file is directly under src/main/resources, you will get the error:

Alternatively, the plugin could give a friendly warning when it detects no '/' in the cssFile tag.

Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: /usr/local/maven
Java version: 1.8.0-ea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.5.0-26-generic", arch: "amd64", family: "unix"
Project: Maven GWT Plugin
Priority: Trivial Trivial
Reporter: Malachi de AElfweald
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to