I much prefer dependency management over modifying ant build scripts. Do you guys foresee any issues using the gwt-maven-plugin and the scala compiler plugin with the newest versions of these jars? (And, obviously, the appropriate parameterization for the two of them?)
https://github.com/anovstrup/scalagwt-sample/tree/sbt
The branch will need to merge from the latest master, obviously.
I'm willing to test building with Maven in a couple of days. (Maven
support is essential for my group at the moment.)
On 04/04/2012 02:03 PM, Grzegorz Kossakowski wrote:
> On 4 April 2012 18:55, Nate Bauernfeind
> <nate.bau...@gmail.com <mailto:nate.bau...@gmail.com>>
> wrote:
>
> I much prefer dependency management over modifying ant build
> scripts. Do you guys foresee any issues using the gwt-maven-plugin
> and the scala compiler plugin with the newest versions of these
> jars? (And, obviously, the appropriate parameterization for the
> two of them?)
>
>
> Hi Nate,
>
> Good to see you again. :-)
>
> I think Maven should work just fine. I heard from Josh that he
> fixed Maven plug-in for scala compiler to work with master version
> of Scala so you definitively should look for version that includes
> that fix (I believe it's just a latest release).
>
> Let us know how it went. Probably forking samples and trying to
> compile with Maven would be a great exercise. If something doesn't
> work with Scala compiler then let me know. I might be able to
> help.
>
> PS. I'd like to merge your uibinder work into scalagwt branch as
> outlined before
> <https://groups.google.com/d/msg/scalagwt/UaJg9riNmDo/lrWVB0RG6iwJ>.
> Did you test your changes with Showcase sample? Would like to work
> on porting bits that depend on UiBinder from Java to Scala?
>
> -- Grzegorz Kossakowski
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk98qPwACgkQ5IyIbnMUeTu4sgCfaKiCoV6O+TwTltgrVHLzKKB+
qbIAn2tn4nqx5p0EgWAvvyzBZ+xzgbJ0
=qu5U
-----END PGP SIGNATURE-----
My current finding is that the plugin refuses to like the version "2.10.0-scalagwt-SNAPSHOT" and consistently tries to strip off the SNAPSHOT part before resolving the dependency. "2.10.0-SNAPSHOT" is completely fine though. I'm using version 2.15.2 of the maven-scala-plugin. So that's pretty annoying.
Also, another issue I have is that if I run "ant distpack-maven" on scalagwt-scala all targets that include scaladoc tags usually end in a java out of heap space exception. I can't seem to modify the jvm.args and have it take that into account. I've gotten around this by removing all instances of that tag.