Compiling from Source
Checking Out the Source from Subversion
Checking out the GWT-Ext source is most useful if you plan to compile GWT-Ext yourself. The pre-built GWT-Ext distribution already contains all the Java source, so you don't actually need to check it out from the repository just to debug through it. Just tweak your IDE to read source from the GWT-Ext jars.
GWT-Ext is hosted on Google Code project hosting, so you check out the source for GWT-Ext using a Subversion client as you would for any other project hosted on Google Code:
svn checkout http://gwt-ext.googlecode.com/svn/trunk/ trunk
The project source code access page has additional instructions for browsing the source online or getting a Subversion client if you don't already have one.
Here's a good writeup if you're using Eclipse : http://wiki.oreade.nl/Wiki.jsp?page=GwtExtSubversionDownloadCompile.
Compiling from Source
Everything is Java source that can be built with the included GWT-Ext Ant build files.
Testing
Ant JUnit Issues
There is a problem, detailed at ant.apache.org, where ant cannot find the JUnit classes. The simple workaround is to either:
Ant XSLT issues
If you get an error like the one below, please remove the file {ANT_HOME}\lib\xercesImpl.jar from your Ant installation as the copy of Xerces distrbuted with certain versions on Ant causes conflicts.
[java] FATAL ERROR: 'Could not compile stylesheet' BUILD FAILED C:\java\gwt-ext-svn\trunk\build.xml:35: The following error occurred while executing this line: C:\java\gwt-ext-svn\trunk\build.xml:15: The following error occurred while executing this line: C:\java\gwt-ext-svn\trunk\doc\build.xml:63: java.lang.RuntimeException: Unable to complete the xslt tranform
Precisely, you will need to:
~/gwt-ext/tools/lib/gwt/1.4.60/mac$ cp -p ~/gwt-mac-1.4.62/gwt-*.jar . ~/gwt-ext/tools/lib/gwt/1.4.60/mac$ cp -p ~/gwt-mac-1.4.62/lib*.jnilib .
You will also need to unzip Ext 2.0.2 to ~/gwt-ext/tools/lib/ext/2.0.2 - et voilà ! :)
how about a maven2 pom?
Hi Sanjiv,
I'm really happy that you refer to the wiki about compiling using Eclipse, i have moved my site to a new location (the other one will soon be taken down). I would appreciate it if you could change the url:
Old: http://code.google.com/p/gwt-ext/wiki/BuildInstructions New: http://java.sodeso.nl/web-frameworks/gwt-ext/how-to-get-the-very-latest-build-of-gwt-ext
Sign in to add a comment
The upper instructions only work if your OS is Windows. This will not work under Mac with the current Ant script (as it looks for the path tools/lib/gwt/1.4.60/mac and you only get the windows one while performing svn checkout tools). Creating the mac directory and moving there the Mac specific libraries will solve the problem.