donaldp 01/12/08 03:40:33
Modified: . build.xml ant.properties.sample BUILDING.txt
Log:
Incorporate instructions on building phoenix with support for the Java
Services Wrapper tool.
Read BUILDING.txt for required steps.
Revision Changes Path
1.86 +13 -2 jakarta-avalon-phoenix/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/build.xml,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- build.xml 2001/12/08 04:39:02 1.85
+++ build.xml 2001/12/08 11:40:33 1.86
@@ -94,6 +94,7 @@
<pathelement location="${logkit.jar}"/>
<pathelement location="${jmxri.jar}"/>
<pathelement location="${jmxtools.jar}"/>
+ <pathelement location="${wrapper.jar}"/>
<pathelement path="${java.class.path}" />
<fileset dir="${lib.dir}">
<include name="*.jar" />
@@ -111,7 +112,7 @@
</path>
<!-- Main target -->
- <target name="main" depends="dist-lite"
+ <target name="main" depends="wrapper-dist"
description="generates the Phoenix distribution without the
javadocs"/>
<target name="all" depends="dist-lite,docs" description="generates the
Phoenix distribution" />
@@ -468,7 +469,17 @@
</target>
- <target name="install"
depends="dist-lite,install-check-cjan,install-check-phoenix">
+ <!-- Create the lite build -->
+ <target name="wrapper-dist" depends="dist-lite" if="wrapper.present"
+ description="generates the Phoenix binary distribution without the
javadocs and with wrapper">
+
+ <copy file="${wrapper.jar}" todir="${bin.dist.bin}"/>
+ <copy file="${wrapper.exe}" todir="${bin.dist.bin}"/>
+ <copy file="${wrapper.dll}" todir="${bin.dist.bin}"/>
+ <copy file="${conf.dir}/wrapper.conf" todir="${bin.dist.bin}"/>
+ </target>
+
+ <target name="install"
depends="wrapper-dist,install-check-cjan,install-check-phoenix">
<mkdir dir="${cjan.lib}" />
<copy file="${build.lib}/phoenix-client.jar" todir="${cjan.lib}"/>
1.5 +7 -1 jakarta-avalon-phoenix/ant.properties.sample
Index: ant.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/ant.properties.sample,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ant.properties.sample 2001/11/24 12:36:43 1.4
+++ ant.properties.sample 2001/12/08 11:40:33 1.5
@@ -6,7 +6,7 @@
# modules that Phoenix depends on. Copy this file to ".ant.properties"
# in the top-level source directory, and customize it as needed.
#
-# $Id: ant.properties.sample,v 1.4 2001/11/24 12:36:43 donaldp Exp $
+# $Id: ant.properties.sample,v 1.5 2001/12/08 11:40:33 donaldp Exp $
#
-----------------------------------------------------------------------------
# ----- Compile Environment Flags -----
@@ -24,6 +24,12 @@
#xerces.home=${base.path}/xerces-1_4_3
#xerces.lib=${xerces.home}
#xerces.jar=${xerces.lib}/xerces.jar
+
+# ----- Java Service Wrapper, version 2.2.2 or later -----
+#wrapper.home=${base.path}/wrapper_linux_2.2.2
+#wrapper.jar=${wrapper.home}/lib/wrapper.jar
+#wrapper.exe=${wrapper.home}/bin/wrapper
+#wrapper.dll=${wrapper.home}/lib/linux/libwrapper.so
# ----- Java Management Extensions (JMX) RI, version 1.0.1 or later -----
jmx.home=${base.path}/jmx-ri_1.0.1/jmx
1.4 +15 -4 jakarta-avalon-phoenix/BUILDING.txt
Index: BUILDING.txt
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/BUILDING.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BUILDING.txt 2001/11/24 12:36:43 1.3
+++ BUILDING.txt 2001/12/08 11:40:33 1.4
@@ -1,5 +1,4 @@
-
Building The Phoenix Application Server
=======================================
@@ -63,8 +62,20 @@
* Unpack the reference implementation into a convenient location so that
it resides in its own subdirectory.
+
+(3) Download and Install the Java Service Wrapper 2.2.2 Implementation
+
+NOTE: This step is only required if you wish to allow the Phoenix server
+to be accessible as a win32 Service or a unix daemon.
+
+* Download the Java Service Wrapper (version 2.2.2 or later) from
+
+ http://wrapper.sourceforge.net/
+
+* Unpack the product into a convenient location so that it resides in
+ its own subdirectory.
-(3) Customize Build Properties For This Subproject
+(4) Customize Build Properties For This Subproject
Most Jakarta subprojects allow you to customize Ant properties (with default
values defined in the "build.xml" file. This is done by creating a text file
@@ -79,7 +90,7 @@
file (in the top-level Phoenix source directory) to ".ant.properties", and
then edit it to suit your environment. On Unix, this would be done as:
- cd ${tomcat.source}
+ cd ${phoenix.source}
cp ant.properties.sample .ant.properties
emacs .ant.properties
@@ -87,7 +98,7 @@
repository. This file is local to your own development environment, and
each developer will have their own version.
-(4) Build A Binary Distribution
+(5) Build A Binary Distribution
Open a command line shell, and issue the following commands:
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>