Wednesday, February 2, 2011

Re: [MAVEN] Add org.json:json dependency to gwt-servlet

Yes, now I see, why isn't it included.. :(

Then what about a gwt-requestfactory-dep project? IIRC there is something like gwt-servlet-deps.jar or something for non-maven developers, then maybe there could be made some fake-projects for these issues?

Or maybe refactoring GWT to more little projects like gwt-requestfactory, so com.google.gwt.requestfactory package could go there.

I see the pros and cons, but currently it seems to be a little hacky defining manually the dependencies.

Thomas, yes I know it needs javax.validation aswell, but fortunately I depend on javaee-api 6.0 artifact, and it's included there ;)


I'm open for more inputs, and discussion about this. Thanks!

On Wed, Feb 2, 2011 at 6:10 PM, David Chandler <drfibonacci@google.com> wrote:
These are deliberately not included in the gwt-servlet pom because they're only required if you're using RequestFactory. Go ahead an open an issue and we can get input there.


On Wed, Feb 2, 2011 at 11:59 AM, Thomas Broyer <t.broyer@gmail.com> wrote:
RequestFactory also needs javax.validation; but if you don't use RequestFactory you don't need these dependencies. In other words, if they ever get added, they have to be <optional>true</optional> (and you'll have to explicitly add them to your pom.xml anyway, but at least the gwt-servlet pom.xml somehow "documents" it).

(and I think you should either post on the GWT-Contributors group or open an issue)

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Üdv,
Kriván Bálint

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment