Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
GWT 1.6 with Maven and build system questions/survey...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 46 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Benju  
View profile  
 More options Apr 9 2009, 11:03 am
From: Benju <b...@fastcastmedia.com>
Date: Thu, 9 Apr 2009 08:03:41 -0700 (PDT)
Local: Thurs, Apr 9 2009 11:03 am
Subject: GWT 1.6 with Maven and build system questions/survey...
I am curious if anybody using Maven+GWT has tried moving to GWT 1.6
yet.  I noticed there is no public repository containing the 1.6
realease only RC, Beta, and Milestones.  I can always manually deploy
GWT to our internal repository but it's a bit of a pain.

Also, if anybody is using GWT+Maven who prefers the Codehaus plugin
and who the Google Code GWT-Maven plugin?  From what I understand
these two Maven plugins are merging in the long term so that only the
Codehaus plugin will be actively developed.

Finally I would also like to post the following question to the GWT
community.  What do you use for setting up your builds?  I've always
been of the opinion that a good build system is of cardinal
importance, especially on larger projects.  At this time I have seen
the following options...

Hand written Ant file
-Calling the GWT compiler directly
-Maven
    -with the codehaus plugin (http://mojo.codehaus.org/gwt-maven-
plugin/)
    -with the Google Code GWT-Maven plugin (http://code.google.com/p/
gwt-maven/)
-Intellij Idea's built in GWT support
-eclipse with special GWT support (I believe some plugins exist
including the recently released Google one)
-Netbeans gwt4NB (https://gwt4nb.dev.java.net/)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Strauss  
View profile  
 More options Apr 9 2009, 7:25 pm
From: Tony Strauss <tony.stra...@designingpatterns.com>
Date: Thu, 9 Apr 2009 16:25:28 -0700 (PDT)
Local: Thurs, Apr 9 2009 7:25 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
I also believe in the importance of build systems!  :)

My company's current project (medium size, about 32,000 lines of code)
uses a handwritten Ant build system.  We do, however, use the Maven
Ant tasks to manage our project's external dependencies.  In addition
to using Ant in our builds, we also use it for most of our deployment
tasks.  We develop on Windows (eclipse) and Linux (command-line and
emacs), and the build system accommodates this.

From our build files, we:
1.) Call the GWT compiler directly.
2.) Massage the output to fit our deployment needs.
3.) Run jetty
4.) Run GWT hosted mode (with --noserver, which then interacts with
the jetty instance from step 3).

In general, I'm pretty happy with the build system.  It is flexible
enough for our needs, and is smart enough to build only what it needs
to.  It is, however, a large portion of our code base (about 4,000
lines of Ant XML, which is over 10% of the code base).

Tony
--
Tony Strauss
Designing Patterns, LLC
http://www.designingpatterns.com
http://blogs.designingpatterns.com

On Apr 9, 11:03 am, Benju <b...@fastcastmedia.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
maku  
View profile  
 More options Apr 10 2009, 1:40 am
From: maku <martin.k...@gmx.at>
Date: Thu, 9 Apr 2009 22:40:25 -0700 (PDT)
Local: Fri, Apr 10 2009 1:40 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
Currently we use maven and http://code.google.com/p/gwt-maven/ for our
build process.

When we upgrade to GWT 1.6 we will check the codehaus plugin and how
the new Google Eclipse plugin + new app structure can be used in a
more comfortable way.

Regards,
Martin

On Apr 9, 5:03 pm, Benju <b...@fastcastmedia.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
johann_fr  
View profile  
 More options Apr 10 2009, 5:52 am
From: johann_fr <johann.vanack...@gmail.com>
Date: Fri, 10 Apr 2009 02:52:49 -0700 (PDT)
Local: Fri, Apr 10 2009 5:52 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
Hi,

I just tried to enable maven dependencies management with google
eclipse plugin and m2eclipse. The plugin complains about project
output folder not set to war/WEB-INF/classes.

