Packaging a Plug-In
After creating the Java and XML files for a plug-in, you need to package the plug-in files into a JAR file, which can be deployed to the Support Platform.
There are two methods for packaging a plug-in.
This method packages the plug-in project into a JAR file:
...
1. In NetWeaver Developer Studio, right-click the project and select Export.
A list of export destinations is displayed.
2. Select JAR File, and then click Next.
A window for selecting the export settings is displayed.
3. In the JAR File text box, specify the path of the JAR file to create.
4. Click Finish.
The plug-in JAR file is created.
This method packages the plug-in project into a JAR file and deploys it to the J2EE server specified in SAP J2EE Engine preferences in the NetWeaver Developer Studio.
This method requires that the Software Deployment Manager (SDM) is running on the server to which you are deploying the plug-in.
...
1. In NetWeaver Developer Studio, right-click the project and select Deploy Plug-In.
A window for selecting the export settings is displayed.
2. To compile the plug-in without deploying, do the following:
a. Uncheck Deploy to Support Platform.
b. In the JAR File text box, specify the path of the JAR file to create.
c. Click Finish.
To compile and deploy the plug-in, do the following:
...
a. Check Deploy to Support Platform.
b. Click Finish. A dialog is displayed for entering the password for SDM.
c. Enter the SDM password, and click OK. The plug-in JAR file is deployed.
