On Tue, May 19, 2009 at 12:23 PM, hezjing <[email protected]> wrote: > Hi > > Uh-huh ... I thought that if I disabled the GWT and/or App Engine SDK, all > related jars should be removed. > The project structure should be restored before the GWT and/or App Engine > SDK is enabled :-) >
We don't because your code could be referring to them even though it is not a GWT/App Engine project according to the plugin. We just replace the container with the jars that it expands to, remove the necessary nature and builders. You can always go back and remove all of the jars if you really don't need them. > > BTW, why the JARs in step 3 (when the project is imported) and step 4 (when > the App Engine SDK is disabled) are not displayed under the Referenced > Libraries? For example: > They should if you refresh the project. The project view doesn't always update when container changes are made. > > GwtRpcSpringExample > + src > + App Engine SDK [App Engine - 1.2.1] > + GWT SDK [GWT - 1.6.4] > + JRE System Library [jre1.5.0_18] > + Referenced Libraries > + antr-2.7.6.jar > + commons-logging.jar > + gwt-servlet.jar > + spring-aop.jar > + spring-beans.jar > + spring-context.jar > > > 2009/5/20 Miguel Méndez <[email protected]> > >> The GWT and App Engine SDKs are containers that resolve into several jars. >> When you remove a GWT and/or App Engine SDK, the containers are replaced >> with the jars that they resolve to. Hence you end up with more jars. >> >> >> On Tue, May 19, 2009 at 10:55 AM, hezjing <[email protected]> wrote: >> >>> Hi >>> >>> I noticed the following behaviour when disabled Google App Engine SDK in >>> Eclipse. >>> >>> Here are the steps I performed: >>> >>> 1) Download >>> http://gwtrpc-spring.googlecode.com/files/GwtRpcSpringExample.zip. >>> >>> 2) Extract GwtRpcSpringExample.zip to C:\GwtRpcSpringExample. >>> >>> 3) Import the GwtRpcSpringExample project into Eclipse 3.4.2 >>> File->Import...->Existing Projects into Workspace, Select root >>> directory: C:\GwtRpcSpringExample >>> >>> The following is GwtRpcSpringExample project structure shown in Eclipse: >>> >>> GwtRpcSpringExample >>> + src >>> + App Engine SDK [App Engine - 1.2.1] >>> + GWT SDK [GWT - 1.6.4] >>> + JRE System Library [jre1.5.0_18] >>> + antr-2.7.6.jar >>> + commons-logging.jar >>> + gwt-servlet.jar >>> + spring-aop.jar >>> + spring-beans.jar >>> + spring-context.jar >>> + spring-core.jar >>> + spring-web.jar >>> + gwtrpc-spring-1.0.jar >>> + war >>> >>> 4) Disable the Google App Engine SDK >>> GwtRpcSpringExample->Google->App Engine Settings..., Uncheck use Google >>> App Engine >>> >>> The following is GwtRpcSpringExample project structure shown in Eclipse: >>> >>> GwtRpcSpringExample >>> + src >>> + appengine-local-runtime-shared.jar >>> + geronimo-el_1.0_spec-1.0.1.jar >>> + geronimo-jsp_2.1_spec-1.0.1.jar >>> + geronimo-servlet_2.5_spec-1.2.jar >>> + repackaged-appengine-ant-1.6.5.jar >>> + repackaged-appengine-ant-launcher-1.6.5.jar >>> ... >>> + geronimo-jpa_3.0_spec-1.1.1.jar >>> + geronimo-jta_1.1_spec-1.1.1.jar >>> + jdo2-api-2.3-SNAPSHOT.jar >>> + appengine-tools.api.jar >>> + GWT SDK [GWT - 1.6.4] >>> + JRE System Library [jre1.5.0_18] >>> + antr-2.7.6.jar >>> + commons-logging.jar >>> + gwt-servlet.jar >>> + spring-aop.jar >>> + spring-beans.jar >>> + spring-context.jar >>> + spring-core.jar >>> + spring-web.jar >>> + gwtrpc-spring-1.0.jar >>> + war >>> >>> Please note that there are many other JARs added in between src and GWT >>> SDK, e.g. geronimo*.jar, repackaged-appengine*.jar >>> >>> Is this normal? >>> >>> >>> -- >>> >>> Hez >>> >>> >>> >> >> >> -- >> Miguel >> >> >> > > > -- > > Hez > > > > -- Miguel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