I know I can switch my maven project output, but is there any chance
the plugin can be set up to adapt to my project layout in a near
future ? I want to stick to standard maven project layout.

GWT should really take care of beeing well integrated with existing
build tools and plugins. We can not always bend our projects just to
keep GWT tooling happy...

Regards,
Johann

On Apr 10, 7:40 am, maku <martin.k...@gmx.at> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Hadsell  
View profile  
 More options Apr 12 2009, 9:55 am
From: Alan Hadsell <ahads...@gmail.com>
Date: Sun, 12 Apr 2009 06:55:05 -0700 (PDT)
Local: Sun, Apr 12 2009 9:55 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
We were using Maven "because that's what everyone uses", but found
that it did not meet our needs.

  *  It requires a great deal of configuration to properly build a GWT
project
  *  The tools to integrate Maven/GWT/Eclipse are always in a state of
flux
  *  Some of the really nice stuff in Maven (documentation, etc.)
doesn't work well in a GWT project

We switched back to Ant, using Ivy for external dependency management,
and have been much happier.  Ivy's dependency "configurations" are
much more flexible than Maven's "scopes", and for a GWT project the
additional flexibility is needed.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Kurka  
View profile  
 More options Apr 12 2009, 1:35 pm
From: Daniel Kurka <kurka.dan...@googlemail.com>
Date: Sun, 12 Apr 2009 19:35:36 +0200
Local: Sun, Apr 12 2009 1:35 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

Currently we are trying to update our buildsystem from gwt 1.5 + gwt-maven
from google code

We are trying to use the trunk of gwt-maven from codehaus since those two
plugins are merging.

We were able to sucessfully compile a gwt project, but we still have some
open issues.

Has anyone a working installation of GWT 1.6 and Maven?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
olivier nouguier  
View profile  
 More options Apr 12 2009, 2:51 pm
From: olivier nouguier <olivier.nougu...@gmail.com>
Date: Sun, 12 Apr 2009 20:51:46 +0200
Local: Sun, Apr 12 2009 2:51 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

On Sun, Apr 12, 2009 at 7:35 PM, Daniel Kurka
<kurka.dan...@googlemail.com>wrote:

> Currently we are trying to update our buildsystem from gwt 1.5 + gwt-maven
> from google code

> We are trying to use the trunk of gwt-maven from codehaus since those two
> plugins are merging.

> We were able to sucessfully compile a gwt project, but we still have some
> open issues.

> Has anyone a working installation of GWT 1.6 and Maven?

Yes (mac os x, during week) linux && zindozs during week.


--
   “There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way is
to make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.”

   Sir Charles Anthony Richard Hoare


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gabriel Guerrero  
View profile  
 More options Apr 13 2009, 7:03 am
From: Gabriel Guerrero <gabrieldavidguerr...@gmail.com>
Date: Mon, 13 Apr 2009 04:03:43 -0700 (PDT)
Local: Mon, Apr 13 2009 7:03 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
I use maven and GWT, and I just moved to GWT 1.6.4 they are published
I think in maven central repo, I use the antrun plugin to compile and
run the HostedMode in debug mode, I choose the antrun becase at the
time I started the project the maven gwt plugins where not mature
enough and I had not moved because the antrun is very simple and had
worked very well for me, by the way for those interested in using the
maven structure for GWT 1.6.4 , you have to pass -war /src/main/webapp
to the Compiler and HostedMode app to use the default maven structure

Cheers
Gabriel

On Apr 9, 4:03 pm, Benju <b...@fastcastmedia.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Salvador Diaz  
View profile  
 More options Apr 13 2009, 7:48 am
From: Salvador Diaz <diaz.salva...@gmail.com>
Date: Mon, 13 Apr 2009 04:48:06 -0700 (PDT)
Local: Mon, Apr 13 2009 7:48 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
I work in a smallish-medium agile environment (12 developers for 3
teams, ~6 GWT 1.5 projects, of which 3 are actively developed during
an iteration) and we happily use maven to manage our projects'
lifecycles.

