Hi Thomas,
it's a "client only" lib. I have separate libs for server and client side, until I know how to merge them.
You described how to get the sources packaged into the jar file, but I didn't reach this stage yet.
At the moment I am still getting compile errors because the GWT classes are not found, "SimplePanel" in this case:
[ERROR] COMPILATION ERROR :[INFO] -------------------------------------------------------------
[ERROR] /home/warker/dvl/prj/mvn.test.awi/src/main/java/mvn/test/awi/TestBox.java:[11,36] error: package com.google.gwt.user.client.ui does not exist
[ERROR] /home/warker/dvl/prj/mvn.test.awi/src/main/java/mvn/test/awi/TestBox.java:[21,2] error: cannot find symbol
I adopted the gwt dependency from your main pom.xml and added it to the default pom.xml from the quickstart archetype:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"><modelVersion>4.0.0</modelVersion><groupId>mvn.test.awi</groupId><artifactId>mvn.test.awi</artifactId><packaging>jar</packaging><version>1.0-SNAPSHOT</version><name>mvn.test.awi</name><url>http://maven.apache.org</url><dependencies><dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>3.8.1</version><scope>test</scope></dependency><dependency><groupId>com.google.gwt</groupId><artifactId>gwt</artifactId><version>2.7.0-rc1</version><type>pom</type><scope>import</scope></dependency></dependencies></project>
(I also tried "gwt-user".)
What's wrong?
Thanks
Magnus
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment