Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?
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
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Matt Raible  
View profile  
 More options Jun 24 2009, 2:02 pm
From: Matt Raible <mrai...@gmail.com>
Date: Wed, 24 Jun 2009 11:02:56 -0700 (PDT)
Local: Wed, Jun 24 2009 2:02 pm
Subject: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?
I tried posting this on the GWT mailing list[1], but got no response.

I have a 1.6 application that I build with the gwt-maven plugin (2.0-
beta26). I've successfully checked out and built GWT from trunk and
I'd like to use it in my project to 1) compile, 2) create a SOYC for
my project and 3) test using runAsync.

Is this possible if I switch to the codehaus plugin?

Thanks,

Matt

[1] http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...


    Reply to author    Forward  
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.
Jason  
View profile  
 More options Jun 24 2009, 2:24 pm
From: Jason <JasonThras...@gmail.com>
Date: Wed, 24 Jun 2009 11:24:47 -0700 (PDT)
Local: Wed, Jun 24 2009 2:24 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?
Hi Matt,
This confusing to me, as you've posted to the Codehaus gwt-maven-
plugin list, which is different from Charlie and Cooper's original gwt-
maven, which was at v2.0-beta26.  The Codehaus project is at 1.2-
SNAPSHOT on trunk.  I'm not being critical, but pointing this out,
because right now while things are "moving" (are they?) to Codehaus,
it's hella-confusing and communication is all over the place.

To answer your title, I have not been able to get GWT 2.0-trunk to
work with either gwt-maven, or gwt-maven-plugin.  I've recently
migrated from gwt-maven to gwt-maven-plugin since Charlie announced
things were moving to Codehaus.  Both plugins work for GWT 1.6
compile.

What is the expected output of SOYC?  I'm unfamiliar with it, and
don't believe it's supported by the Codehaus plugin.

I, too, am interested in runAsync.

regards,
Jason

On Jun 24, 11:02 am, Matt Raible <mrai...@gmail.com> wrote:


    Reply to author    Forward  
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 Raible  
View profile  
 More options Jun 24 2009, 2:36 pm
From: Matt Raible <mrai...@gmail.com>
Date: Wed, 24 Jun 2009 11:36:26 -0700 (PDT)
Local: Wed, Jun 24 2009 2:36 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?

On Jun 24, 12:24 pm, Jason <JasonThras...@gmail.com> wrote:

> Hi Matt,
> This confusing to me, as you've posted to the Codehaus gwt-maven-
> plugin list, which is different from Charlie and Cooper's original gwt-
> maven, which was at v2.0-beta26.  The Codehaus project is at 1.2-
> SNAPSHOT on trunk.  I'm not being critical, but pointing this out,
> because right now while things are "moving" (are they?) to Codehaus,
> it's hella-confusing and communication is all over the place.

Yeah, I'm aware that things are all over the place, but the gwt-maven
site says to go here, so here I am. ;-)

> To answer your title, I have not been able to get GWT 2.0-trunk to
> work with either gwt-maven, or gwt-maven-plugin.  I've recently
> migrated from gwt-maven to gwt-maven-plugin since Charlie announced
> things were moving to Codehaus.  Both plugins work for GWT 1.6
> compile.

That's good to know.

> What is the expected output of SOYC?  I'm unfamiliar with it, and
> don't believe it's supported by the Codehaus plugin.

SOYC is Story of Your Compile and it's supposed to tell you where the
largest parts of your application are coming from. I'm not sure if it
spits out a report or what it looks like.

Slide 45 on the following presentation mentions using SYOC in order to
determine where it's best to use runAsync().

http://www.slideshare.net/fredsa/gwt-overview-and-feature-preview-sv-...

Based on slide 48, I'm guessing you invoke it by passing -C to the
compiler.

Matt


    Reply to author    Forward  
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.
nicolas de loof  
View profile  
 More options Jun 24 2009, 3:54 pm
From: nicolas de loof <nicolas.del...@gmail.com>
Date: Wed, 24 Jun 2009 21:54:34 +0200
Local: Wed, Jun 24 2009 3:54 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?

Hi guys,

googlecode gwt-maven has been merged with codehaus gwt-maven-plugin.

1.2-SNAPSHOT will focus on GWT 2.0 support, but I don't have tested it
myself, so any contribution to point me on new compiler options or reporting
capabilities is welcome. Please create issues in
jira.codehaus.org/browse/MGWT for such missing features or compatibility
breaks running gwt-maven-plugin with gwt 2.0. Not sure how the SOYC should
be implemented, maybe as a maven reporting plugin ?

That beeing said, do you build yourself a gwt-2.0 binary ? Is there some
milestone or preview "official" build available anywhere ?

Cheers,
Nicolas

2009/6/24 Matt Raible <mrai...@gmail.com>


    Reply to author    Forward  
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 Jun 24 2009, 10:56 pm
From: Arthur Kalmenson <arthur.k...@gmail.com>
Date: Wed, 24 Jun 2009 22:56:05 -0400
Local: Wed, Jun 24 2009 10:56 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?

> That beeing said, do you build yourself a gwt-2.0 binary ? Is there some
> milestone or preview "official" build available anywhere ?

GWT 2.0 is basically in the trunk of the GWT project. You have to pull
it out and compile it yourself.

I was hoping that you could just drop a GWT trunk jar as a maven
dependency and it would work as before. Does hosted mode not launch?
What issues were you running into? I understand that providing support
for SOYC and runAsync might require compiler options, but does hosted
mode launch and everything else work?

--
Arthur Kalmenson

On Wed, Jun 24, 2009 at 3:54 PM, nicolas de


    Reply to author    Forward  
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 Raible  
View profile  
 More options Jun 25 2009, 12:48 pm
