Thanks for Snail Hyy, thanks to DCOMLI
OBE download and compile process (Supplemental Edition)
Operating environment
OS: Windows 2000 Professional / Windows 2000 Server / WinXP
EJB Server: WebLogic 7.x
DB Server: mysql-4.0.18 (this is later)
tool
Download OBE Tools: WIN CVS
MySQL client management tool: mysql front
Environment variable
Java_Home: C: /J2SDK1.4.2 (Snail Hyy recommended JDK1.4 or more);
Compiling process
? Download source code with PSERVER: Anonymous@cvs.sourceforge.net: 2401: / cvsroot / OBE
This step is very easy to make mistakes, if you can't do it, you will go to http://211.95.124.235:88/cgi-bin/leoboard.cgi
FTP site download code
• Configure the Properties inside the Obe / Custom depending on the EJB Server and DB Server used.
• The EJB Server we use is WebLogic; DB Server is MySQL. Then create a WebLogic-mysql.properties, and edit the content inside. The general content is:
1. As.Dir content: Specify the path to the installed WebLogic
# A CONVENIENCE for Defining the as. * Properties.
askIR = E: / BEA
2. JDBC.CLASSPATH content: Specify the installation directory of mysql-connector-java-3.0.11-stable-bin.jar
# Path to the driver for use by the dbsetup task.
JDBC.CLASSPATH = E: /bea/wlserver7/lib/mysql-connector-java-3.0.11-stable-bin.jar
• Enter the OBE directory from DOS and run precedent.cmd weblogic-mysql.properties. (Note If WebLogic -Mysql.Properties is not in the OBE root directory, you want to remember the path on the top).
? If you report Velocity's error, you must add it in build.xml.
ClassName = "org.apache.velocity.util.ant.velocityTask"
ClassPath = "$ {velocity.lib} / $ {velocity.lib}: $ {velocity.jar}: $ {velocity.lib}
/ $ {velocity-dep.jar} "/>
• Run anten in the root directory of OBE
If you are running correctly, you will generate a build directory below Obe.
• There will be an ObeServer.ear file below / ube / lib.
This file can be posted to WebLogic.