problem may be specific to my environment. I don't expect a straight
solution, but I would appreciate any hints.
What can I check, where should I look at. Where to go from here?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users&qu
e complete output below)
There are several servlets defined in the web.xml, but only for this one
(EventServlet) the error is shown. I have not touched the servlets and the
web.xml. I have also cleaned and rebuild the project.
How can I solve this?
Thanks
Magnus
Running CodeServer with parameters
at I need a solution that lives completely in the shared
area, without making distinctions between server-side and client-side
code...
Regards
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receivi
ld you use the same time formatting code in client
and server code?
(At the moment I use com.google.gwt.i18n.client.DateTimeFormat at the
client and SimpleDateFormat.format at the client.)
Thanks
Magnus
BTW: What's the "public" folder for? I saw it in some projects but not in
the
pse
- mvn clean compile package install for all projects on the commandline
But while rebuilding doesn't solve the problem, the problem disappears
immediately when I move the class back to its original location.
Any ideas?
Thanks
Magnus
--
You received this message because you are subscribed
n their package names, while
modular-webapp doesn't. Since eclipse refactoring doesn't work on whole
directory trees, this will be a lot of manual work...
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsub
nd see how it speeds up the development process.
Thanks for your patience! .-)
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-
in contrast, the error message
refers to "MojoExecutionException". Sorry, but I still cannot follow this.
Which plugin am I using? And if it's the "wrong" one, how can I switch in
my existing pom.xml?
There seem to exist people without those problems. I simply want to do it
You mean that removing scope=provided isn't really a solution to the
eclipse problem?
What would you do in this case?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving email
>
> Your requirements is to have the JARs into the WAR (just like most other
> people, so your requirements aren't wrong), so DO NOT use scope=provided.
>
Ok, but how can I have the JARs into the WAR then?
If this is what most other people want, then there must be a so
ven issue:
Creating a package with maven (mvn package) creates a package (war) with
missing jar files.
To make a long story short:
- Before Maven I created a war file with all necessary jar files in
WEB-INF/lib
- With Maven this war file is actually missing those jar files.
Please don'
or this, because the external libs were
included in WEB-INF/lib.
Now - with Maven - I shall care about the libs a WAR file needs a *second
time*?
I already have specified all the dependencies in the pom.xml of my-lib.
Why not include all the needed jar fiiles in WEB-INF/lib and have one WAR
file t
to remove scope=provided, is completely outside eclipse:
When I "mvn package" my app, the postgresql lib is not copied into the lib
folder.
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this grou
(by using scope=provided), then the error goes away.
>
>
>> Maybe another scope is better?
>>
>
> No.
> The problem is that Eclipse wants to package your app.
>
This problem is outside eclipse. When I "mvn package" the app it results in
missing libs in the
er not containing the
external libs!
So I made one step backward, dependency resolution is enabled again, but
the external jars are missing in the app folder.
Maybe another scope is better?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users"
or without a reactor.
>
I can enable it for the lib project without problems. But as soon as I
enable it for the app project, the error reappears.
It's hard to figure it out when even the experts in this group have no
idea. But I see that this is an essential point, so I have document
dn't it
be better for developing if the original library code was used instead?
Could it be that this is the core of the problem?
Thanks
Magnus
-
pom.xml:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
ut what exactly are the steps you
describe? Do you execute them on the commandline with maven commands or in
eclipse?
I really would like to do it the same way!
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from t
the code of the library used by the
app, correct this code and restart debugging the app.
I also have posted what happens when I omit GWT compilation: I see old
library code when debugging the application...
Magnus
--
You received this message because you are subscribed to the Google Groups
oming back here? #-)
The cycle described above takes about 20 minutes.
What am I doing wrong?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
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";
Thanks, this describes the standard directory layout.
If the src/main/directory doesn't exist: Can I simply create it or do I
also have to declare it somewhere in the pom?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
folder. So I have to create it.
What's the standard location? src/main/resources?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to goo
;real" source file first
So is this really the way to go?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@
Now Jens' solution works for me.
I had to do Maven -> "Update Project" and "Refresh" several times until it
worked #-)
Thanks!
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from thi
e not found".
The JAR file
/home/.../.m2/repository/msm/lib/acs/1.0-SNAPSHOT/msm-lib-acs-1.0-SNAPSHOT.jar
has no source attachment.
What may be still wrong?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from
Thanks, I'll try it out.
But besides these two solutions: What about simply adding the library
eclipse project as a dependent project to the application eclipse project?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To u
ndency already
defined in the pom.xml?
What's the right way to go?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+
fine on the command line.
In eclipse, both projects were imported as "existing maven project". Note
that I did not add "mylib" as a dependend project to "myapp", because I
wanted to handle mylib as if it was provided by an external source.
What may be wrong?
respectively, then
> create a pom.xml in "project" with pom and this
> snippet:
>
> lib
> app
>
> Then run all your Maven commands in the "project" folder (never in the
> "lib" or "app" subfolders).
>
Ok, sounds good.
I t
T
maven plugins for a while, and I learned that yours is the one that is
recommended. Then, I found that webAppCreator -templates maven creates a
project template that I can work with. And I noticed net.ltgt.gwt.maven in
the pom.xml. Therefore, I thought that I am using your plugin. But the
erro
Note that as soon as I set the scope back to provided the error is gone
immediately.
Maybe another scope is needed here?
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an emai
msm-lib-acs/target/classes exists.
What's still wrong?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr.
Yes! It's taken from the maven repository!
What about the dependencyManagement thing?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to goo
I have everything in the dependency section.
Here are the complete pom files.
Note that "mylib" is "msm-lib-acs" and "myapp" is "msm-app-mcs" (I am still
struggeling with the Maven naming conventions.):
*mylib aka msm-lib-acs, pom.xml:*
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www
ed by a String:
Class.forName ("org.postgresql.Driver");
How can you include all dependent libraries in the final app package?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop rece
This are the steps to reproduce the problem:
- create the project:
webAppCreator -templates sample,maven test.Application
- import as "Maven Project" into eclipse
- copy the above ui.xml file into the project
Magnus
--
You received this message because you are subscri
e red error symbols in eclipse is
boring and may hide real errors...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@go
>
> @Magnus: I think you could fix that issue in Eclipse by disabling XML
> validation.
>
It's true that the problem only exists inside eclipse. The maven project
compiles without errors on the command line.
But if the error results from XML validation: Why doesn't ecli
Ok, and when doing it the "usual" way - placing the resources in
src/main/resources - can you shorten the references inside the ClientBundle
java file somehow, i. e. avoid to specify the whole path for every resource?
Thanks
Magnus
--
You received this message because you are sub
have them near the ClientBundle java file.
How do you do this?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubsc
dependencies in the pom.xml file? Which dependencies are
important?
And why is the same UIBinder xml file ok in the non-maven project?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop rec
This is my UIBinder xml file:
(It works within the old project)
http://dl.google.com/gwt/DTD/xhtml.ent";>
...
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscri
s are handled like java source files.
What's the problem here?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@
Thank you very much!
This is great!
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to
contain:
clientstuff/MyDialog.java
clientstuff/MyWindow.java
How can I do that?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-w
No more posts here?
It should be a very common problem...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@google
Ok, thank you! :-)
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-
files). Maven does all of this
automatically.
It's just the last step that is missing, i. e. working together with maven
and eclipse...
Magnus
On Thursday, March 16, 2017 at 6:28:05 PM UTC+1, Rodolfo Raya wrote:
>
> I have several Java libraries shared by different applications, inclu
;s still unclear, how the development process looks like,
especially when you have a separate library project.
Please show me, if this is written down somewhere.
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubs
ng my evauation with a simple GWT project and a separate library I have
seen several problems like this.
But I think it's better to discuss this in a new thread, since it has
nothing to do with the problem stated in the subject...
Magnus
--
You received this message because you are subscribed
No ideas?
If you saw this error, what would you do next?
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post t
On Wednesday, March 15, 2017 at 7:58:00 AM UTC+1, Thomas Broyer wrote:
>
> This is in a Chrome extension (apparently FBDown Video Downloader), not in
> your app.
But chrome shows "App.html" (my app's entry point) as the source of the
error on the right?
--
You received this message because yo
*Output of eclipse: "Run As - GWT Development Mode with Jetty":*
Running CodeServer with parameters: [-noprecompile, -port, 9876,
-sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir,
/home/warker/dvl/prj/min/test-app/target/test-app-1.0-SNAPSHOT, -logLevel,
INFO, -style, OBFUSCATED, test.A
onFailure" are greyed, so that I cannot set any breakpoints there.
The applications runs fine when started with maven like this:
mvn clean compole package gwt:devmode
I also have tried to do a "Refresh" in eclipse, but the application keeps
running into that error, but only when
mode. But this doesn't seem to have any effect of what you see
in chrome.
How can I examine what's causing the error?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and s
Thank you!
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@
Update:
gwt-servlet.jar exists in war/WEB-INF/lib/
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this
And finally: How can I eliminate this warning?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegr
ve that code as well. It's
> basically the "serve your files yourself" mode.
>
How do you quickly provide such a server? Can eclipse do this or are there
maven goals?
What are the benefits of option 1?
Thanks
Magnus
--
You received this message because you are subscri
#x27;t find any GWT Modules on this page.".
While the documentation is very verbose for "GWT Development Mode with
Jetty", it doesn't show in detail how to use "GWT Development Mode".
What am I missing?
Thanks
Magnus
--
You received this message because you are
>
> But this is the documentation of the plugin, not the documentation of the
> archetype. Follow the archetype documentation, or one of the Brandon
> tutorial. 👍😊
Ok, I see: The plugin can be used in any maven project and the archetype is
just one template for them...
Thanks
--
You recei
be glad if you could fix this...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this
GWT run configuration after choosing on of the
> entries in the context menu you have shown in your previous mail. If you
> configure it and open the GWT section you will see that you have no
> available modules
>
This is correct. But I cannot add any modules in this dialog.
Magnus
--
Hello,
no more posts here? :-)
I have looked inside some pom.xml files. What if really beginning from
scratch, like Thomas recommended? How would you modify a pom.xml so that
you can start a debugging session in eclipse?
Magnus
--
You received this message because you are subscribed to the
the pom.xml file and Maven does all the rest. However, I never used many
GWT modules in my projects and for my first steps with Maven I would like
to have something equivalent. I am sure that this would be important for
many new users.
Now that all my tools are up to date, there must be an
ted? Where can I find the new one?
Anyhow, I would prefer to create the project outside eclipse (like shown in
the documentation above). How can I do that?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from
can clarify
this...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send
hould not be essential to project creation.
Given that you can run the project with "mvn gwt:run": Can you add the
debug launchers manually?
What about "mvn eclipse:eclipse", which shouldn't be used anymore, as told
in another thread?
Thanks
Magnus
--
You receive
e present.)
The project was created like this:
mvn archetype:generate \
-DarchetypeGroupId=org.codehaus.mojo \
-DarchetypeArtifactId=gwt-maven-plugin \
-DarchetypeVersion=2.8.0
Then, it was imported into eclipse by selecting "Import existing maven
projects".
What's
hem manually to the pom.xml file? I thought that
everything is generated when using the maven artefact?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an ema
>
> Those aren't errors, they're logs to the standard error (stderr) that the
> plugin routes as Maven error logs.
Hello Thomas,
thank you! Can you fix this somehow?
I am sure that you'll miss real errors then...
Magnus
--
You received this message because you are
is opened.
Why am I getting those errors?
Thanks
Magnus
$ mvn gwt:run
[INFO] Scanning for projects...
[INFO]
[INFO]
[INFO] Building Maven Archetype
e option didn't come back. So my
eclipse installation (Mars) seems to be corrupted now?
(I did the installation as recommended by starting eclipse as root first.)
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To u
econd
paragraph it refers to installing the plugin with the eclipse UI.
What's the right way then?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, s
Hello Juan,
sorry, it seems that I didn't point out that my problem is solved!
After executing "mvn eclipse:eclipse" the errors are gone!
So what's wrong with "eclipse:eclipse" then?
Thanks
Magnus
--
You received this message because you are subscribed to the Go
" and this .classpath file was
regenerated with the correct gwt version!
Is this the way to go? Sorry, I am still new to maven...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop rece
library project.
The library project is a maven project with server-side and client-side
(GWT) code. I upgraded it to GWT 2.8.0 by editing the pom.xml and executing
"mvn package".
Where should I look next?
Thanks
Magnus
--
You received this message because you are subscribed to the
Hello,
after upgrading a project from GWT 2.7.0 to GWT 2.8.0 I and when compiling
with the GWT compiler using the -strict option, I get a lot of errors like
this:
Tracing compile failure path for type 'java.util.stream.Stream'
[ERROR] Errors in
'jar:file:/home/mag
ill do not set the groupId and artefactId correcty...
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.c
Hi Juan!
It's only enabled in Project explorer view (in package explorer view
> doesn't work)
>
You're totally right! I didn't use the project explorer view before, but it
shows the hierarchical structure of the project!
This seems to be a solution for me.
Thanks!
Hi Juan,
thanks, but my package presentation is already set to "hierarchical".
I would be glad if I could fix this with an eclipse setting...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from
4 top-level projects in
eclipse?
<https://lh3.googleusercontent.com/-apfbNjwrVis/WKHZkYUXxeI/ALY/RhSKJiW088wqjn9LPYzy5rl7HxIfCBO9QCLcB/s1600/Maven.png>
This is a problem for me...
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Hello,
thank you! It looks interesting.
But I think it would be better to be independend of a web page, wouldn't it?
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails f
y projects. (Can you avoid this?)
I know that there are several methods of using maven with eclipse and that
there are different plugins.
Maybe the errors I saw with Codehaus result from this.
However, what can you recommend?
Thanks
Magnus
--
You received this message because you are subs
de code
while the client is making RPC calls...
How do you deal with such problems?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
to modify the pom.xml file to include the source code in the jar?
How is this done right?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
d then build
> two different jar's (one that only contains GWT code, and another only
> containing code incompatible to GWT) by reading the annotation. That is
> basically the approach Guava uses to build guava.jar and guava-gwt.jar.
>
Sounds interesting. Where can I read about t
GWT compiler then would "ignore" the code under the
general folder, doesn't it?)
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
GWT-related libraries present in the application.
Can I do this or must I keep the both libraries separated?
Thank you very much!
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving e
le the applications are not yet.
My plan is to also move the applications to Maven. But first they should
work in the intermediate step...
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this gro
which uses junit.
I would like to understand, why the GWT compiler "sees" the AppTest.java
file here?
Thank you
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails
e; did you forget to inherit a required module?
[ERROR] Aborting compile due to errors in some input files
What's going on here? Why does the GWT compiler see the test folder,
allthough there is no *.gwt-xml file referencing it?
How can I resolve the problem?
Thanks
Magnus
--
You received
On Monday, November 14, 2016 at 11:06:19 AM UTC+1, Thomas Broyer wrote:
>
>
>
> On Monday, November 14, 2016 at 10:51:35 AM UTC+1, magnus@raybased.com
> wrote:
>>
>> I have some problems when using a CellTree within a DataGrid.
>> Everything works except w
I have put a GWT-CellTree in a DataGrid. It works except for one thing:
When clicking on the tree-expand-icon, nothing happens.
How can this be fixed ?
best regards, Magnus
package com.raybased.gwt.configtool.client.grid;
import com.google.gwt.core.client.EntryPoint;
import
I have some problems when using a CellTree within a DataGrid.
Everything works except when clicking on the tree, nothing happens.
I would expect the tree to expand/retract.
Does anyone know of a solution ?
best regards, Magnus
package com.raybased.gwt.configtool.client.grid;
import
nment?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to goo
On Thursday, May 19, 2016 at 7:12:59 PM UTC+2, Jens wrote:
>
> Don't implement Comparable in your shared class but instead use
> Collections.sort(List, Comparator) on your server. The comparator can then
> only live on the server.
>
This works fine! Thank you!
Magnus
-
f not, how would you solve this?
Thanks
Magnus
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to t
ent.awi.setParameter(...)
the problem was solved.
I will now stop using such confusing names.
However, something must have changed. This code worked until spring 2015. I
wonder why it stopped working then...
Magnus
--
You received this message because you are subscribed to the Google Groups &q
1 - 100 of 723 matches
Mail list logo