bloritsch 01/03/12 07:51:44
Modified: . Tag: xml-cocoon2 build.xml
Log:
Prepare for Oracle specific classes.
Revision Changes Path
No revision
No revision
1.6.2.63 +5 -12 xml-cocoon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/build.xml,v
retrieving revision 1.6.2.62
retrieving revision 1.6.2.63
diff -u -r1.6.2.62 -r1.6.2.63
--- build.xml 2001/03/05 19:07:27 1.6.2.62
+++ build.xml 2001/03/12 15:51:42 1.6.2.63
@@ -184,13 +184,10 @@
classname="javax.servlet.http.HttpServletRequestWrapper">
<classpath refid="classpath"/>
</available>
- <available property="jndi.present" classname="javax.naming.Context">
- <classpath refid="classpath"/>
- </available>
- <available property="datasource.present"
classname="javax.sql.DataSource">
+ <available property="xpath.present"
classname="org.apache.xpath.XPathAPI">
<classpath refid="classpath"/>
</available>
- <available property="xpath.present"
classname="org.apache.xpath.XPathAPI">
+ <available property="ora.driver.present" classname="oracle.sql.BLOB">
<classpath refid="classpath"/>
</available>
</target>
@@ -213,6 +210,7 @@
<exclude name="**/http/HttpRequest2*.java"/>
<exclude name="**/http/RequestWrapper2*.java"/>
<exclude name="**/http/HttpResponse2*.java"/>
+ <exclude name="**/Ora*.java" unless="ora.driver.present"/>
</fileset>
</copy>
</target>
@@ -247,16 +245,10 @@
filtering="on"/>
</target>
- <target name="prepare-jndi" depends="prepare-datasource"
if="jndi.present"/>
-
- <target name="prepare-datasource" depends="prepare-src-main"
if="datasource.present">
- <property name="j2ee.present" value="true"/>
- </target>
-
<!-- ===================================================================
-->
<!-- Prepares the source code
-->
<!-- ===================================================================
-->
- <target name="prepare-src" depends="prepare-src-22,prepare-jndi"/>
+ <target name="prepare-src" depends="prepare-src-22"/>
<!-- ===================================================================
-->
<!-- Compiles the source directory
-->
@@ -287,6 +279,7 @@
<exclude name="**/HTMLGenerator.java" unless="tidy.present"/>
<exclude name="**/J2eeDataSource.java" unless="j2ee.present"/>
<exclude name="**/XIncludeTransformer.java" unless="xpath.present"/>
+ <exclude name="**/Ora*" unless="ora.driver.present"/>
</javac>
</target>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]