Tuesday, December 2, 2008

GWT: Ant classpath in build.xml

The variables are set in my_sys_name.properties file:

...

<property file=".\\src\\main\\resources\\${user.name}.properties" />

<path id="class_path">

<pathelement path=".\\src" />

<pathelement path=".\\src\\main\\java" />

<pathelement path=".\\target\\classes\\" />

<pathelement location="${GWT_DEV_JAR}" />


<fileset dir="${GWT_SERVLET_PATH}">

<include name="*.jar" />

fileset>


<fileset dir="${GWT_USER_PATH}">

<include name="*.jar" />

fileset>


<fileset dir="${WAR_EXPLODED}\\WEB-INF\\lib">

<include name="*.jar" />

fileset>

path>

...