build.cmd
来自「weblogic应用全实例」· CMD 代码 · 共 23 行
CMD
23 行
@REM Copyright (c) 2000 BEA Systems, Inc. All Rights Reserved.
@REM You must set your environment by running the setExamplesEnv shell script
@REM prior to executing this script.
@REM Create the build directory, and copy the deployment descriptors into it
mkdir build build\META-INF
copy *.xml build\META-INF
@REM Compile EJB classes into the build directory (jar preparation)
javac -d build MessageTraderBean.java
@REM Make a EJB jar file, including XML deployment descriptors
cd build
jar cv0f std_ejb20_message.jar META-INF examples
cd ..
@REM Run EJBC on jar file
java -classpath %WL_HOME%/lib/weblogic_sp.jar;%WL_HOME%/lib/weblogic.jar weblogic.ejbc -compiler javac build\std_ejb20_message.jar %WL_HOME%\config\%DOMAIN_NAME%\applications\ejb20_message.jar
@REM Compile EJB interfaces & client app into the clientclasses directory
javac -d %CLIENT_CLASSES% Client.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?