dims 01/04/13 10:39:52
Modified: . Tag: xml-cocoon2 build.bat build.sh build.xml
src/org/apache/cocoon Tag: xml-cocoon2 Roles.java
cocoon.roles
Added: lib Tag: xml-cocoon2 ant_1_3-optional.jar
src/org/apache/cocoon/components/browser Tag: xml-cocoon2
Browser.java BrowserImpl.xml BrowserImpl.xsl
Log:
Adding Ovidiu's Patch for C1 for implementing browser database capabilities as
a full-fledged C2 Component.
http://mailman.real-time.com/pipermail/cocoon-devel/2000-October/003041.html
Revision Changes Path
No revision
No revision
1.10.2.24 +2 -2 xml-cocoon/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs/xml-cocoon/build.bat,v
retrieving revision 1.10.2.23
retrieving revision 1.10.2.24
diff -u -r1.10.2.23 -r1.10.2.24
--- build.bat 2001/03/05 19:56:07 1.10.2.23
+++ build.bat 2001/04/13 17:39:50 1.10.2.24
@@ -2,7 +2,7 @@
::
-----------------------------------------------------------------------------
:: build.bat - Win32 Build Script for Apache Cocoon
::
-:: $Id: build.bat,v 1.10.2.23 2001/03/05 19:56:07 giacomo Exp $
+:: $Id: build.bat,v 1.10.2.24 2001/04/13 17:39:50 dims Exp $
::
-----------------------------------------------------------------------------
:: ----- Verify and Set Required Environment Variables
-------------------------
@@ -18,7 +18,7 @@
:: ----- Set Up The Runtime Classpath
------------------------------------------
-set
CP=%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\ant_1_3.jar;.\lib\xerces_1_3_0.jar
+set
CP=%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\ant_1_3.jar;%ANT_HOME%\lib\ant_1_3-optional.jar;.\lib\xerces_1_3_0.jar;.\lib\xalan-2.0.1.jar
:: ----- Execute The Requested Build
-------------------------------------------
1.10.2.25 +2 -2 xml-cocoon/build.sh
Index: build.sh
===================================================================
RCS file: /home/cvs/xml-cocoon/build.sh,v
retrieving revision 1.10.2.24
retrieving revision 1.10.2.25
diff -u -r1.10.2.24 -r1.10.2.25
--- build.sh 2001/03/05 19:56:08 1.10.2.24
+++ build.sh 2001/04/13 17:39:51 1.10.2.25
@@ -2,7 +2,7 @@
#
-----------------------------------------------------------------------------
# build.sh - Unix Build Script for Apache Cocoon
#
-# $Id: build.sh,v 1.10.2.24 2001/03/05 19:56:08 giacomo Exp $
+# $Id: build.sh,v 1.10.2.25 2001/04/13 17:39:51 dims Exp $
#
-----------------------------------------------------------------------------
# ----- Verify and Set Required Environment Variables
-------------------------
@@ -18,7 +18,7 @@
# ----- Set Up The Runtime Classpath
------------------------------------------
-CP=$JAVA_HOME/lib/tools.jar:$ANT_HOME/lib/ant_1_3.jar:./lib/xerces_1_3_0.jar
+CP=$JAVA_HOME/lib/tools.jar:$ANT_HOME/lib/ant_1_3.jar:$ANT_HOME/lib/ant_1_3-optional.jar:./lib/xerces_1_3_0.jar:./lib/xalan-2.0.1.jar
# ----- Make sure Ant script is executable
------------------------------------
1.6.2.72 +18 -1 xml-cocoon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/build.xml,v
retrieving revision 1.6.2.71
retrieving revision 1.6.2.72
diff -u -r1.6.2.71 -r1.6.2.72
--- build.xml 2001/04/13 16:33:13 1.6.2.71
+++ build.xml 2001/04/13 17:39:51 1.6.2.72
@@ -224,6 +224,7 @@
<exclude name="**/http/HttpResponse2*.java"/>
<exclude name="**/Ora*.java" unless="ora.driver.present"/>
<exclude name="**/Sendmail*.java" unless="mail.present"/>
+ <exclude name="**/browser/*.x*"/>
</fileset>
</copy>
</target>
@@ -263,10 +264,26 @@
<!-- ===================================================================
-->
<target name="prepare-src" depends="prepare-src-22"/>
+
+ <!-- ===================================================================
-->
+ <!-- Generate the Java code from XML using XSLT
-->
+ <!-- ===================================================================
-->
+ <target name="generate-java-code">
+ <delete dir="${build.src}/org/apache/cocoon/components/browser"
+ includes="BrowserImpl.java"/>
+ <style basedir="${src.dir}/org/apache/cocoon/components/browser"
+ destdir="${build.src}/org/apache/cocoon/components/browser"
+ includes="BrowserImpl.xml"
+ extension=".java"
+ style="BrowserImpl.xsl"/>
+ </target>
+
+
<!-- ===================================================================
-->
<!-- Compiles the source directory
-->
<!-- ===================================================================
-->
- <target name="compile" depends="prepare-src" description="Compiles the
source code">
+ <target name="compile" depends="prepare-src,generate-java-code"
+ description="Compiles the source code">
<copy todir="${build.dest}">
<fileset dir="${build.src}">
<include name="**/Manifest.mf"/>
No revision
No revision
1.1.2.1 +1018 -0 xml-cocoon/lib/Attic/ant_1_3-optional.jar
<<Binary file>>
No revision
No revision
1.1.2.12 +2 -1 xml-cocoon/src/org/apache/cocoon/Attic/Roles.java
Index: Roles.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Attic/Roles.java,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -r1.1.2.11 -r1.1.2.12
--- Roles.java 2001/04/11 10:52:00 1.1.2.11
+++ Roles.java 2001/04/13 17:39:51 1.1.2.12
@@ -12,11 +12,12 @@
* Created this interface to specify the Avalon role names.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
- * @version CVS $Revision: 1.1.2.11 $ $Date: 2001/04/11 10:52:00 $
+ * @version CVS $Revision: 1.1.2.12 $ $Date: 2001/04/13 17:39:51 $
*/
public interface Roles {
+ String BROWSER =
"org.apache.cocoon.components.browser.Browser";
String PARSER =
"org.apache.cocoon.components.parser.Parser";
String PROCESSOR = "org.apache.cocoon.Processor";
String STORE = "org.apache.cocoon.components.store.Store";
1.1.2.3 +4 -0 xml-cocoon/src/org/apache/cocoon/Attic/cocoon.roles
Index: cocoon.roles
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Attic/cocoon.roles,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- cocoon.roles 2001/04/11 10:52:02 1.1.2.2
+++ cocoon.roles 2001/04/13 17:39:51 1.1.2.3
@@ -5,6 +5,10 @@
shorthand="parser"
default-class="org.apache.cocoon.components.parser.JaxpParser"/>
+ <role name="org.apache.cocoon.components.browser.Browser"
+ shorthand="browser"
+ default-class="org.apache.cocoon.components.browser.BrowserImpl"/>
+
<role name="org.apache.cocoon.Processor"
shorthand="processor"/>
No revision
No revision
1.1.2.1 +34 -0
xml-cocoon/src/org/apache/cocoon/components/browser/Attic/Browser.java
1.1.2.1 +94 -0
xml-cocoon/src/org/apache/cocoon/components/browser/Attic/BrowserImpl.xml
1.1.2.1 +341 -0
xml-cocoon/src/org/apache/cocoon/components/browser/Attic/BrowserImpl.xsl
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]