build.cmd

来自「weblogic应用全实例」· CMD 代码 · 共 26 行

CMD
26
字号
@REM Copyright (c) 2000 BEA Systems, Inc. All Rights Reserved.
@REM You must set your environment by running the setExamplesEnv script 
@REM prior to executing this script.

@REM Create the build directory, and copy the deployment descriptors into it
mkdir build build\META-INF build\images
copy *.xml build\META-INF
copy *.gif build\images

@REM Compile ejb classes into the build directory (jar preparation)
javac -d build Trader.java TraderHome.java TradeResult.java TraderBean.java

@REM Make a EJB jar file, including XML deployment descriptors
cd build
jar cv0f std_ejb_over_iiop.jar META-INF examples images

cd ..


@REM Run ejbc on jar file
java weblogic.ejbc -compiler javac -idl -idlDirectory idlSources -iiop build\std_ejb_over_iiop.jar %WL_HOME%\config\%DOMAIN_NAME%\applications\ejb_over_iiop.jar

@REM Compile EJB interfaces & client app into the clientclasses directory
javac -d %CLIENT_CLASSES% Trader.java TraderHome.java TradeResult.java Client.java

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?