Monday, September 20, 2010

Re: Error compiling GWT source code from trunk

On Sep 20, 5:26 am, hezjing <hezj...@gmail.com> wrote:
> Hi Ashton
>
> I have successfully compiled the GWT source codes from the trunk.
>
> 1) Install a Windows standalone command line Subversion packagehttp://www.sliksvn.com/en/download/

FYI, this is not mandatory. SVN CLI is used to automatically determine
the current branch and revision of your working directory, but you can
bypass it by providing the gwt.svnrev property with the value
"<branch>@<revision>" (e.g. "ant -Dgwt.svnrev=trunk@8821")

> 2) Check out the GWT tools:
> cd C:\gwt
> svn checkouthttp://google-web-toolkit.googlecode.com/svn/tools/tools
>
> 3) Check out the GWT source:
> cd C:\gwt
> svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/trunk
>
> 4) Set an environment variable that contains the full path to the tools
> directory
> set GWT_TOOLS=C:\gwt\tools

This is only necessary if your "tools" checkout is not a sibling of
the "trunk" checkout, and/or not named "tools" (i.e. GWT_TOOLS
defaults to "../tools" if not set).

> 5) Compile the GWT source codes:
> cd C:\gwt\trunk
> ant

FWIW, I'm launching "ant" from Eclipse instead of command-line, and
I'm running the "dist-dev" target (ignores samples and doc, at least)

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

No comments:

Post a Comment