Thanks to the snil hyy and dcomli.
OBE download and compilation process (Supplemental Version)
Running Environment
OS: Windows 2000 Professional/Windows 2000 Server/WINXP
EJB server: Weblogic 7.x
DB server: mysql-4.0.18 (later)
Tools
Download ghost tool: Win CVS
Mysql client management tool: MySQL front
Environment Variable
Java_home: C:/j2sdk1.4.2 (jdk1.4 or above is recommended for snil hyy );
Compilation process
? Download source code with pserver: anonymous@cvs.sourceforge.net: 2401:/cvsroot/sources
This step is very error-prone. If it does not work, it will go to http: // 211.95.124.235: 88/cgi-bin/leoboard. cgi
FTP site download code
? Configure properties in volumes/custom based on the EJB server and DB server used.
? The EJB server we use is WebLogic, And the DB server is MySQL. Then it is to create a weblogic-mysql.properties and edit the content inside. The general content is:
1. As. dir content: Specify the Weblogic installation path.
# A convenience for defining the AS. * properties.
As. dir = E:/Bea
2. JDBC. classpath content: Specifies the installation directory for the 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
? Go from DOS to the DRIVERS directory and run the prepare. CMD weblogic-mysql.properties command. (Note that if Weblogic-mysql. properties is not in the ghost root directory, remember to include the path ).
? If a velocity error is reported, add it to build. xml.
Classname = "org. Apache. Velocity. util. Ant. velocitytask"
Classpath = "$ {velocity. lib}/$ {velocity-ant.jar }:$ {velocity. lib}/$ {velocity. jar }:$ {velocity. lib}/$ {velocity-dep.jar} "/>
? Run ant in the root directory of the worker.
If all the above operations are correct, the build directory will be generated under the scripts.
? There is an obeserver. Ear file under/users/build/staging/J2EE/lib.
This file can be published to weblogic.