If you are deploying a custom command, data bean, or Java
classes, you must first package or export your classes as a JAR file.
Procedure
- Open WebSphere
Commerce Developer and switch to the Enterprise Explorer view.
- Right-click the WebSphereCommerceServerExtensionsLogic project
and select Export.
- In the Export wizard:
- Select and
click Next.
- Ensure that the resources that begin with a period are
not selected. For example, .classpath, .factorypath,
and .project.
- Ensure Export generated class files and resources is
selected.
- Ensure Export Java source files and resources is
not selected.
- In the Select the export destination field,
enter the fully-qualified JAR file name, for example:
C:\ExportTemp\WebSphereCommerceServerExtensionsLogic.jar
- Click Finish.
- Depending on whether you have other assets to deploy, you
are either ready to deploy your assets or you have one more packaging
step:
- If you do not have other assets to deploy (that is, the only asset
to deploy is the JAR file you have just created), then deploy it as
a single file.
- If there are other assets as part of this deployment:
- Package them as either a partial application or
an entire module.
- Deploy as either a partial
application or an entire module.