Hi everyone,
Last month, I announced some of the changes we had planned for the 1.3 version of the Google Plugin for Eclipse. To recap, this release is focused on making life easier for developers using GWT/App Engine alongside third-party tools, including Maven and Eclipse for Java EE. In my post, I promised we'd let you download a preview of 1.3 to get some hands-on testing of the new features and provide us with your feedback before the official release.
I'm happy to announce that the time has come. An early preview of 1.3 is now available for download at the following URLs:
Note: Ensure that your version of Eclipse has Eclipse's Web Standard Tools (WST) installed before installing the plugin. WST can be installed by navigating to the Software Installation section, and selecting the the appropriate WST feature from the update site for your version of Eclipse. The update sites and feature names are provided below:
This is a preview build, so the usual caveats and warnings apply: it is not officially supported, and we recommend using a clean installation of Eclipse and a new workspace. Also, we're distributing this preview as a zip file so be sure to follow the instructions on our Installing the Google Plugin for Eclipse from zip files page (http://code.google.com/eclipse/docs/install-from-zip.html).
Known Issues
That being said, we are very interested in your experience with this new release, which we hope will allow the Google plugin to interoperate much better with alternative project structures and third-party tools. The tentative 1.3 release notes are as follows:
Enhancements
Fixes
For a complete list of fixed issues, see the GWT issue tracker and App Engine issue tracker.
We encourage all interested developers to take the preview build for a spin, and let us know what you think. We'll do everything possible to incorporate your feedback before the final release, slated for later this month. Thanks!
Keith, on behalf of the Google Plugin for Eclipse team
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Brian
On Mar 3, 7:25 pm, Keith Platfoot <kplatf...@google.com> wrote:
> Hi everyone,
>
> Last month, I announced some of the changes we had planned for the 1.3
> version of the Google Plugin for Eclipse. To recap, this release is focused
> on making life easier for developers using GWT/App Engine alongside
> third-party tools, including Maven and Eclipse for Java EE. In my post, I
> promised we'd let you download a preview of 1.3 to get some hands-on testing
> of the new features and provide us with your feedback before the official
> release.
>
> I'm happy to announce that the time has come. An early preview of 1.3 is now
> available for download at the following URLs:
>
> http://dl.google.com/eclipse/plugin/3.5/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.4/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.3/zips/com.google.gdt.eclipse.s...
>
> Note: Ensure that your version of Eclipse has Eclipse's Web Standard Tools
> (WST) installed before installing the plugin. WST can be installed by
> navigating to the Software Installation section, and selecting the the
> appropriate WST feature from the update site for your version of Eclipse.
> The update sites and feature names are provided below:
>
> - 3.5 (Galileo): Galileo > Web, XML, and Java EE Development > Eclipse
> Web Developer Tools
> - 3.4 (Ganymede): Ganymede Update Site > Web and Java EE Development >
> Web Developer Tools
> - 3.3 (Europa): Europa Discovery Site > Web and JEE Development > Web
> Standard Tools Project
>
> This is a preview build, so the usual caveats and warnings apply: it is not
> officially supported, and we recommend using a clean installation of Eclipse
> and a new workspace. Also, we're distributing this preview as a zip file so
> be sure to follow the instructions on our Installing the Google Plugin for
> Eclipse from zip files page (http://code.google.com/eclipse/docs/install-from-zip.html).
>
> *Known Issues*
>
> - If you change launch configuration settings in the Server or GWT tab,
> you'll need to switch to the Arguments tab before clicking Apply or
> Run/Debug. This will be fixed in the final release.
>
> That being said, we are very interested in your experience with this new
> release, which we hope will allow the Google plugin to interoperate much
> better with alternative project structures and third-party tools. The
> tentative 1.3 release notes are as follows:
>
> Enhancements
>
> - Configurable WAR directory to allow better integration with Eclipse for
> Java EE <http://www.eclipse.org/downloads/moreinfo/jee.php> and projects
> built with Maven <http://maven.apache.org/>
> - Web Application launch configurations now display and allow editing of
> generated Program and VM arguments
> - Errors/Warnings preference page for customizing the severity of any
> generated problem marker
> - Projects can reference GWT/App Engine SDKs directly via JARs instead of
> through SDK library
> - GWT+App Engine projects automatically configured for optimal caching
>
> Fixes
>
> - GWT Issue 3583<http://code.google.com/p/google-web-toolkit/issues/detail?id=3583>:
> Google Eclipse Plugin configuration is too strict
> - GWT Issue 3592<http://code.google.com/p/google-web-toolkit/issues/detail?id=3592>:
> Eclipse plugin to add 'cache forever' configuration for new 'GWT + App
> Engine' projects
> - GWT Issue 3902<http://code.google.com/p/google-web-toolkit/issues/detail?id=3902>:
> Allow users to configure the severity of problems reported by the eclipse
> plugin
> - App Engine Issue
> 1515<http://code.google.com/p/googleappengine/issues/detail?id=1515>:
> Eclipse plugin requires fixed location for war directory
> - App Engine Issue
> 2115<http://code.google.com/p/googleappengine/issues/detail?id=2115>:
> Using the @PersistenceAware annotation puts the Eclipse Enhancer in an
> Infinite Loop
> - App Engine Issue
> 1941<http://code.google.com/p/googleappengine/issues/detail?id=1941>:
> Plugin fails to enhance dependent classes on source level changes
>
> For a complete list of fixed issues, see the GWT issue
> tracker<http://code.google.com/p/google-web-toolkit/issues/list?can=1&q=label...>
> and App Engine issue
> tracker<http://code.google.com/p/googleappengine/issues/list?can=1&q=label:GP...>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
hi keith,And thx you all for the new upcoming release !No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp).* Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode.
* I cannot figure out how to work with wtp (noserver mode). For the moment I have to manually modify the wtp manifest to publish the GWT resources (compiled js img).
* What is the state of support for the "input only" assumption for maven src/main/webapp ?
Since the beginning (before the first GEP release) I working with the noserver mode without blocking issues with maven.IMHO The only missing killing feature would be a facet (wtp) to be able to detect and publish the GWT module to WTP deployement.
Thx again.
No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp).* Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode.I'm not familiar with this problem. Is there a bug on the GWT issue tracker I can review to get more details?
--
we are happy to test the preview version.
We are using Maven and the gwt-maven-project layout for our projects.
We loved the dependency management and also clear code structure
coming along with Maven but ran in the same problem mentioned a lot
before: we could not get Google Eclipse Plugin run with our projects.
The first workaround was to use the gwt:run goal, which actually works
fine and forget about GEP.
Now I still wanted to find out if we can use that nice web application
run configuration of GEP again with the preview release. So I
installed it and set the "war/" folder to "src/main/webapp" and tried
to run our project as a web application.
It did not work and we got the error "project may need to be
(re)compiled". I figured out that the launch configuration was missing
all the generated js-files. When they are located in "src/main/webapp"
it launches the web application, but apparently using the generated js-
files. No changes to the java code are reflected upon refresh.
Am I missing something in the setup process of the GEP preview
version?
On 4 Mrz., 01:25, Keith Platfoot <kplatf...@google.com> wrote:
> Hi everyone,
>
> Last month, I announced some of the changes we had planned for the 1.3
> version of the Google Plugin for Eclipse. To recap, this release is focused
> on making life easier for developers using GWT/App Engine alongside
> third-party tools, including Maven and Eclipse for Java EE. In my post, I
> promised we'd let you download a preview of 1.3 to get some hands-on testing
> of the new features and provide us with your feedback before the official
> release.
>
> I'm happy to announce that the time has come. An early preview of 1.3 is now
> available for download at the following URLs:
>
> http://dl.google.com/eclipse/plugin/3.5/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.4/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.3/zips/com.google.gdt.eclipse.s...
>
> Note: Ensure that your version of Eclipse has Eclipse's Web Standard Tools
> (WST) installed before installing the plugin. WST can be installed by
> navigating to the Software Installation section, and selecting the the
> appropriate WST feature from the update site for your version of Eclipse.
> The update sites and feature names are provided below:
>
> - 3.5 (Galileo): Galileo > Web, XML, and Java EE Development > Eclipse
> Web Developer Tools
> - 3.4 (Ganymede): Ganymede Update Site > Web and Java EE Development >
> Web Developer Tools
> - 3.3 (Europa): Europa Discovery Site > Web and JEE Development > Web
> Standard Tools Project
>
> This is a preview build, so the usual caveats and warnings apply: it is not
> officially supported, and we recommend using a clean installation of Eclipse
> and a new workspace. Also, we're distributing this preview as a zip file so
> be sure to follow the instructions on our Installing the Google Plugin for
> Eclipse from zip files page (http://code.google.com/eclipse/docs/install-from-zip.html).
>
> *Known Issues*
>
> - If you change launch configuration settings in the Server or GWT tab,
> you'll need to switch to the Arguments tab before clicking Apply or
> Run/Debug. This will be fixed in the final release.
>
> That being said, we are very interested in your experience with this new
> release, which we hope will allow the Google plugin to interoperate much
> better with alternative project structures and third-party tools. The
> tentative 1.3 release notes are as follows:
>
> Enhancements
>
> - Configurable WAR directory to allow better integration with Eclipse for
> Java EE <http://www.eclipse.org/downloads/moreinfo/jee.php> and projects
> built with Maven <http://maven.apache.org/>
> - Web Application launch configurations now display and allow editing of
> generated Program and VM arguments
> - Errors/Warnings preference page for customizing the severity of any
> generated problem marker
> - Projects can reference GWT/App Engine SDKs directly via JARs instead of
> through SDK library
> - GWT+App Engine projects automatically configured for optimal caching
>
> Fixes
>
> - GWT Issue 3583<http://code.google.com/p/google-web-toolkit/issues/detail?id=3583>:
> Google Eclipse Plugin configuration is too strict
> - GWT Issue 3592<http://code.google.com/p/google-web-toolkit/issues/detail?id=3592>:
> Eclipse plugin to add 'cache forever' configuration for new 'GWT + App
> Engine' projects
> - GWT Issue 3902<http://code.google.com/p/google-web-toolkit/issues/detail?id=3902>:
> Allow users to configure the severity of problems reported by the eclipse
> plugin
> - App Engine Issue
> 1515<http://code.google.com/p/googleappengine/issues/detail?id=1515>:
> Eclipse plugin requires fixed location for war directory
> - App Engine Issue
> 2115<http://code.google.com/p/googleappengine/issues/detail?id=2115>:
> Using the @PersistenceAware annotation puts the Eclipse Enhancer in an
> Infinite Loop
> - App Engine Issue
> 1941<http://code.google.com/p/googleappengine/issues/detail?id=1941>:
> Plugin fails to enhance dependent classes on source level changes
>
> For a complete list of fixed issues, see the GWT issue
> tracker<http://code.google.com/p/google-web-toolkit/issues/list?can=1&q=label...>
> and App Engine issue
> tracker<http://code.google.com/p/googleappengine/issues/list?can=1&q=label:GP...>
> .
>
thanks for this detailed information. I just went through and followed
them step by step.
I started by creating a new maven project using gwt-maven archetype. I
changed its pom.xml to use current versions of GWT 2.0.3 and Java 6.
Then I enabled the GEP.
1. Set the war directoy as you said. When I first tried, I forgot to
uncheck the "launch" checkbox but did it this time.
2. Did not have to delete old launch configurations since this is a
new project. Created one by launching it via "Run As.." -> "Web
Application" from GEP
3. I use Eclipse EE. On that first launch, I pointed the runtime WAR
directory to the folder under "target" you mentioned. One thing I did
not clearly understand: you said "unless you're also using Eclipse
EE..."; well I do so where else should or could the runtime WAR
directory point to? I also did a 'mvn clean package'.
4. Yes, yes and yes. The web application is displayed in the browser
as expected.
5. Programm args:
-remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl
index.html -logLevel INFO -port 8888 -war /home/ahorst/workspace/
GWTEntryApp/target/GWTEntryApp-0.0.1-SNAPSHOT
de.se.proced.GWTEntryApp.Application
VM args:
-Xmx512m
Working directory:
/GWTEntryApp/target/GWTEntryApp-0.0.1-SNAPSHOT
So far it all worked. Unfortunately the "refresh" code changes does
not work. I set output folders of src/main/java and src/main/resources
to the WEB-INF/classes inside the working directory. Did this through
the build path configuration.
Code changes are not reflected upon refresh; neither in the browser
(F5) or by restarting the server in the Development view.
Nevertheless when I launch the gwt:run goal, it works.
Could it be a gwt-maven property that stops "refresh" code changes?
Besides the GWT and Java version I did not change anything. I guess I
have to stick to the gwt-maven docs to find out if the exploded WAR is
not set properly.
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
I have a wtpTest project that can be pulled into Eclipse for Java EE.
Just download wtpTest.zip, import the existing project (and choose the
archive). Then run the server in tomcat and set the launch config to
NOT launch the local server. I keep getting Illegal Constant Pool
errors.
Brian
On Mar 15, 4:05 pm, Keith Platfoot <kplatf...@google.com> wrote:
> @Andreas: Forgot to mention that if you're *not* using Eclipse for Java
> EE, when you make changes to server-side code, you will also need to restart
> GWT embedded Jetty instance. For GWT 2.0+, click the Restart Server button
> in the Development Mode view, or for older versions of GWT, the Reload
> Server button on the Hosted Mode shell toolbar.
>
> Keith
>
> On Mon, Mar 15, 2010 at 2:27 PM, Keith Platfoot <kplatf...@google.com>wrote:
>
> > Hi Andreas,
>
> > It looks like you're following the correct procedure, and you indicated
> > that you were able to load the application in devmode, but you're not seeing
> > code changes reflected when you Refresh the browser. It might help if I
> > explain briefly how changes are *supposed* to be reflected, and suggest a
> > few ideas for things to check if refresh is not working:
>
> > - Client-side code changes should *always* be reflected when you click
> > Refresh in your browser during a devmode session, regardless of your source
> > folders' build output paths. This is because GWT devmode is actually using
> > your .java source files, not the compiled .class files. Double-check in
> > your launch configuration's Classpath tab that your source folders appear at
> > the top of the User Entries section. If your gwt:run goal *does*correctly reflect code changes in devmode when you Refresh, it would be
> > *not* be 'target/<exploded WAR>'. Eclipse will instead create a staging
> > directory in a temporary location (by default,
> > <workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/<project>)
> > and *this* is the WAR directory you'll need to select when launching the
> > Web Application launch configuration. One more note: Eclipse for Java EE
> > will also automatically push your updated .class files into
> > <WAR>/WEB-INF/classes, so no need to manually change your source folders'
> > build output paths.
>
> > Does that all make sense? At launch, we'll be adding a couple new FAQ
> > entries to our documentation to explain the process of using the Google
> > plugin with Maven, with Eclipse for Java EE, and with both at once.
> > Hopefully my instructions here will suffice in the meanwhile. Let me know
> > if you need any further explanation or assistance.
>
> > Keith
>
> ...
>
> read more »
thank you very much for all the details. For now we actually decided
to stick with the goals provided by gwt-maven, so I'm sorry I did not
check your points by now. I'll create a new project and check your
advices, especially the correct source folders in the GEP launch
config, which actually was the only thing I did not look after.
I'll drop in a message soon.
Andreas
On 15 Mrz., 21:05, Keith Platfoot <kplatf...@google.com> wrote:
> @Andreas: Forgot to mention that if you're *not* using Eclipse for Java
> EE, when you make changes to server-side code, you will also need to restart
> GWT embedded Jetty instance. For GWT 2.0+, click the Restart Server button
> in the Development Mode view, or for older versions of GWT, the Reload
> Server button on the Hosted Mode shell toolbar.
>
> Keith
>
> On Mon, Mar 15, 2010 at 2:27 PM, Keith Platfoot <kplatf...@google.com>wrote:
>
> > Hi Andreas,
>
> > It looks like you're following the correct procedure, and you indicated
> > that you were able to load the application in devmode, but you're not seeing
> > code changes reflected when you Refresh the browser. It might help if I
> > explain briefly how changes are *supposed* to be reflected, and suggest a
> > few ideas for things to check if refresh is not working:
>
> > - Client-side code changes should *always* be reflected when you click
> > Refresh in your browser during a devmode session, regardless of your source
> > folders' build output paths. This is because GWT devmode is actually using
> > your .java source files, not the compiled .class files. Double-check in
> > your launch configuration's Classpath tab that your source folders appear at
> > the top of the User Entries section. If your gwt:run goal *does*correctly reflect code changes in devmode when you Refresh, it would be
> > *not* be 'target/<exploded WAR>'. Eclipse will instead create a staging
> > directory in a temporary location (by default,
> > <workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/<project>)
> > and *this* is the WAR directory you'll need to select when launching the
> > Web Application launch configuration. One more note: Eclipse for Java EE
> > will also automatically push your updated .class files into
> > <WAR>/WEB-INF/classes, so no need to manually change your source folders'
> > build output paths.
>
> > Does that all make sense? At launch, we'll be adding a couple new FAQ
> > entries to our documentation to explain the process of using the Google
> > plugin with Maven, with Eclipse for Java EE, and with both at once.
> > Hopefully my instructions here will suffice in the meanwhile. Let me know
> > if you need any further explanation or assistance.
>
> > Keith
>
> ...
>
> Erfahren Sie mehr »
Thanks for the improvements !! I've got a clean Maven Web project like
I used to work with before trying GWT ! :)
However, Eclipse seems to keep the folder /war and /war/WEB-INF in my
project. Even if I delete it, it keeps appearing. Any clue on this
behaviour ?
Cheers,
Simon
On 4 mar, 01:25, Keith Platfoot <kplatf...@google.com> wrote:
> Hi everyone,
>
> Last month, I announced some of the changes we had planned for the 1.3
> version of the Google Plugin for Eclipse. To recap, this release is focused
> on making life easier for developers using GWT/App Engine alongside
> third-party tools, including Maven and Eclipse for Java EE. In my post, I
> promised we'd let you download a preview of 1.3 to get some hands-on testing
> of the new features and provide us with your feedback before the official
> release.
>
> I'm happy to announce that the time has come. An early preview of 1.3 is now
> available for download at the following URLs:
>
> http://dl.google.com/eclipse/plugin/3.5/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.4/zips/com.google.gdt.eclipse.s...
>
> http://dl.google.com/eclipse/plugin/3.3/zips/com.google.gdt.eclipse.s...
>
> Note: Ensure that your version of Eclipse has Eclipse's Web Standard Tools
> (WST) installed before installing the plugin. WST can be installed by
> navigating to the Software Installation section, and selecting the the
> appropriate WST feature from the update site for your version of Eclipse.
> The update sites and feature names are provided below:
>
> - 3.5 (Galileo): Galileo > Web, XML, and Java EE Development > Eclipse
> Web Developer Tools
> - 3.4 (Ganymede): Ganymede Update Site > Web and Java EE Development >
> Web Developer Tools
> - 3.3 (Europa): Europa Discovery Site > Web and JEE Development > Web
> Standard Tools Project
>
> This is a preview build, so the usual caveats and warnings apply: it is not
> officially supported, and we recommend using a clean installation of Eclipse
> and a new workspace. Also, we're distributing this preview as a zip file so
> be sure to follow the instructions on our Installing the Google Plugin for
> Eclipse from zip files page (http://code.google.com/eclipse/docs/install-from-zip.html).
>
> *Known Issues*
>
> - If you change launch configuration settings in the Server or GWT tab,
> you'll need to switch to the Arguments tab before clicking Apply or
> Run/Debug. This will be fixed in the final release.
>
> That being said, we are very interested in your experience with this new
> release, which we hope will allow the Google plugin to interoperate much
> better with alternative project structures and third-party tools. The
> tentative 1.3 release notes are as follows:
>
> Enhancements
>
> - Configurable WAR directory to allow better integration with Eclipse for
> Java EE <http://www.eclipse.org/downloads/moreinfo/jee.php> and projects
> built with Maven <http://maven.apache.org/>
> - Web Application launch configurations now display and allow editing of
> generated Program and VM arguments
> - Errors/Warnings preference page for customizing the severity of any
> generated problem marker
> - Projects can reference GWT/App Engine SDKs directly via JARs instead of
> through SDK library
> - GWT+App Engine projects automatically configured for optimal caching
>
> Fixes
>
> - GWT Issue 3583<http://code.google.com/p/google-web-toolkit/issues/detail?id=3583>:
> Google Eclipse Plugin configuration is too strict
> - GWT Issue 3592<http://code.google.com/p/google-web-toolkit/issues/detail?id=3592>:
> Eclipse plugin to add 'cache forever' configuration for new 'GWT + App
> Engine' projects
> - GWT Issue 3902<http://code.google.com/p/google-web-toolkit/issues/detail?id=3902>:
> Allow users to configure the severity of problems reported by the eclipse
> plugin
> - App Engine Issue
> 1515<http://code.google.com/p/googleappengine/issues/detail?id=1515>:
> Eclipse plugin requires fixed location for war directory
> - App Engine Issue
> 2115<http://code.google.com/p/googleappengine/issues/detail?id=2115>:
> Using the @PersistenceAware annotation puts the Eclipse Enhancer in an
> Infinite Loop
> - App Engine Issue
> 1941<http://code.google.com/p/googleappengine/issues/detail?id=1941>:
> Plugin fails to enhance dependent classes on source level changes
>
> For a complete list of fixed issues, see the GWT issue
> tracker<http://code.google.com/p/google-web-toolkit/issues/list?can=1&q=label...>
> and App Engine issue
> tracker<http://code.google.com/p/googleappengine/issues/list?can=1&q=label:GP...>
> .
>
The problem was that the project "Default output folder" was still
pointing to the "/war/WEB-INF/classes" directory instead of "/target/
classes"...
Thanks for the great job anyway ! :)
Woot!
On Mar 15, 4:40 pm, bkbonner <brian.bon...@paraware.com> wrote:
> Hey, is anyone else using the GEP Preview seeing the same problem as
> the one I logged in issue 4745?http://code.google.com/p/google-web-toolkit/issues/detail?id=4745
> ...
>
> read more »
I'm looking for the classpath settings now. Here's what "mvn gwt:run"
uses:
/bin/sh -c /usr/lib/jvm/java-6-sun-1.6.0.15/jre/bin/java -Xmx512m -
classpath "/home/ahorst/workspace/App/src/main/java":"/home/ahorst/
workspace/App/src/main/resources":"/home/ahorst/workspace/App/war/WEB-
INF/classes":"/home/ahorst/.m2/repository/com/google/gwt/gwt-servlet/
2.0.3/gwt-servlet-2.0.3.jar":"/home/ahorst/.m2/repository/com/google/
gwt/gwt-user/2.0.3/gwt-user-2.0.3.jar":"/home/ahorst/.m2/repository/
com/google/gwt/gwt-dev/2.0.3/gwt-dev-2.0.3.jar"
com.google.gwt.dev.DevMode -war "/home/ahorst/workspace/App/war" -gen
"/home/ahorst/workspace/App/target/.generated" -logLevel INFO -port
8888 -startupUrl "com.my.example.App.Application/Application.html"
com.my.example.App.Application
While the run configuration of GEP lists the following entries:
- Bootstrap Entries
- JRE System Library [JavaSE-1.6]
- User Entries
- java - /App/src/main/
- resources - /App/src/main/
- java - /App/src/test/
- App (default classpath)
- App
- Maven Dependencies
- GWT SDK [GWT - 2.0.3]
The java source folder is the first entry, but no code changes
reflected on refresh with the GEP run configuration. "mvn gwt:run"
though does it. Are the Bootstrap Entries conflicting here?
On 15 Mrz., 21:05, Keith Platfoot <kplatf...@google.com> wrote:
> @Andreas: Forgot to mention that if you're *not* using Eclipse for Java
> EE, when you make changes to server-side code, you will also need to restart
> GWT embedded Jetty instance. For GWT 2.0+, click the Restart Server button
> in the Development Mode view, or for older versions of GWT, the Reload
> Server button on the Hosted Mode shell toolbar.
>
> Keith
>
> On Mon, Mar 15, 2010 at 2:27 PM, Keith Platfoot <kplatf...@google.com>wrote:
>
> > Hi Andreas,
>
> > It looks like you're following the correct procedure, and you indicated
> > that you were able to load the application in devmode, but you're not seeing
> > code changes reflected when you Refresh the browser. It might help if I
> > explain briefly how changes are *supposed* to be reflected, and suggest a
> > few ideas for things to check if refresh is not working:
>
> > - Client-side code changes should *always* be reflected when you click
> > Refresh in your browser during a devmode session, regardless of your source
> > folders' build output paths. This is because GWT devmode is actually using
> > your .java source files, not the compiled .class files. Double-check in
> > your launch configuration's Classpath tab that your source folders appear at
> > the top of the User Entries section. If your gwt:run goal *does*correctly reflect code changes in devmode when you Refresh, it would be
> > *not* be 'target/<exploded WAR>'. Eclipse will instead create a staging
> > directory in a temporary location (by default,
> > <workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/<project>)
> > and *this* is the WAR directory you'll need to select when launching the
> > Web Application launch configuration. One more note: Eclipse for Java EE
> > will also automatically push your updated .class files into
> > <WAR>/WEB-INF/classes, so no need to manually change your source folders'
> > build output paths.
>
> > Does that all make sense? At launch, we'll be adding a couple new FAQ
> > entries to our documentation to explain the process of using the Google
> > plugin with Maven, with Eclipse for Java EE, and with both at once.
> > Hopefully my instructions here will suffice in the meanwhile. Let me know
> > if you need any further explanation or assistance.
>
> > Keith
>
> ...
>
> Erfahren Sie mehr »
--
- I deploy onTomcat, and the devmode tells me to use a bad url :
http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997, while it
should be http://127.0.0.1:8080/test/index.html?gwt.codesvr=127.0.0.1:9997
- when I load the webpage or refresh it, I got a ton of error messages
like this one :
18:46:54.380 [ERROR] [openpronos] Errors in 'file:/C:/OP/workspace/
test-core/src/main/java/org/zanton/test/business/
ClassementService.java'
18:46:54.450 [ERROR] [openpronos] Line 12: No source code is
available for type org.zanton.test.exception.EmptyPronosticException;
did you forget to inherit a required module?
It doesn't prevent the page from correctly loading but it's strange. I
looked at the launch configuration, and the sources are in the
Classpath and Source tabs.
Thanks for helping.
On 17 mar, 11:22, andreas <horst.andrea...@googlemail.com> wrote:
> Hi Keith,
>
> ...
>
> plus de détails »