The Delete Package command for the commandFile parameter enables you to delete an imported or exported package specified in the package-name parameter from the schema specified in the schema-name parameter.
This command has the following syntax.
Delete Package schema-name::package-name
The following jadloadb example contains the fully qualified name of a JADE command .jcf text file that deletes a package.
jadloadb path=d:\jade\system commandFile=d:\temp\DeletePackages.jcf ini=d:\jade\myjade.ini loadStyle=currentSchemaVersion
The DeletePackages command file in the previous example deletes imported package P99 from the Par9999Importer schema, as follows.
JadeCommandFile JadeVersionNumber 7.1.03 Commands AbortOnError True Delete Package Par9999Importer::P99
An exported package cannot be deleted if it is imported by another schema. An imported package cannot be deleted if it imports a class or interface that is used as the type of a property.