Hello All,

I'm playing with the src of GWT in these days to try out some hack, using 
Maven,
and while doing this I needed the GWT-Tools dependencies.

I've searched the dependencies in Maven Central 
Repo: http://search.maven.org/
but because some jar is rebased with JarJar, I've used maven-shade-plugin 
to rebase in the same way the dependencies I needed.

So, I came out with a "PoC" that proves it is possible to build (a subset 
of) GWT-Dev using dependencies based and rebased on maven.


As the actual way to manage the gwt-tools seems to be an "throw all in the 
bucket" approach,
with folders like Guava that includes 5 different versions:

Handwritten:gwt-tools cristcost$ ll lib/guava/:

total 0

drwxr-xr-x   7 cristcost  staff  238  2 Nov  2013 guava-10.0.1

drwxr-xr-x   5 cristcost  staff  170  2 Nov  2013 guava-15.0

drwxr-xr-x   5 cristcost  staff  170 30 Giu 09:51 guava-16.0.1

drwxr-xr-x   6 cristcost  staff  204 30 Giu 09:51 guava-18.0

drwxr-xr-x  10 cristcost  staff  340  2 Nov  2013 guava-r06


Wouldn't it make sense to define a maven project what represents the 
required libs and try to get rid of gwt-tools folder for the build?

In this way, retrieving the dependencies to build with ant could be done 
easily with the command:

mvn dependency:copy-dependencies
(and the project dependencies are downloaded into target/dependecies)


In a new message I'll share a synthesis with significant excerpt of pom.xml 
configuration required to make the PoC to work.

Cristiano



-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/d0792b09-b467-4d8f-936e-220bb0063422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to