|
BuildInstructions
Compiling from SourceChecking Out the Source from SubversionChecking 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 SourceEverything is Java source that can be built with the included GWT-Ext Ant build files.
~/gwt-ext$ svn checkout http://gwt-ext.googlecode.com/svn/tools/ tools
~/gwt-ext$ svn checkout http://gwt-ext.googlecode.com/svn/trunk/ trunk
~/gwt-ext$ cd ~/gwt-ext/trunk then just invoke Antant
Testing
ant test and verify that there are no failures. Ant JUnit IssuesThere is a problem, detailed at ant.apache.org, where ant cannot find the JUnit classes. The simple workaround is to either:
Ant XSLT issuesIf 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 |
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.
Precisely, you will need to:
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
I tried to compile on both windows and linux but i get following error:
Can not find symbol class JavaScriptObject?
I have set up the environment variable GWTEXT_TOOLS to 'tools' directory and its not able to find the JavaScriptObject???