BTW - The version of the plug-in I am using is 1.3.3. I have also noticed that I can delete the SDK from my build path and configure the plug-in not to complain. This takes care of the duplicate JARs in my build path problem.
However, the plugin still demands I point it to an "SDK" directory which I *seem* to have to manually create. On Jul 15, 10:06 pm, David Vree <[email protected]> wrote: > Thanks Kathrin -- I went ahead and tried that, but it wouldn't let > me... Check this out -- the artifact is in this directory that was > created by Maven: > > ~/.m2/repository/com/google/gwt/gwt-user/2.0.3 > > But the plugin seems to be hard-coded to look for a file named "gwt- > user.jar" but in this case, the maven artifact filename is "gwt- > user-2.0.3.jar" and the GUI of the plugin won't let me select it!!! > > I did however, get it work with the UGLIEST of workarounds: > > I violated every principal of Maven and hand created a directory with > symbolic links named after the SDK files that point to my 2.0.3 > artifacts. I then pointed the Eclipse plugin to that. It works, but > it will break as soon as I upgrade anything! Plus now I have two > copies of the JARs on my classpath. > > Any other ideas? > > On Jul 15, 9:01 pm, Katharina Probst <[email protected]> wrote: > > > Hi David, > > > yes, you can point to any SDK you choose (maven, compile from trunk, ...). > > If you right-click on your project and go to Google->Web Toolkit Settings, > > it'll let you configure where your SDK sits. Click on "Configure SDKs..." > > and then Add, point it to whatever directory your SDK sits in. > > > kathrin > > > On Thu, Jul 15, 2010 at 2:07 PM, David Vree <[email protected]> wrote: > > > I am currently using Maven to download the GWT dependencies from the > > > Maven central repository as follows: > > > > <dependency> > > > <groupId>com.google.gwt</groupId> > > > <artifactId>gwt-servlet</artifactId> > > > <version>${gwt.version}</version> > > > <scope>runtime</scope> > > > </dependency> > > > <dependency> > > > <groupId>com.google.gwt</groupId> > > > <artifactId>gwt-user</artifactId> > > > <version>${gwt.version}</version> > > > <scope>provided</scope> > > > </dependency> > > > > At the same time, I am trying to use the Eclipse GWT plugin I > > > installed from here: > > > >http://dl.google.com/eclipse/plugin/3.5 > > > > I did NOT install the SDK from the update site. However, the plugin > > > wants to know the location of the GWT SDK. Often when Eclipse plugins > > > want to know the location of JAR files, I point them to my "~/.m2/ > > > repository" directories -- but so far I see no way to do this with > > > GWT. > > > > I ask for two reasons: > > > > a) I don't want the plugin to mandate my version of the SDK (it > > > downloads 2.0.4 right now). > > > b) I don't want two copies of the JAR files lying around. > > > > Is this possible? > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
