User: jules_gosnell
Date: 01/11/21 15:13:00
Modified: jetty build.xml
Log:
my first cut of the JBoss3/Jetty4 integration - enjoy !
Revision Changes Path
1.11 +55 -24 contrib/jetty/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build.xml 2001/11/19 15:34:04 1.10
+++ build.xml 2001/11/21 23:13:00 1.11
@@ -29,9 +29,9 @@
<!-- Setup the basic project roots. -->
<path id="project.root"><pathelement location="../.."/></path>
- <property name="project.root" refid="project.root"/>
+ <property name="project.root" refid="project.root"/>
<property name="project.build" value="${project.root}/build"/>
-
+
<!-- Include user and project property overrides. -->
<property file="${user.home}/.buildmagic.properties"/>
<property file="${user.home}/.ant.properties"/>
@@ -130,7 +130,7 @@
<!--
| Configure the build system.
|
- | Configuration elements should be placed in the appropriate
+ | Configuration elements should be placed in the appropriate
| _configure-* targets.
-->
@@ -180,6 +180,13 @@
</fileset>
</path>
+ <!-- Java Authentication and Authorization Service (JAAS) -->
+ <property name="sun.jaas.root" value="${project.thirdparty}/sun/jaas"/>
+ <property name="sun.jaas.lib" value="${sun.jaas.root}/lib"/>
+ <path id="sun.jaas.classpath">
+ <pathelement path="${sun.jaas.lib}/jaas.jar"/>
+ </path>
+
<!-- Log4j -->
<property name="apache.log4j.root" value="${project.thirdparty}/apache/log4j"/>
<property name="apache.log4j.lib" value="${apache.log4j.root}/lib"/>
@@ -218,6 +225,7 @@
<path refid="sun.jndi.classpath"/>
<path refid="sun.jmx.classpath"/>
<path refid="sun.jaxp.classpath"/>
+ <path refid="sun.jaas.classpath"/>
<path refid="apache.log4j.classpath"/>
<path refid="junit.junit.classpath"/>
<path refid="mortbay.jetty.classpath"/>
@@ -299,14 +307,14 @@
<!-- Compile -->
<!-- ================================================================== -->
- <!--
+ <!--
| Compile everything.
|
- | This target should depend on other compile-* targets for each
+ | This target should depend on other compile-* targets for each
| different type of compile that needs to be performed, short of
| documentation compiles.
-->
- <target name="compile"
+ <target name="compile"
depends="compile-classes, compile-etc, compile-resources"
description="Compile all source files."/>
@@ -356,7 +364,7 @@
<!-- Archives -->
<!-- ================================================================== -->
- <!--
+ <!--
| Build all jar files.
-->
@@ -388,32 +396,55 @@
<include name="org.mortbay.tools.jar"/>
<include name="cryptix-sasl-jetty.jar"/>
</fileset>
-
+
</jar>
</target>
+<target name="devel" depends="jars"
+ description="Deploy and Test the Jetty plugin">
+ <echo>Undeploying old Jetty plugin...</echo>
+ <delete
file="../../build/output/jboss-3.0.0alpha/deploy/lib/${module.name}.sar"/>
+ <sleep seconds="5"/>
+
+ <echo>Deploying new Jetty plugin...</echo>
+ <copy file="${build.lib}/${module.name}.sar"
+ filtering="no"
+ todir="../../build/output/jboss-3.0.0alpha/deploy/lib"
+ />
+ <sleep seconds="5"/>
+
+ <exec dir="../../testsuite/"
+ executable="/bin/sh"
+ >
+ <arg value="./build.sh"/>
+ <arg value="-emacs"/>
+ <arg value="-Djavac.debug=true"/>
+ <arg value="-Dtest=WebIntegrationUnitTestCase"/>
+ <arg value="one-test"/>
+ </exec>
+</target>
<!-- ================================================================== -->
<!-- Documents -->
<!-- ================================================================== -->
- <!--
+ <!--
| Create all generated documenation.
|
- | This target should depend on other docs-* targets for each
+ | This target should depend on other docs-* targets for each
| different type of docuementation that is to be generated.
-->
- <target name="docs" depends="init, docs-api"
+ <target name="docs" depends="init, docs-api"
description="Builds all documentation.">
</target>
<!-- Javadocs is an exception, but provide a docs-api to conform. -->
<target name="docs-api" depends="docs-javadocs"/>
- <!--
- | Check if we need to build javadocs
+ <!--
+ | Check if we need to build javadocs
|
| Javadocs will only be generated if one or more .java source files
| is newer than the generated index.html.
@@ -425,7 +456,7 @@
targetfile="${build.api}/index.html">
<srcfiles dir="${source.java}" includes="**/*.java"/>
</uptodate>
- </target>
+ </target>
<!-- Generate Javadoc if we are out of date -->
<target name="docs-javadocs" depends="docs-javadocs-check"
unless="docs-javadocs.disable">
@@ -445,7 +476,7 @@
private="${javadoc.private}"
encoding="${javadoc.encoding}"
use="${javadoc.use}"
- verbose="${javadoc.verbose}">
+ verbose="${javadoc.verbose}">
<group title="JDBC Extension" packages="javax.sql*"/>
<group title="J2EE" packages="javax*"/>
</javadoc>
@@ -474,7 +505,7 @@
<!-- Release -->
<!-- ================================================================== -->
- <!--
+ <!--
| Builds a release distribution.
-->
@@ -517,7 +548,7 @@
| Run all tests.
-->
- <target name="tests" depends="init, tests-junit, tests-reports"
+ <target name="tests" depends="init, tests-junit, tests-reports"
description="Execute all tests.">
</target>
@@ -528,9 +559,9 @@
<target name="tests-junit" depends="jars">
<mkdir dir="${build.reports}"/>
<junit dir="${module.output}"
- printsummary="${junit.printsummary}"
- haltonerror="${junit.haltonerror}"
- haltonfailure="${junit.haltonfailure}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
fork="${junit.fork}"
timeout="${junit.timeout}"
jvm="${junit.jvm}">
@@ -546,8 +577,8 @@
usefile="${junit.formatter.usefile}"/>
<batchtest todir="${build.reports}"
- haltonerror="${junit.batchtest.haltonerror}"
- haltonfailure="${junit.batchtest.haltonfailure}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
fork="${junit.batchtest.fork}">
<fileset dir="${build.classes}">
@@ -558,7 +589,7 @@
</junit>
</target>
- <target name="reports" depends="tests-reports"
+ <target name="reports" depends="tests-reports"
description="Generates all reports."/>
<target name="tests-reports" depends="tests-reports-html"/>
@@ -631,7 +662,7 @@
<target name="main" depends="most"
description="Executes the default target (most)."/>
-
+
<target name="all" depends="jars, docs"
description="Builds everything."/>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development