You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2003/02/14 00:39:54 UTC
cvs commit: db-ojb/xdocs deployment.xml
arminw 2003/02/13 15:39:53
Modified: . build.xml build-xdoclet.xml
xdocs deployment.xml
Log:
workaround for jboss mbeans,
since jboss jars not allowed
to ship.
Revision Changes Path
1.69 +6 -0 db-ojb/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/db-ojb/build.xml,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- build.xml 11 Feb 2003 19:34:44 -0000 1.68
+++ build.xml 13 Feb 2003 23:39:53 -0000 1.69
@@ -1048,6 +1048,12 @@
target="jar-client"/>
</target>
+ <target name="prepare-jboss"
+ description="Copy jboss mbeans to code base">
+ <ant dir="."
+ antfile="${basedir}/build-xdoclet.xml"
+ target="prepare-jboss"/>
+ </target>
1.9 +12 -0 db-ojb/build-xdoclet.xml
Index: build-xdoclet.xml
===================================================================
RCS file: /home/cvs/db-ojb/build-xdoclet.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build-xdoclet.xml 10 Jan 2003 17:12:37 -0000 1.8
+++ build-xdoclet.xml 13 Feb 2003 23:39:53 -0000 1.9
@@ -117,6 +117,18 @@
</delete -->
</target>
+ <!-- =================================================================== -->
+ <!-- jboss mbeans, workaround till JCA works -->
+ <!-- =================================================================== -->
+ <target name="prepare-jboss">
+ <copy todir="${build.src}">
+ <fileset dir="${src.dir}/connector/main">
+ <include name="**/ODMGFactory*.java" />
+ <include name="**/PBFactory*.java" />
+ </fileset>
+ </copy>
+ </target>
+
<!-- =================================================================== -->
<!-- Build deployable jar of the generated files -->
1.11 +9 -0 db-ojb/xdocs/deployment.xml
Index: deployment.xml
===================================================================
RCS file: /home/cvs/db-ojb/xdocs/deployment.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- deployment.xml 15 Jan 2003 10:51:23 -0000 1.10
+++ deployment.xml 13 Feb 2003 23:39:53 -0000 1.11
@@ -254,6 +254,15 @@
</mbean>
]]></source>
This entries make OJB accessible via JNDI.
+<br/>
+
+
+Add <code>jboss-common.jar</code> and <code>jboss-system.jar</code> into
+the lib directory if not present. With <code>bin\build.bat prepare-jboss jar</code>
+using windows or <code>bin/build.sh prepare-jboss jar</code> we rebuild OJB
+jars including the jboss MBeans.
+
+
</p>
<p>