I can't be the only one who is frustrated by creating a simple web application. I have downloaded the maven archetype. When I go to do a build the compiler complains that smartgwt-eval, isomorphic-network, and isomorphic-sql are missing. Maven does not recognize these dependencies. I can remove them and it builds fine. Are these jars needed for backend integrations? So far this is a thumbs down for this framework.
Announcement
Collapse
No announcement yet.
X
-
We don't know where you got a broken Maven archetype, but please limit your "thumbs down" to whomever gave it to you.
There's a Maven *plugin* being worked on in this thread.
-
Originally posted by eldobbs View PostI can't be the only one who is frustrated by creating a simple web application. I have downloaded the maven archetype. When I go to do a build the compiler complains that smartgwt-eval, isomorphic-network, and isomorphic-sql are missing. Maven does not recognize these dependencies. I can remove them and it builds fine.
Where are you trying to resolve your dependencies from? I suppose you've followed the instructions for mavenization from that wiki page (which will ultimately lead you to the plugin Isomorphic has pointed you at)?
Are these jars needed for backend integrations?
Comment
-
Originally posted by Isomorphic View PostWe don't know where you got a broken Maven archetype, but please limit your "thumbs down" to whomever gave it to you.
There's a Maven *plugin* being worked on in this thread.
Point noted. I AM excited to get coding using SmartGWT, it has been frustrating setting up a simple application using maven.
Thanks for the link. I have a question however.
I am interested in SmartGWT, and I notice in the link that you provided there is an xml element in the settings.xml isc.username, where do I get these credentials from? I am using the LGPL license.
Comment
-
That's your username for a SmartClient.com account. Use the "Register" link above to get one.
Note that the archetype at wiki.smartclient.com does not work with LGPL. The *plugin* does, we're not sure whether you actually need a SmartClient.com account, it may be sufficient to leave this blank as the download page doesn't actually require registration for LGPL. bbruyn may clarify whether it's truly required.
Comment
-
Originally posted by Isomorphic View PostThat's your username for a SmartClient.com account. Use the "Register" link above to get one.
Note that the archetype at wiki.smartclient.com does not work with LGPL.
- eliminate the dependencies you complained about before
- add a dependency on the artifact hosted in the smartclient repo, or use the Maven plugin to get an updated patch build. In case of the latter (which is what I'd recommend), you need com.isomorphic.smartgwt:smartgwt-lgpl
- remove the references to Pro+ servlets from the web.xml
- change the datasources so that they're not type="sql", or remove them (and references to them) altogether
- fix up the inherits at YourProject.gwt.xml
- do something interesting in onModuleLoad
The *plugin* does, we're not sure whether you actually need a SmartClient.com account, it may be sufficient to leave this blank as the download page doesn't actually require registration for LGPL. bbruyn may clarify whether it's truly required.
Comment
-
Grrrr....
Originally posted by Isomorphic View PostUhh good point. eldobbs, your isc.username is eldobbs :)
How do I create the most basic SmartGWT web application that I can deploy to a standalone Web container i.e. Tomcat?
I have the samples/built-in-ds project loaded into Elclipse. I can perform a GWT compile and run the application in hosted mode. However I would like to execute a build(I prefer Maven, but ...) using the build.xml file supplied with the source code for this project I get
"Errors occurred during the build. Errors running builder 'Google WebApp Project Validator' on project 'SmartGWT'. java.lang.NullPointerException
Essentially I all want to do is produce a .war file to deploy to a Tomcat server.
Thanks in advance
Comment
-
Now I have this error in the ant build
Originally posted by Isomorphic View PostUhh good point. eldobbs, your isc.username is eldobbs :)
I have verified that the GWT_HOME variable set properly
Comment
-
We're not reproducing this error, however, a common Windows gotcha with environment variables may be causing your issue: if you have a command prompt open, then changes to the Environment Variables settings only take effect when the command prompt is closed and re-opened.
You can see whether the GWT_HOME environment variable is properly set by running:
echo %GWT_HOME%
Comment
Comment