Re: Building GWT from source

2010-12-02 Thread Chris Conroy
To build gwt-user and gwt-dev, you'll want to run 'ant dist-dev'.

If you're using GPE, you can simply configure your ant built jars as one of
your SDK choices from GPE's preferences, and then be sure to set your
project to use that SDK.

The above should be the bare bones you need to get rolling. You may also
want to check out the eclipse README file for building from source and using
Eclipse: Checkout the Eclipse README file for instructions on getting
eclipse setup:
http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/eclipse/README.txtq=README%20package:http://google-web-toolkit%5C.googlecode%5C.comsa=Ncd=2ct=rc

On Wed, Dec 1, 2010 at 5:15 PM, aarnott andrew.wj.arn...@gmail.com wrote:

 I'm investigating a bug I reported (here
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5669).
 I'm hoping that I can figure out a fix myself and either post the
 solution in the bug report or actually figure out how to submit it.

 * I'm not very experienced with SVN (although I am familiar with
 Perforce)
 * I've never used ant before
 * I'm not experienced building jars
 * I'm fairly experienced with Java (otherwise I wouldn't even try
 tackling this one)

 I've followed the instructions for downloading the source and running
 ant in the source directory. I'm stuck at this point, however. I'm not
 sure what I'm supposed to do in order to build the GWT jars. I'd like
 to make the gwt-user.jar and substitute it in my project to see if I
 can fix the bugs (or find out if it is already fixed in the latest
 code).

 Any help would be appreciated!

 Andrew Arnott

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Building GWT from source

2010-12-02 Thread aarnott
It ended up I was stupid and didn't add my SVN install to my path. I
thought the build had succeeded, but it failed part way through.

Thanks for the tips though! The 'ant dist-dev' seems to run a lot
faster than just 'ant', so that will save me a lot of time when I'm
testing my changes.

--Andrew

On Dec 2, 11:28 am, Chris Conroy con...@google.com wrote:
 To build gwt-user and gwt-dev, you'll want to run 'ant dist-dev'.

 If you're using GPE, you can simply configure your ant built jars as one of
 your SDK choices from GPE's preferences, and then be sure to set your
 project to use that SDK.

 The above should be the bare bones you need to get rolling. You may also
 want to check out the eclipse README file for building from source and using
 Eclipse: Checkout the Eclipse README file for instructions on getting
 eclipse 
 setup:http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/eclipse/README.t...







 On Wed, Dec 1, 2010 at 5:15 PM, aarnott andrew.wj.arn...@gmail.com wrote:
  I'm investigating a bug I reported (here
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5669).
  I'm hoping that I can figure out a fix myself and either post the
  solution in the bug report or actually figure out how to submit it.

  * I'm not very experienced with SVN (although I am familiar with
  Perforce)
  * I've never used ant before
  * I'm not experienced building jars
  * I'm fairly experienced with Java (otherwise I wouldn't even try
  tackling this one)

  I've followed the instructions for downloading the source and running
  ant in the source directory. I'm stuck at this point, however. I'm not
  sure what I'm supposed to do in order to build the GWT jars. I'd like
  to make the gwt-user.jar and substitute it in my project to see if I
  can fix the bugs (or find out if it is already fixed in the latest
  code).

  Any help would be appreciated!

  Andrew Arnott

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Building GWT from source

2010-02-16 Thread antoine

Hi,

I am an ant committer. I was worried that you might have found an
issue with ant 1.8.0. I have just built gwt from source on a mac using
ant 1.8.0. There were no errors. This issue might have been fixed
between ant 1.8.0RC1 and ant 1.8.0.

Regards,

Antoine

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Building GWT from source

2010-02-02 Thread Peter Wong
Karan,

I ran into the same problems you mentioned above when using Ant 1.8.0
RC1.
Try Ant 1.7.1 (http://archive.apache.org/dist/ant/binaries/)
Switching to Ant 1.7.1 cleared up my build problems.

On Jan 31, 8:11 pm, Karan Bhatnagar karan.bhatna...@gmail.com wrote:
 Hi,
  I am an ant newbie. I am trying to build GWT from source following steps as
 mentioned athttp://code.google.com/webtoolkit/makinggwtbetter.html
  I am facing problem doing that and could not get solution in ant forums.
 http://code.google.com/webtoolkit/makinggwtbetter.html
  Now when I invoke ant from trunk directory, it first says that a file is
 duplicate.
 BUILD FAILED
 /home/karan/work/gwt/trunk/build.xml:91: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/build.xml:27: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/build.xml:54: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/dev/build.xml:107: The following error occurred
 while executing this line:
 /home/karanb/work/gwt/trunk/common.ant.xml:148: Duplicate file
 org/apache/COPYING was found and the duplicate attribute is 'fail'.

 When I re invoke ant without ant clean, it fails to find classes in tools
 directory, for example it says:
 compile:
 [gwt.javac] /home/karan/work/gwt/trunk/dev/build.xml:199: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds
 [gwt.javac] Compiling 138 source files to
 /home/karan/work/gwt/trunk/build/out/dev/bin
 [gwt.javac]
 /home/karanb/work/gwt/trunk/dev/core/src/com/google/gwt/dev/ServletValidato 
 r.java:21:
 package org.mortbay.jetty.servlet does not exist
 [gwt.javac] import org.mortbay.jetty.servlet.ServletHandler;
  {Many such errors}

 I reinvoke ant, specifying -lib /home/karan/work/gwt/tools/lib/jetty, then
 jetty package issue is resolved, but rest packages continue giving errors.
 [gwt.javac] /home/karan/work/gwt/trunk/dev/build.xml:199: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds
 [gwt.javac] Compiling 138 source files to
 /home/karan/work/gwt/trunk/build/out/dev/bin
 [gwt.javac]
 /home/karan/work/gwt/trunk/dev/core/src/com/google/gwt/dev/shell/CompilingC 
 lassLoader.java:47:
 package org.apache.commons.collections.map does not exist
 [gwt.javac] import org.apache.commons.collections.map.AbstractReferenceMap;

 Why do I have to manually give lib path, why can't ant get it by itself as
 the guide makinggwtbetter says. I am also mentioning system info below for
 any hints:
  Ant is in home/karan/Downloads/
 ka...@karanb:~/Downloads/apache-ant-1.8.0RC1$ ls
 INSTALL  KEYS  LICENSE  NOTICE  README  WHATSNEW  bin  docs  etc  fetch.xml
  get-m2.xml  lib

  ant is installed properly as I see:
  ka...@karan:~/work/gwt/trunk$ ant -version
  Apache Ant version 1.8.0RC1 compiled on January 5 2010

 The environment variables are set as :
  GWT_TOOLS=/home/karan/work/gwt/tools
  ANT_HOME=/home/karan/Downloads/apache-ant-1.8.0RC1

  The directory /home/karan/work/gwt contains tools and trunk subdirectories.

  ka...@karan:~/work/gwt/tools$ ls
  antlib  lib  redist  sdk

  ka...@karan:~/work/gwt/trunk$ ls
  build-tools  build.xml  common.ant.xml  dev  dev-ext  distro-source  doc
  eclipse  jni  platforms.ant.xml  plugins  reference  samples  servlet
  tools  user

 Thanks in advance.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.