The download and compilation process of Idea

Source: Internet
Author: User
Tags ftp site

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.