(file) Return to README CVS log (file) (dir) Up to [Development] / GWTAntTasks

 1 pjaol 1.1 GWTAntTasks is licensed under
 2           Copyright 2006 pjaol.com.
 3            
 4           Licensed under the Apache License, Version 2.0 (the "License"); you may not
 5           use this file except in compliance with the License. You may obtain a copy of
 6           the License at
 7           
 8           http://www.apache.org/licenses/LICENSE-2.0
 9           
10           Unless required by applicable law or agreed to in writing, software
11           distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12           WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13           License for the specific language governing permissions and limitations under
14           the License.
15           
16 pjaol 1.2 $Id: README,v 1.1 2007/01/08 20:28:54 pjaol Exp $
17           $Log: README,v $
18           Revision 1.1  2007/01/08 20:28:54  pjaol
19           Updated License, added a README
20           
21 pjaol 1.1 
22           Terms
23           ----------------------
24           GWT = Google Web Toolkit available from http://code.google.com/webtoolkit/download.html
25           ant = Apache ant http://ant.apache.org/
26           
27           Compiling from source
28           ----------------------
29           Edit properties/gwt.properties and point 
30           gwt.home= to the installation of your version of GWT
31           
32           ant -f build_deploy.xml
33           This will create a deploy/ant-gwt-tasksdefs.jar
34           
35           Usage
36           ----------------------
37           In your ant build file add 
38           <taskdef resource="GWTAntTasks.properties" classpath="deploy/ant-gwt-tasksdefs.jar"/>
39           This will tell ant that it can find a new task in the ant-gwt-tasksdefs.jar you've just created
40           
41           You can now use it as:
42 pjaol 1.1 
43           <target name="compile">
44              	<gwtcompile src="src" out="www" module="com.pjaol.test" loglevel="error"/>
45           </target>
46           
47           Available arguments:
48           src - String location of src code to compile, can also just exist as part of the classpath
49           out - the directory that the generated out put / compiled resources will be placed.
50           loglevel - verbosity, possible values are "error", "warn", "info", "trace", "debug", "spam", "all"
51           style - format of the output, "obf"(USCATED), "pretty", "detailed" defaults to obf
52           
53 pjaol 1.2 
54           Your ant build can now be called with ant -lib path/to/gwt compile

cvsadmin
Powered by
ViewCVS 0.9.2