To delete an application from the Application Center, call
the stand-alone tool from the command line.
Procedure
Use the stand-alone tool by following these steps.
- Add applicationcenterdeploytool.jar and json4j.jar to
the java classpath environment variable.
- Call the upload tool from the command line:
java com.ibm.appcenter.Upload -delete [options] [files or applications]
You
can pass any of the available options in the command line.
Option |
Content indicated by |
Description |
-s |
serverpath |
The path to the Application Center server. |
-c |
context |
The context of the Application Center web application. |
-u |
user |
The user credentials to access the Application
Center. |
-p |
password |
The password of the user. |
-y |
|
Disable SSL security checking, which allows
publishing on secured hosts without verification of the SSL certificate.
Use of this flag is a security risk, but may be suitable for testing
localhost with temporary self-signed SSL certificates. |
You can specify files or the application package, operating
system, and version. If files are specified, the package, operating
system and version are determined from the file and the corresponding
application is deleted from the Application Center. If applications
are specified, they must have one of the following formats:
package@os@version:
This exact version is deleted from the Application Center. The version
part must specify the “internal version”, not the “commercial version”
of the application.
package@os: All versions
of this application are deleted from the Application Center.
package:
All versions of all operating systems of this application are deleted
from the Application Center.
Example
In this example, user demo has the
password demopassword. Use this command line
to delete the iOS application demo.HelloWorld with internal version
3.0.
java com.ibm.appcenter.Upload -delete -s http://localhost:9080 -c applicationcenter -u demo -p demopassword demo.HelloWorld@iOS@3.0