From: Matt Raible <mrai...@gmail.com>
Date: Thu, 25 Jun 2009 09:48:29 -0700 (PDT)
Local: Thurs, Jun 25 2009 12:48 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?

On Jun 24, 8:56 pm, Arthur Kalmenson <arthur.k...@gmail.com> wrote:

> > That beeing said, do you build yourself a gwt-2.0 binary ? Is there some
> > milestone or preview "official" build available anywhere ?

> GWT 2.0 is basically in the trunk of the GWT project. You have to pull
> it out and compile it yourself.

> I was hoping that you could just drop a GWT trunk jar as a maven
> dependency and it would work as before. Does hosted mode not launch?
> What issues were you running into? I understand that providing support
> for SOYC and runAsync might require compiler options, but does hosted
> mode launch and everything else work?

You can - I've successfully done this. After building the JARs on my
Mac, I zipped up build/staging/**/*.jnilib and installed them in my
local repo.

mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-
user -Dversion=2.0.0-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt-
user.jar
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-
servlet -Dversion=2.0.0-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt-
servlet.jar
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.0-SNAPSHOT -Dclassifier=mac -Dpackaging=jar -Dfile=build/
lib/gwt-dev-mac.jar
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.0-SNAPSHOT -Dclassifier=mac-libs -Dpackaging=zip -
Dfile=build/dist/gwt-mac-2.0.0-SNAPSHOT.zip

I did have to export GWT_VERSION=2.0.0-SNAPSHOT in order to get the
version number to work.

With this, I'm able to compile and run hosted mode with the gwt-maven
plugin (from Google code). I hope to try the Codehaus version today.

Matt


    Reply to author    Forward  
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.
Jason  
View profile  
 More options Jun 25 2009, 6:29 pm
From: Jason <JasonThras...@gmail.com>
Date: Thu, 25 Jun 2009 15:29:41 -0700 (PDT)
Local: Thurs, Jun 25 2009 6:29 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?
Matt, thanks for the hints on installing GWT 2.0 trunk files into the
local repo.  I can confirm that GWT 2.0 trunk, (r5632 today) does
indeed work with the Codehaus gwt-maven-plugin 1.2-SNAPSHOT trunk
(r10045 today).  The only thing I had to change in my pom.xml was the
gwt.version property.  Note that I've also got my GWT_HOME set,
pointing to an exploded gwt-mac-2.0.0-SNAPSHOT.tar.gz.

I didn't find the .zip file you referenced, but created it from
the .tar.gz version for a mac (I'm also on a MacBook Pro).  Here's a
mini-script for anyone else building GWT2.0 from trunk.

cheers,
Jason

#!/bin/bash
export GWT_TOOLS=$HOME/Documents/dev/google-web-toolkit-tools
export GWT_VERSION=2.0.0-SNAPSHOT

svn up
ant clean
ant

mvn install:install-file \
-DgroupId=com.google.gwt \
-DartifactId=gwt-user \
-Dversion=2.0.0-SNAPSHOT \
-Dpackaging=jar \
-Dfile=build/lib/gwt-user.jar

mvn install:install-file \
-DgroupId=com.google.gwt \
-DartifactId=gwt-servlet \
-Dversion=2.0.0-SNAPSHOT \
-Dpackaging=jar \
-Dfile=build/lib/gwt-servlet.jar

mvn install:install-file \
-DgroupId=com.google.gwt \
-DartifactId=gwt-dev \
-Dversion=2.0.0-SNAPSHOT \
-Dclassifier=mac \
-Dpackaging=jar \
-Dfile=build/lib/gwt-dev-mac.jar

mkdir temp
tar -zxf build/dist/gwt-mac-2.0.0-SNAPSHOT.tar.gz -C temp
cd temp/gwt-mac-2.0.0-SNAPSHOT
zip -0 gwt-mac-2.0.0-SNAPSHOT.zip lib*.jnilib
cd ../..

mvn install:install-file \
-DgroupId=com.google.gwt \
-DartifactId=gwt-dev \
-Dversion=2.0.0-SNAPSHOT \
-Dclassifier=mac-libs \
-Dpackaging=zip \
-Dfile=temp/gwt-mac-2.0.0-SNAPSHOT/gwt-mac-2.0.0-SNAPSHOT.zip


    Reply to author    Forward  
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.
Jason Thrasher  
View profile  
 More options Jun 26 2009, 2:06 pm
From: Jason Thrasher <jasonthras...@gmail.com>
Date: Fri, 26 Jun 2009 11:06:31 -0700 (PDT)
Local: Fri, Jun 26 2009 2:06 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?
Hi Nicolas,
Thanks for adding SOYC support on MGWT-92, and to Matt for pointing it
out.  I also appreciate all of the other flags being available for
GWT2.0 support, as it is cutting down on my compile/iteration time.

I reviewed your changes, and appreciate that you've taken the time to
orient the changes to your style.  Is there a way patches should be
submitted in the future to reduce your load?

kind regards,
Jason


    Reply to author    Forward  
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.
nicolas de loof  
View profile  
 More options Jun 26 2009, 2:09 pm
From: nicolas de loof <nicolas.del...@gmail.com>
Date: Fri, 26 Jun 2009 20:09:08 +0200
Local: Fri, Jun 26 2009 2:09 pm
Subject: Re: Is it possible to use GWT trunk (2.0) with the gwt-maven-plugin?

Patch was fine, I just reviewed it because I was myself working on 2.0
support Any other patch will be welcome :)

2009/6/26 Jason Thrasher <jasonthras...@gmail.com>


    Reply to author    Forward  
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.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google