📄 build.cmd
字号:
@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 Account.java AccountHome.java ProcessingErrorException.java AccountBean.java
@REM Make a EJB jar file, including XML deployment descriptors
cd build
jar cv0f std_ejb_basic_beanManaged.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_ejb_basic_beanManaged.jar %WL_HOME%\config\%DOMAIN_NAME%\applications\ejb_basic_beanManaged.jar
@REM Compile servlets and EJB interfaces into WEB-INF/classes directory of the Examples Web App
@REM This ensures that the EJB can be accessed by JSPs and servlets of the Examples Web App
javac -d %EX_WEBAPP_CLASSES% Servlet.java Account.java AccountHome.java ProcessingErrorException.java
@REM Compile EJB interfaces & client app into the clientclasses directory
javac -d %CLIENT_CLASSES% Account.java AccountHome.java ProcessingErrorException.java Client.java
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -