Hi Greg, ordinarily you shouldn't have to maven_script.sh so it's not
in the docs. I was just asking to see if you had run it because at one
time yesterday, the Expenses pom.xml referenced gwt.version 2.1.1-rc1
which was not yet available from a public repo and I was wondering how
you got it. If you ever want to build your own SNAPSHOT version of GWT
for testing, you can simply check out latest from SVN (trunk or a
release branch like releases/2.1), edit the version # in
./tools/scripts/maven_script.sh and run it from the root dir of your
checkout as shown here.

There were many changes to releases/2.1 branch yesterday as we prepped
RC1, some of which surprised me as I went to do the Maven Central push
this morning... Now that the RC is available, you should be able to
build expenses as follows:

1. Download GWT SDK 2.1.1-rc1 as per the message on the list today.
2. Change samples/expenses/pom.xml to point to gwt.version 2.1.1-rc1
3. In samples/expenses dir, type "cd src/main/webapp; mvn  -f
../../../pom.xml clean gwt:run"

It will build and run in Maven, but as noted in the earlier message,
there may be other issues.

/dmc

On Fri, Dec 10, 2010 at 12:40 PM, Greg Dougherty
<[email protected]> wrote:
> Hi David,
>
> Nope.  I followed the directions in "README-MAVEN.txt".  If that's in
> those directions, or in the directions at 
> http://m2eclipse.sonatype.org/installing-m2eclipse.html.
> I know that maven did install its own version of GWT 2.1.
>
> Where would I find the directions for doing that?  For that matter,
> what is the "tools" I have to download in order to get that script?
>
> Greg
>
> On Dec 10, 9:39 am, David Chandler <[email protected]> wrote:
>> Hi Greg,
>>
>> Did you run tools/scripts/maven_script.sh first to install 2.1.1-rc1
>> in your local maven repo?
>>
>> /dmc
>>
>> On Fri, Dec 10, 2010 at 10:26 AM, Greg Dougherty
>>
>>
>>
>> <[email protected]> wrote:
>> > I downloaded releases/2.1/samples from SVN, and tried to build the
>> > Expenses project (importing an existing Maven project).  I get ~80
>> > compiler errors.
>>
>> > For example:
>> > import com.google.gwt.cell.client.Cell.Context;
>>
>> > The compiler can't find this.  Given that it's not in the JavaDoc, I'm
>> > not surprised the compiler can't find this, but I AM surprised that
>> > it's in multiple files.
>>
>> > Greg
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google Web Toolkit" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to 
>> > [email protected].
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> David Chandler
>> Developer Programs Engineer, Google Web 
>> Toolkithttp://googlewebtoolkit.blogspot.com/
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
http://googlewebtoolkit.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to