We give you a file should have a folder containing the following folders, and put the following files and files in the root directory of the disk. For example, in the D disk, then there should be three folder OSSEAR, TEMP and TMP and a build.xml file in the D disk. There OSSEar folder in files and folders as follows: split_dir_build.xmlAPP-INFappUtilsBillEJBModuleMETA-INFOssUtilityEJBModuleOSSWebAppParamEJBModulePolicyEJBModuleProductEJBModuleServiceEJBModulegen_build_xml.batbuild.xml
Below is the step of generating an EAR file (operating directory: / OSSEAR) 1. Delete the old build.xml file Del Build.xml
2. Set the environment variable and generate a new build.xml file gen_build_xml.bat
3. Compile the Java file according to the structure of the folder; generate the Application.xml file; configure all web applications and EJBANT DEScriptors
3. Go to the parent directory, generate the JAR file you need to use in the page you need to use, and store the cd ..nt BuildalLapplet in the corresponding folder
4. Back to the OSSEAR folder, call ANT to generate an EAR file, generated EAR file stored in the / tmp / dist folder, file named OSSEAR.EARCD OSSEARANT EAR Note: Where you need to modify, in the gen_build_xml.bat file Change SET WL_HOME = D: / bea / webLogic81 to your local WebLogic8 installation location