(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           $Id: $
17           $Log: $
18           
19           Terms
20           ----------------------
21           GWT = Google Web Toolkit available from http://code.google.com/webtoolkit/download.html
22 pjaol 1.1 ant = Apache ant http://ant.apache.org/
23           
24           Compiling from source
25           ----------------------
26           Edit properties/gwt.properties and point 
27           gwt.home= to the installation of your version of GWT
28           
29           ant -f build_deploy.xml
30           This will create a deploy/ant-gwt-tasksdefs.jar
31           
32           Usage
33           ----------------------
34           In your ant build file add 
35           <taskdef resource="GWTAntTasks.properties" classpath="deploy/ant-gwt-tasksdefs.jar"/>
36           This will tell ant that it can find a new task in the ant-gwt-tasksdefs.jar you've just created
37           
38           You can now use it as:
39           
40           <target name="compile">
41              	<gwtcompile src="src" out="www" module="com.pjaol.test" loglevel="error"/>
42           </target>
43 pjaol 1.1 
44           Available arguments:
45           src - String location of src code to compile, can also just exist as part of the classpath
46           out - the directory that the generated out put / compiled resources will be placed.
47           loglevel - verbosity, possible values are "error", "warn", "info", "trace", "debug", "spam", "all"
48           style - format of the output, "obf"(USCATED), "pretty", "detailed" defaults to obf
49           

cvsadmin
Powered by
ViewCVS 0.9.2