Changeset fb8a293b287e314e62baa9e209b1a4c37415ffdb
- Timestamp:
- 08/18/07 15:34:32
(1 year ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1187444072 +0200
- git-parent:
[af77ba3b91a89b570dc5f4ee320e9495c95289a9]
- git-author:
- Christopher Jung <bktheg@web.de> 1187444072 +0200
- Message:
Jetty integriert
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r70d49ee |
rfb8a293 |
|
| 30 | 30 | <property name="app.version" value="2"/> |
|---|
| 31 | 31 | <property name="build.home" value="${basedir}/build"/> |
|---|
| 32 | | <property name="catalina.home" value="/opt/tomcat5"/> |
|---|
| | 32 | <property name="catalina.home" value="/path/to/tomcat5"/> |
|---|
| 33 | 33 | <property name="dist.home" value="${basedir}/dist"/> |
|---|
| 34 | 34 | <property name="docs.home" value="${basedir}/docs"/> |
|---|
| … | … | |
| 42 | 42 | <property name="jcsc.home" value="build-utils/jcsc/"/> |
|---|
| 43 | 43 | <property name="jcsc.report" value="${build.home}/jcsc-report"/> |
|---|
| | 44 | <property name="jetty.contextpath" value="/driftingsouls"/> |
|---|
| 44 | 45 | |
|---|
| 45 | 46 | <!-- ==================== Compilation Control Options ==================== --> |
|---|
| … | … | |
| 51 | 52 | <!-- ==================== External Dependencies =========================== --> |
|---|
| 52 | 53 | |
|---|
| 53 | | |
|---|
| 54 | 54 | <!-- ==================== Compilation Classpath =========================== --> |
|---|
| 55 | 55 | |
|---|
| 56 | 56 | <path id="compile.classpath"> |
|---|
| 57 | | |
|---|
| 58 | 57 | <fileset dir="web/WEB-INF/lib"> |
|---|
| 59 | 58 | <include name="*.jar"/> |
|---|
| … | … | |
| 68 | 67 | <include name="*.jar"/> |
|---|
| 69 | 68 | </fileset> |
|---|
| 70 | | <fileset dir="${catalina.home}/common/lib"> |
|---|
| 71 | | <include name="*.jar"/> |
|---|
| 72 | | </fileset> |
|---|
| 73 | 69 | </path> |
|---|
| 74 | 70 | |
|---|
| … | … | |
| 77 | 73 | <include name="*.jar"/> |
|---|
| 78 | 74 | </fileset> |
|---|
| 79 | | <fileset dir="${catalina.home}/server/lib"> |
|---|
| 80 | | <include name="*.jar"/> |
|---|
| 81 | | </fileset> |
|---|
| 82 | 75 | </path> |
|---|
| 83 | 76 | |
|---|
| | 77 | <path id="tomcat.classpath"> |
|---|
| | 78 | <fileset dir="${catalina.home}/common/lib"> |
|---|
| | 79 | <include name="*.jar"/> |
|---|
| | 80 | </fileset> |
|---|
| | 81 | </path> |
|---|
| | 82 | |
|---|
| | 83 | <available filepath="${catalina.home}/common/lib" file="ant.jar" property="tomcat.present"/> |
|---|
| | 84 | |
|---|
| 84 | 85 | <!-- ================== Custom Ant Task Definitions ======================= --> |
|---|
| 85 | | |
|---|
| 86 | | <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask" |
|---|
| 87 | | classpathref="ant.classpath"/> |
|---|
| 88 | | |
|---|
| 89 | | <taskdef name="jcsc" classname="rj.tools.jcsc.ant.JCSCTask" classpathref="ant.classpath"/> |
|---|
| 90 | 86 | |
|---|
| 91 | 87 | <!-- ==================== All Target ====================================== --> |
|---|
| … | … | |
| 243 | 239 | <!-- ==================== Reload Target =================================== --> |
|---|
| 244 | 240 | |
|---|
| 245 | | <target name="reload" description="Reload application on servlet container"> |
|---|
| | 241 | <target name="reload" description="Reload application on servlet container" if="tomcat.present"> |
|---|
| | 242 | <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask" |
|---|
| | 243 | classpathref="tomcat.classpath"/> |
|---|
| | 244 | |
|---|
| 246 | 245 | <reload url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}"/> |
|---|
| 247 | 246 | </target> |
|---|
| … | … | |
| 249 | 248 | <!-- ==================== Validate Target =================================== --> |
|---|
| 250 | 249 | |
|---|
| | 250 | <taskdef name="jcsc" classname="rj.tools.jcsc.ant.JCSCTask" classpathref="ant.classpath"/> |
|---|
| | 251 | |
|---|
| 251 | 252 | <target name="validate" description="Ueberprueft den Sourcecode auf Abweichungen vom DS-Standard"> |
|---|
| 252 | 253 | <delete dir="${jcsc.report}" /> |
|---|
| … | … | |
| 274 | 275 | </java> |
|---|
| 275 | 276 | </target> |
|---|
| | 277 | |
|---|
| | 278 | <!-- ==================== Run Target ================================== --> |
|---|
| | 279 | |
|---|
| | 280 | <taskdef classpathref="ant.classpath" resource="tasks.properties" loaderref="jetty.loader" /> |
|---|
| | 281 | |
|---|
| | 282 | <target name="run"> |
|---|
| | 283 | <mkdir dir="jetty-temp" /> |
|---|
| | 284 | <jetty tempDirectory="jetty-temp"> |
|---|
| | 285 | <webapp name="ds2j-opensource" warfile="${build.home}" contextPath="/driftingsouls"> |
|---|
| | 286 | <lib dir="${build.home}/WEB-INF/lib" includes="*.jar" /> |
|---|
| | 287 | </webapp> |
|---|
| | 288 | </jetty> |
|---|
| | 289 | <delete dir="jetty-temp" /> |
|---|
| | 290 | </target> |
|---|
| 276 | 291 | </project> |
|---|
| 277 | 292 | |
|---|