You can't have a hyphen in a package name. On Fri, Apr 10, 2009 at 10:41 AM, badgerduke <[email protected]> wrote:
> > After running: > > mvn archetype:create -DarchetypeGroupId=com.totsp.gwt - > DarchetypeArtifactId=maven-googlewebtoolkit2-archetype - > DarchetypeVersion=1.0.4 -DremoteRepositories=http://gwt- > maven.googlecode.com/svn/trunk/mavenrepo -DgroupId=gallup-gwt - > DartifactId=gwt > > > I immediately run an "mvn package" on this project and get the compile > error: > > Application.java:[1:14] ';' expected > > > Application.java looks like this: > > > package gallup-gwt.client; > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.user.client.ui.Label; > import com.google.gwt.user.client.ui.RootPanel; > > public class Application implements EntryPoint { > > public void onModuleLoad() { > RootPanel.get().add(new Label ("GWT-Maven Archetype Project - > gallup-gwt.gwt")); > } > } > > > I try to comment out lines but still always get the error. I don't > see what is wrong with this file. > > > > -- :Robert "kebernet" Cooper ::[email protected] Alice's cleartext Charlie is the attacker Bob signs and encrypts http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
