Skip to content

Instantly share code, notes, and snippets.

@blang
Created May 24, 2011 13:30
Show Gist options
  • Save blang/988698 to your computer and use it in GitHub Desktop.
Save blang/988698 to your computer and use it in GitHub Desktop.
WebEngineering ÜB 4 build.xml fix
<project name="Gaestebuch" default="dist" basedir=".">
<property name="app.name" value="Gaestebuch_Suche"/>
<property name="app.path" value="/${app.name}"/>
<property name="build.home" value="${basedir}/build"/>
<property name="catalina.home" value="/usr/share/tomcat-6"/> <!-- UPDATE THIS! Gentoo default set here other systems: /opt/tomcat-X/? -->
<property name="dist.home" value="${basedir}/dist"/>
<property name="docs.home" value="${basedir}/docs"/>
<property name="src.home" value="${basedir}/src"/>
<property name="web.home" value="${basedir}/WebContent"/>
<property name="compile.debug" value="true"/>
<property name="compile.deprecation" value="false"/>
<property name="compile.optimize" value="true"/>
<property name="file.encoding" value="ISO8859-15"/>
<!-- Set Classpath for compilation (include tomcat libraries) (Fix: Set definition above ref) -->
<path id="compile.classpath">
<fileset dir="${catalina.home}/bin">
<include name="*.jar"/>
</fileset>
<pathelement location="${catalina.home}/lib"/>
<fileset dir="${catalina.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
<taskdef resource="org/apache/catalina/ant/catalina.tasks" classpathref="compile.classpath"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment