Hi Jen, thanks so much for having saved my day! Once I removed gwt-dev.jar
from my war file under WEB-INF/lib, it worked!
On Monday, April 17, 2017 at 7:04:26 PM UTC-4, Jens wrote:
>
>
> Can we totally avoid gwt-dev.jar in the server war file? Currently it is
>> the gwt-dev.jar which requires
> Can we totally avoid gwt-dev.jar in the server war file? Currently it is
> the gwt-dev.jar which requires jetty even we build in production mode.
>
Oh, actually you NEVER EVER deploy gwt-dev.jar and gwt-user.jar. Both jars
are only required during compilation from Java to JavaScript. The
Your java code should always check for null using == and it should just
work regardless if the Javascript implementation returns undefined or null.
-- J.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop
I am using 2.8 and I occasionally get undefined instead of null when doing
a get on a hashmap, ie when there is no maping to the key. I am wondering
if this is a known bug or if I should not assume this behaviour for the
hashmap get method?
Thanks!
--
You received this message because you
Having one final war file is ok. But, you should compile the client side in
one module, and add the GWT compilation output to your war file as an
overlay. This is a poor summary, all this is explained in the new maven
plugin which was designed to solve exactly this problem.
We have built only one war file for all server/client. Do you mean we
should build separate war files? one for server and one for client? Can we
totally avoid gwt-dev.jar in the server war file? Currently it is the
gwt-dev.jar which requires jetty even we build in production mode.
On Monday,
Remove * section.
Try to follow maven convention. The resources for GWT web app should be
placed in public folder, see
http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions
For ui binder xml files, I put them in java src folder (I can't make
Ok, I created the directory src/main/resources and added some xml files
there.
But they don't get into the jar file...
Below is my pom.xml.
What's wrong?
Magnus
-
http://maven.apache.org/POM/4.0.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+1 for the question. I've been noticing this as well. People have been
encountering similar issues, to do with discrepancies betweeen minification
and source maps:
http://stackoverflow.com/questions/35139190/unable-to-set-desired-breakpoints-in-chrome-devtools
This is already the case. There's no server-side dependency, unless you use GWT
specific client-server protocols (like GWT-RPC or RequestFactory).
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving
Hi,
Is it possible to (easily) extract or use as-is *just* the Java to
Javascript transpiler portion of the GWT framework?
The resulting Javascript code (plus any JS dependencies of this code)
should be able to run on the browser without having to run GWT on the
server.
Regards,
Nikhil
--
We run JBoss as standalone and the datasource are defined in standalone.xml
file as below. It works fine for years under GWT 2.2.
jdbc:sqlserver://dbserver/wdsql1_inst:1442;databaseName=Dev
sqljdbc4
12 matches
Mail list logo