Author: jfrederic.clere(a)jboss.com
Date: 2007-07-26 11:16:35 -0400 (Thu, 26 Jul 2007)
New Revision: 206
Modified:
trunk/build.xml
trunk/java/org/jboss/web/php/LifecycleListener.java
Log:
Arrange the pacakge and add the jar file in the build.xml
bump the php version to the lastest.
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2007-07-24 00:18:10 UTC (rev 205)
+++ trunk/build.xml 2007-07-26 15:16:35 UTC (rev 206)
@@ -280,6 +280,16 @@
</fileset>
</jar>
+ <!-- JBoss Web - PHP Servlet -->
+ <jar jarfile="${tomcat.build}/lib/servlets-php.jar"
index="true">
+ <fileset dir="${tomcat.classes}">
+ <include name="org/jboss/web/php/**" />
+ <!-- Javadoc and i18n exclusions -->
+ <exclude name="**/package.html" />
+ <exclude name="**/LocalStrings_*" />
+ </fileset>
+ </jar>
+
</target>
<target name="build-docs">
Modified: trunk/java/org/jboss/web/php/LifecycleListener.java
===================================================================
--- trunk/java/org/jboss/web/php/LifecycleListener.java 2007-07-24 00:18:10 UTC (rev 205)
+++ trunk/java/org/jboss/web/php/LifecycleListener.java 2007-07-26 15:16:35 UTC (rev 206)
@@ -53,8 +53,8 @@
protected static final int REQUIRED_MAJOR = 5;
- protected static final int REQUIRED_MINOR = 1;
- protected static final int REQUIRED_PATCH = 0;
+ protected static final int REQUIRED_MINOR = 2;
+ protected static final int REQUIRED_PATCH = 3;
// ---------------------------------------------- LifecycleListener Methods
@@ -77,7 +77,7 @@
paramTypes[0] = String.class;
Object paramValues[] = new Object[1];
paramValues[0] = null;
- Class clazz =
Class.forName("org.apache.catalina.servlets.php.Library");
+ Class clazz = Class.forName("org.jboss.web.php.Library");
Method method = clazz.getMethod(methodName, paramTypes);
// TODO: Use sm to obtain optional library name.
method.invoke(null, paramValues);
@@ -108,7 +108,7 @@
else if (Lifecycle.AFTER_STOP_EVENT.equals(event.getType())) {
try {
String methodName = "terminate";
- Method method =
Class.forName("org.apache.catalina.servlets.php.Library")
+ Method method =
Class.forName("org.jboss.php.servlets.php.Library")
.getMethod(methodName, (Class [])null);
method.invoke(null, (Object []) null);
}
Show replies by date