We used to compile our GWT app with the gwt-maven-plugin hosted at
google code but we recently moved to the mojo one (the merge between
the 2 plugins is finished as far as I can tell in version 1.1-
SNAPSHOT). The configuration is simpler and environment-agnostic (no
need to specify one profile for each OS, the plugin detects the OS and
sets up the correct dependencies automatically). We use the maven
project structure:
* sources in src/main/java
* unit tests sources in src/test/java
* resources in src/main/resources (including GWT module configuration,
html, css and image files, as well as text bundles (for localization
and such))
* war related files in src/main/webapp (currently only WEB-INF/
web.xml)

We set the GWT compiler to output files to target/gwt and then the war
plugin assembles the war file merging src/main/webapp and the gwt
compiler output. The resulting war is immediately deployable on a
tomcat.

We code in eclipse and let the m2eclipse plugin configure the project.
For debugging we create an eclipse launcher manually for each OS
(normally there's a goal in the gwt-maven-plugin to create a launcher
but we haven't tested it as the launcher doesn't change much over
time), and we add the following to the classpath: the project, the
maven classpath, the src/main/resources folder and the OS specific gwt-
dev jar

It all integrates very nicely and once the project is set up we rarely
think about configuration or building the project (as this is managed
automatically by a hudson build manager which polls the svn and builds
the war and deploys it when necessary). We can really concentrate in
coding with this setup.

I'm currently investigating the effort needed to migrate from GWT
1.5.3 to 1.6.4 and I have encountered some issues, mainly with the new
project structure and the hostedMode configuration. The new hosted
mode works quite differently, it now outputs the resource files
declared in the Module.gwt.xml file to a folder named like the module
(the location of this folder defaults to a folder named war at the
root of the project, but it can be configured with the argument -war)
and it now expects to find the WEB-INF folder and associated web.xml
file on that war folder. Currently I haven't managed to call RPC's due
to this change, but I guess I could configure the maven resources
plugin to copy the WEB-INF folder to the war folder during the process-
resources phase. I'll let you know if this works.

Cheers,

Salvador

PS: If you're interested in the project configuration I described
here, you can check out one of my pet projects at http://code.google.com/p/hellagwt/.
If you need any help with maven-gwt integration, I'll be glad to
answer any questions in this thread.

On Apr 12, 8:51 pm, olivier nouguier <olivier.nougu...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peterman  
View profile  
 More options Apr 14 2009, 6:29 am
From: Peterman <pserr...@gmail.com>
Date: Tue, 14 Apr 2009 03:29:28 -0700 (PDT)
Local: Tues, Apr 14 2009 6:29 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

Hi

