Java Reference
In-Depth Information
<!-- PATHS -->
<path id="cp">
<pathelement location="${classes.dir}"/>
<pathelement location="${gen.classes.dir}"/>
<pathelement location="${javaee.jar}"/>
<pathelement location="${common.jar}"/>
<pathelement location="${config.dir}"/>
<pathelement location="${commons.lang.jar}"/>
<pathelement location="${service.schemas.classes.dir}"/>
<pathelement location="${sun.ws.rt.jar}"/>
<pathelement location="${log4j.jar}"/>
<pathelement location="${client.jar}"/>
</path>
<path id="cp.test">
<!-- Added src.test.dir to allow a specific log4j.xml
file just for the tests -->
<pathelement location="${src.test.dir}"/>
<pathelement location="${test.classes.dir}"/>
<pathelement location="${junit.jar}"/>
<path refid="cp" />
</path>
<path id="srcs.path">
<pathelement path="${src.dir}" />
<pathelement path="${src.gen.dir}" />
</path>
<!-- BUILD TARGETS -->
<target name="all" depends="init,clean,prepare,
schema-class-gen,compile,build-war,deploy" />
<!-- INIT & TASK DEFS -->
<target name="init">
<echo message="Testing for glassfish root directory"/>
<fail>
<condition>
<not>
<available file="${javaee.jar}"/>
</not>
</condition>
Please open the user.properties file and set the
gf.root property to point
to your glassfish install directory.
(default /opt/glassfish on Linux and
c:/glassfish-v2 on windows)
</fail>
Search WWH ::




Custom Search