-Ray
Incidentally, I maintain a parallel build system based on SBT (which I
hate almost as much as I hate Maven, but slightly less, therefore it's
an improvement). I also maintain a build system for the samples based
on Ant (which I hate about as much as I hate Maven). I (and others)
also work pretty hard to keep things working out of the box for
Eclipse users.
Everything uses Maven to resolve dependencies because there is no
alternative (other that the one Ray pointed out which I hope we can
all agree is an extremely bad idea).
So we're spending a heck of a lot of effort to shield people from the
complexities of the build system, and to support whatever favorite
build system or IDE someone shows up with. Sometimes the rough edges
poke out, but there's nothing we can do about that other than to
notice when that happens and sand them down, like we always do.
Also, for Flash, because of classpath shadowing, there may be other
issues. It's an option we could do, we could add a jarjar rule to
maven to make it for those folks.
My experience with GWT, is that GWT-dev which uses the jar-jar
approach has been a big problem, and we're actually looking at
splitting it up into smaller functional pieces.
-Ray
--
~ Seize the moment
-- Richard
--
~ Seize the moment
If someone is willing to write a maven plugin to build a working
"all-deps-shipped" distro then we have an alternative for the
non-maven folks. Yay! That still has to be maintained though and it's
going to be wretched thankless work.
The rationale for the current state of things was explained by Michael
Bayne in response to a different question from me:
QUOTE:
On Fri, Apr 13, 2012 at 10:24 AM, Darrin Thompson <darr...@gmail.com> wrote:
> What do you use instead? How much better does it work?
I use Maven to define the project metadata. Then I use Maven to do the
actual builds when I want reproducible builds that generate artifacts
(i.e. jars) that are tagged with the appropriate metadata and shipped
to a Maven repository (either local or corporate or public/Maven
Central) so that they can be used in other projects with zero manual
steps.
I use SBT (for which I've written plugins to read Maven project
metadata) for fast incremental building and testing.
I strongly believe that building a project should not be coupled to
editing the source code and IDEs are perpetrating a terrible crime by
combining these things. I happen to use Emacs, but it should not
matter what editor I want to use. I should be able to build and run a
project without getting any sort of IDE or code editor involved. This
is especially important when "I" am a continuous build server.
...
...
/QUOTE
There's more in the thread named: "GL ES 2.0 progress / access"
I really don't mind Maven myself. I can see why some people hate it,
and some of my co-workers are Maven problem magnets. But the bottom
line is that my day job project would be much harder without it.
Another possiblity might be adding a maven plugin to validate the
user's build environment. Are their android papers in order? Is the
GWT compiler properly unpacked for use (or is that a GAE thing)? Is
IKVM around?
It would work sort of like an Autotools configure script (now there's
a "now you have two problems" solution) except it wouldn't have to
output anything. It would just fail fast with usable information for
the user.
--
Darrin
Stuff will be annoying for awhile. Eventually, the out of box
experience will be more pleasurable.
Anyway who wants to contribute crazy alternative build scripts, I
think we'll all open to it. They can live parallel with maven.
-Ray
Maven is a good tool, of course isnt perfect. As Mickael said I have found that the best way to work my playN projects is to code in any ide, editor and compile with maven in a terminal.
If anyone using Eclipse is willing to make a jump to another IDE, I've been using Netbeans for years and it works very well with Maven. I've never had any issues with building PlayN with it. I've tried many times to go to Eclipse over the last 5 years because so many people seem to be using it and so many integrated plugins seem to be developed for it, but it doesn't take long for me to get frustrated and ditch it. I originally started evaluating PlayN with Eclipse and had nothing but trouble. I then moved back to Netbeans and everything just worked.