I was using a maven plugin (http://gwt-maven.googlecode.com/svn/trunk/
mavenrepo) with GWT 1.5.3 without Hosted Mode (in Linux the hosted
mode gives a firefox browser older and doesn't support gears, for
example), I generate a war and the copy it to a jboss server to test
it. I know that it is not very useful, but it is the problem for linux
users :(

But when I try upgrade to GWT 1.6 it doesn't work: crash in the test
task.

If anybody has the same problem, please contact with me.

thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benju  
View profile  
 More options Apr 14 2009, 5:39 pm
From: Benju <b...@fastcastmedia.com>
Date: Tue, 14 Apr 2009 14:39:32 -0700 (PDT)
Local: Tues, Apr 14 2009 5:39 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
I find it somewhat odd that the GWT team does not just create an
official maven plugin.  They can program the most amazing Java to
Javascript cross compiler, have the most shiny widgets and speedy RPC
services but if people are left in the dark as to how to build the
bloody thing it will never be used!  Who agrees that having a solid,
feature complete Maven plugin from Google would increase adoption of
GWT faster than anything?

I used a great starter application created by Sam Brodkin...

http://code.google.com/p/gwt-maven2-starter-app/

It served as a good starting point for building my application in
Maven2.  I use Teamcity for continuous integration which at this early
stage essentially means building the project, running one unit test,
and spitting out an artifact every time the SVN is updated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeff Chimene  
View profile  
 More options Apr 14 2009, 6:13 pm
From: Jeff Chimene <jchim...@gmail.com>
Date: Tue, 14 Apr 2009 15:13:18 -0700
Local: Tues, Apr 14 2009 6:13 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
On 04/14/2009 02:39 PM, Benju wrote:

> I find it somewhat odd that the GWT team does not just create an
> official maven plugin.  They can program the most amazing Java to
> Javascript cross compiler, have the most shiny widgets and speedy RPC
> services but if people are left in the dark as to how to build the
> bloody thing it will never be used!  Who agrees that having a solid,
> feature complete Maven plugin from Google would increase adoption of
> GWT faster than anything?

Maybe file an enhancement request?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Salvador Diaz  
View profile  
 More options Apr 15 2009, 3:20 am
From: Salvador Diaz <diaz.salva...@gmail.com>
Date: Wed, 15 Apr 2009 00:20:10 -0700 (PDT)
Local: Wed, Apr 15 2009 3:20 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

> >  Who agrees that having a solid,
> > feature complete Maven plugin from Google would increase adoption of
> > GWT faster than anything?

I think the google team is focusing in the basics first, and that
implies not being able to deliver all the goodies at the same time, I
think it all fits rather nicely with the agile mantra: deliver early,
deliver often. If they tried delivering the Eclipse plugin (and all
other popular IDEs' plugins for that matter) and the maven plugin at
the same time they deliver the actual product (GWT) they couldn't
possibly deliver that often. Not to mention that they don't seem to be
maven people, they're rather ant users, so why not leave it to the
community, in true open source spirit, to build the tools they need,
they even help out when there's something that doesn't work nicely
with our tools (one of the issues resolved in 1.6 was specifically
adressed to allow a nicer maven integration), I don't think we can
possibly ask for more cooperation from them.

> Maybe file an enhancement request?

I totally agree with Jeff, if you think a great maven plugin would
help with adoption, why not try the one from the mojo project (which
is quite nice by the way) and report any issues that you find with it.
I don't think we can have a more official plugin than that (after all,
they're the maven experts, not google )

Cheers,

Salvador


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benju  
View profile  
 More options Apr 15 2009, 3:39 pm
From: Benju <b...@fastcastmedia.com>
Date: Wed, 15 Apr 2009 12:39:37 -0700 (PDT)
Local: Wed, Apr 15 2009 3:39 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
On second though I think I agree with Salvador.  Looking closer at the
Codehaus plugin it should do the job job in the long term.

On Apr 15, 1:20 am, Salvador Diaz <diaz.salva...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Kurka  
View profile  
 More options Apr 15 2009, 5:04 pm
From: Daniel Kurka <kurka.dan...@googlemail.com>
Date: Wed, 15 Apr 2009 23:04:11 +0200
Local: Wed, Apr 15 2009 5:04 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

I invested more ore less 8h and dont have a wokring configuration of the
trunk of the mojo gwt plugin and gwt 1.6

Some things work, but many don't. Kinda anoying...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Willard  
View profile  
 More options Apr 15 2009, 11:33 pm
From: Keith Willard <Keith.Will...@gmail.com>
Date: Wed, 15 Apr 2009 20:33:53 -0700 (PDT)
Local: Wed, Apr 15 2009 11:33 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
Where is the snapshot respository where the versions 1.1-SNAPSHOT
codehaus gwt-maven-plugin lives?  only the 1.0 is in the central
repository.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Murray Waters  
View profile  
 More options Apr 16 2009, 2:50 am
From: Murray Waters <murray.wat...@gmail.com>
Date: Wed, 15 Apr 2009 23:50:02 -0700 (PDT)
Local: Thurs, Apr 16 2009 2:50 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
It is in the snapshots repository.

http://snapshots.repository.codehaus.org/org/codehaus/mojo/gwt-maven-...

You will need to add the repository as http://snapshots.repository.codehaus.org/
I believe.

On Apr 16, 12:33 pm, Keith Willard <Keith.Will...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
johann_fr  
View profile  
 More options Apr 16 2009, 4:09 am
From: johann_fr <johann.vanack...@gmail.com>
Date: Thu, 16 Apr 2009 01:09:11 -0700 (PDT)
Local: Thurs, Apr 16 2009 4:09 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
I totally agree on the fact that gwt team should not provide the maven
plugin, the codehaus one can do the job. They should just take care of
beeing able to integrate with any build system.

My problems with the current google eclipse plugin :
* If you enable gwt support on your project, GWT SDK library is
automatically added to the project, event if you already manage your
dependencies with maven. You should be able to configure if you want
the sdk to be included or not.
* The plugin complains about output directory not set to "war/WEB-INF/
classes". We should be able to configure this in order to work in a
standard maven way.

Johann

On 16 avr, 08:50, Murray Waters <murray.wat...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Salvador Diaz  
View profile  
 More options Apr 16 2009, 4:33 am
From: Salvador Diaz <diaz.salva...@gmail.com>
Date: Thu, 16 Apr 2009 01:33:42 -0700 (PDT)
Local: Thurs, Apr 16 2009 4:33 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

> * If you enable gwt support on your project, GWT SDK library is
> automatically added to the project, event if you already manage your
> dependencies with maven. You should be able to configure if you want
> the sdk to be included or not.
> * The plugin complains about output directory not set to "war/WEB-INF/
> classes". We should be able to configure this in order to work in a
> standard maven way.

Those are pretty good remarks, and worth of opening an issue in the
issue tracker. We could do it the other way round though, and let the
maven plugin configure everything to conform to GWT's expectations,
remember that Googlers are not really maven guys.

Cheers,

Salvador

On Apr 16, 10:09 am, johann_fr <johann.vanack...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Kalmenson  
View profile  
 More options Apr 16 2009, 8:48 am
From: Arthur Kalmenson <arthur.k...@gmail.com>
Date: Thu, 16 Apr 2009 08:48:33 -0400
Local: Thurs, Apr 16 2009 8:48 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
It would definitely be nice if the Google Eclipse plugin was build
system agnostic, or at least gave you more configuration options.
Maybe we should just file a issue with the Google Eclipse plugin (I
can't find the Google Code project...)?

--
Arthur Kalmenson


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Renouf  
View profile  
 More options Apr 16 2009, 9:27 am
From: Mark Renouf <mark.ren...@gmail.com>
Date: Thu, 16 Apr 2009 06:27:56 -0700 (PDT)
Local: Thurs, Apr 16 2009 9:27 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
The maven-gwt-plugin from codehaus is looking quite good at this
point. I recommend trying 1.1-SNAPSHOT.

I just reported an issue with running unit tests (which has been fixed
in SVN, waiting on a new SNAPSHOT build). With that it does absolutely
everything I've expected (on all platforms, without local
configuration) and with very minimal setup (add the plugin, add a
dependency on gwt-user, done).

The one remaining issue is the new build output format (WAR), and how
resources are deployed. I'm totally against having GWT compile
directly into /src/main/webapp. It's completely against the principles
of keeping your source tree clean and putting all artifacts under
target. If you stick with traditional maven approach, it means you
need to execute war:exploded first before launching hosted mode (and
again if you want to change something without restarting the hosted
mode).

The other approach is stick with src/main/webapp and make sure the
clean plugin cleans out all GWT generated files. Again, this is really
not the right approach :-(

On Apr 16, 8:48 am, Arthur Kalmenson <arthur.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Salvador Diaz  
View profile  
 More options Apr 16 2009, 9:46 am
From: Salvador Diaz <diaz.salva...@gmail.com>
Date: Thu, 16 Apr 2009 06:46:10 -0700 (PDT)
Local: Thurs, Apr 16 2009 9:46 am
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

>  I'm totally against having GWT compile
> directly into /src/main/webapp. It's completely against the principles
> of keeping your source tree clean and putting all artifacts under
> target. If you stick with traditional maven approach, it means you
> need to execute war:exploded first before launching hosted mode (and
> again if you want to change something without restarting the hosted
> mode).

I think your remarks are worth for filing a new issue. Somewhere in
the 1.6 announcement, Googler Miguel Méndez asked "What aspects would
you need to be able to change in order to make the plugin more Maven
friendly? " (http://groups.google.com/group/Google-Web-Toolkit/msg/
9a3b994595f129db)? Yours is a pretty good response to that question.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Bishop  
View profile  
 More options Apr 16 2009, 2:00 pm
From: Matt Bishop <m...@re-entry.ca>
Date: Thu, 16 Apr 2009 11:00:08 -0700 (PDT)
Local: Thurs, Apr 16 2009 2:00 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...
One of the big wins with Maven is the "rigid" directory structure,
where source files of all stripes are in src/ and build outputs are in
target/. It's good practice because it doesn't allow for intermingling
source files and build files.

The new GWT war/ dir next to src/ problematic because you have to be
careful how you clean up.  I can see many an "aaargh!" being screamed
out in the early morning hours when a tired developer discovers a bug
in her ant script, or when he trashes the war/ dir accidentally.

I would much rather have seen src/java and src/war (better yet, src/
webapp) and the HostedMode compiler would copy src/webapp to war/
before compilation. It would be a whole lot safer and wouldn't really
cost that much, even for large projects with a whole lotta webapp/**


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
P.G.Taboada  
View profile  
 More options Apr 17 2009, 1:05 pm
From: "P.G.Taboada" <pgtabo...@googlemail.com>
Date: Fri, 17 Apr 2009 10:05:47 -0700 (PDT)
Local: Fri, Apr 17 2009 1:05 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

> The one remaining issue is the new build output format (WAR), and how
> resources are deployed. I'm totally against having GWT compile
> directly into /src/main/webapp. It's completely against the principles
> of keeping your source tree clean and putting all artifacts under
> target. If you stick with traditional maven approach, it means you
> need to execute war:exploded first before launching hosted mode (and
> again if you want to change something without restarting the hosted
> mode).

I totally agree here. The "old" GWt build proceding was naive and we
needed twirks to get it running. When I first heard of the new
structure I was really happy: GWT is growing up! But than I had a
closer look at it and I could not believe it! How can the GWT
developer be so genious and so naive at the same time??? How could
they miss that point? Don't they use their own dog food? Did they
never see how projects are build outside? Or do they use something we
don't know?

It is hard to argue to get resources/ time/ budget for a build
infrastructure change.
We need budget now, because GWT 1.6 does it differently - and you know
what? It is naive again! We will need budget again!
We will probably need to wait for GWT 1.7, GWT 1.8, GWT 1.9, GWT 2.0
to have this issue fixed.

I can't tell how disappointed I am.

brgds,

P.G.Taboada


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Kurka  
View profile  
 More options Apr 17 2009, 4:22 pm
From: Daniel Kurka <kurka.dan...@googlemail.com>
Date: Fri, 17 Apr 2009 22:22:45 +0200
Local: Fri, Apr 17 2009 4:22 pm
Subject: Re: GWT 1.6 with Maven and build system questions/survey...

same here...

2009/4/17 P.G.Taboada <pgtabo...@googlemail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 46   Newer >
« Back to Discussions « Newer topic     Older topic »