|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.instassm.XmlFragment
com.ptc.windchill.instassm.InstalledAssembly
A class for reading the InstalledAssembly file for individual installed assemblies.
This class is meant for use on the system where the Windchill Platform or Solution
is installed. It cannot be used from a client.
Supported API: false
Extendable: false
Nested Class Summary | |
class |
InstalledAssembly.InstalledComponent
|
Constructor Summary | |
(package private) |
InstalledAssembly(Element element)
|
|
InstalledAssembly(File file)
Read the installed assembly (IA) file from the given file. |
|
InstalledAssembly(InputStream input_stream)
Read the installed assembly (IA) file from the given file. |
(package private) |
InstalledAssembly(ReleaseId release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list)
|
(package private) |
InstalledAssembly(ReleaseId release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list,
File installer_comp_map_file)
|
(package private) |
InstalledAssembly(String release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list)
|
(package private) |
InstalledAssembly(String release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list,
File installer_comp_map_file)
|
Method Summary | |
private void |
checkBaseReleaseInformation()
|
(package private) static String |
checkGetOptarg(int c,
String arg)
|
(package private) static String |
checkGetOptarg(int c,
String arg,
String not_string)
|
private void |
checkIntermediateReleaseInformation()
|
static void |
convertLeadingLongDashesToRegularDashes(String[] args)
|
static void |
createInstalledAssemblyElement(String install_reg_dir_name,
String release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
String base_release_id_string,
String base_support_date_code,
String base_installer_sequence_number,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list)
Create the InstalledAssembly element. |
static void |
createInstalledAssemblyElement(String install_reg_dir_name,
String release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
String base_release_id_string,
String base_support_date_code,
String base_installer_sequence_number,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list,
File installer_comp_map_file)
Create the InstalledAssembly element. |
static void |
createInstalledAssemblyElement(String install_reg_dir_name,
String release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
String base_release_id_string,
String base_support_date_code,
String base_installer_sequence_number,
String intermediate_release_ids_list,
String intermediate_support_datecodes_list,
String intermediate_installer_sequences_list)
Create the InstalledAssembly element. |
(package private) static InstalledAssembly[] |
findInstalledAssemblies()
Factory that locates all IA files in the $(wt.home)/{codebase|installer}/instreg dir, parses them, and, for any that are actually installed (have installed components) returns an array of InstalledAssembly objects wrapping each of their contents. |
(package private) static InstalledAssembly[] |
findInstalledAssemblies(boolean must_actually_be_installed)
Factory that locates all IA files in the $(wt.home)/{codebase|installer}/instreg dir, parses them, and, when required, for any that are actually installed (have installed components) returns an array of InstalledAssembly objects wrapping each of their contents. |
String |
getAssemblyId()
The assembly identifier for the assembly. |
String |
getBaseInstallerSequence()
Gets the base installer sequence this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
static String |
getBaseInstallerSequenceAttributeName()
The base installer sequence attribute name for this assembly. |
ReleaseId |
getBaseReleaseIdentifier()
The base ReleaseId this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
static String |
getBaseReleaseIdentifierAttributeName()
The base ReleaseId attribute name for this assembly. |
String |
getBaseSupportDateCode()
The base support datecode this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
static String |
getBaseSupportDateCodeAttributeName()
The base support datecode attribute name for this assembly. |
private Element |
getComponentElement(String component_id)
|
String[] |
getComponentIdsForFeatures(String[] feature_short_names)
|
String |
getDisplayLabel()
The display name associated with the versioned assembly. |
InstalledAssembly |
getInstalledAssembly(String aid)
Get an InstalledAssembly based on its assembly id, possibly null if it is not installed. |
InstalledAssembly |
getInstalledAssembly(String aid,
boolean must_actually_be_installed)
Get an InstalledAssembly based on its assembly id, possibly null if it does not exist or has not actually been installed when requested to be. |
InstalledAssembly.InstalledComponent |
getInstalledComponent(String component_id)
Gets an InstalledComponent, possibly null, for the specified id. |
String[] |
getInstalledComponentIds()
|
private Element |
getInstallerElement()
|
String |
getInstallerSequence()
The installer sequence information associated with the versioned assembly. |
int |
getInstregVersion()
The instreg version of this InstalledAssembly. |
String[] |
getIntermediateInstallerSequencesList()
Get the intermediate installer sequences of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
int[] |
getIntermediateInstallerSequencesList(String[] string_list)
Get the intermediate installer sequences of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
String |
getIntermediateInstallerSequencesListAsString()
Gets a comma separated list the intermediate installer sequences of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
static String |
getIntermediateInstallerSequencesListAttributeName()
The intermediate installer sequences list attribute name for this assembly. |
ReleaseId[] |
getIntermediateReleaseIdentifiersList()
Gets the intermediate ReleaseIds of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
String |
getIntermediateReleaseIdentifiersListAsString()
Gets a comma separated list the intermediate ReleaseIds of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
static String |
getIntermediateReleaseIdentifiersListAttributeName()
The intermediate ReleaseIds list attribute name for this assembly. |
String[] |
getIntermediateSupportDateCodesList()
Get the intermediate support datecodes of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
String |
getIntermediateSupportDateCodesListAsString()
Gets a comma separated list the intermediate support datecodes of this assembly since the FCS or last recut build, if any, for comparing MOR Content for this assembly. |
static String |
getIntermediateSupportDateCodesListAttributeName()
The intermediate support datecodes list attribute name for this assembly. |
private static String[] |
getListEntries(String list,
String attribute)
|
int |
getOriginalInstregVersion()
The original instreg version of this InstalledAssembly. |
private Element |
getProductElement()
|
String |
getProductId()
|
String |
getProductName()
|
ReleaseId |
getReleaseId()
The (formal) release identifier for the assembly. |
protected String |
getRootElementName()
|
protected String |
getSaveToFileName()
|
String |
getSupportDateCode()
The date code associated with the versioned assembly. |
String |
getSupportReleaseNumber()
The release number to show in the about pages. |
String |
getVersionCode()
The version code associated with the versioned assembly. |
protected void |
initFrom(Element element)
|
protected void |
initFrom(ReleaseId release_id,
String display_name,
String support_date_code,
String support_release_number,
String installer_sequence_number,
boolean is_complete,
String version_code,
ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence,
String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list,
File installer_comp_map_file)
|
boolean |
isComplete()
Whether installation of this versioned assembly succeeded. |
boolean |
isInstalled()
Whether this assembly actually is (has components) installed on the system. |
boolean |
isRegressed()
Whether this assembly is regressed. |
private void |
logInstallerMessage(String msg)
|
static void |
main(String[] args)
Command line interface to the InstalledAssembly. |
(package private) void |
mergeAssemblyWithInstalledAssembly()
|
static String |
sanitizeComponentShortName(String short_name)
Convert a component short name to be a valid assembly id by converting any character not answering true to underscore and stripping all leading
underscores from the resulting string. |
void |
saveToDir(File dir)
Save the fragment as a file into a specified directory. |
void |
saveToRegistryDir()
Save the InstalledAssembly file into the registry dir that IAConstants has been initialized with. |
protected void |
setAttributesOn(Element element)
|
private void |
setBaseInstallerSequence(String base_installer_sequence)
Sets the base installer sequence this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
private void |
setBaseReleaseIdentifier(ReleaseId base_release_id)
Sets the base ReleaseId this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
private void |
setBaseReleaseIdentifier(String base_release_id_string)
Sets the base ReleaseId this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
void |
setBaseReleaseInformation(ReleaseId base_release_id,
String base_support_datecode,
String base_installer_sequence)
Set the base ReleaseId, support datecode and installer sequence this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
void |
setBaseReleaseInformation(String base_release_id,
String base_support_datecode,
String base_installer_sequence)
Set the base ReleaseId, support datecode, and installer sequence this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
private void |
setBaseSupportDateCode(String base_support_datecode)
Sets the base support datecode this version of this assembly was compared against, if any, for creating MOR Content for this assembly. |
void |
setComplete(boolean is_complete)
Change whether installation of this versioned assembly succeeded this will only change the state in-memory. |
void |
setComponentIsInstalled(String component_id,
boolean is_installed)
Records whether a component is installed or not, based on the is_installed mode passed in. |
void |
setDisplayLabel(String new_display_name)
Set the display name associated with the versioned assembly. |
void |
setInstallerSequence(String new_installer_sequence)
Changes the installer sequence information for the IA. |
private void |
setInstregVersion(Element element)
|
private void |
setInstregVersion(int instreg_version)
|
private void |
setInstregVersion(String instreg_version)
|
private void |
setIntermediateInstallerSequencesList(String[] inter_installer_sequences_list)
Sets the intermediate installer sequences of this assembly since the FCS or last recut build, if any, for creating MOR Content for this assembly. |
private void |
setIntermediateReleaseIdentifiersList(ReleaseId[] intermediate_release_ids_list)
Sets the intermediate ReleaseId versions of intermediate releases of this assembly, for creating or installing MOR Content for this assembly. |
private void |
setIntermediateReleaseIdentifiersList(String[] intermediate_release_ids_list)
Sets the intermediate ReleaseId versions of intermediate releases of this assembly, for creating or installing MOR Content for this assembly. |
void |
setIntermediateReleaseInformation(String[] intermediate_release_ids_list,
String[] intermediate_support_datecodes_list,
String[] intermediate_installer_sequences_list)
Sets the release identifiers, support datecodes, and installer sequences of intermediate release versions of this assembly, if any, that were created as FCS releases or MOR Content for this assembly. |
void |
setIntermediateReleaseInformation(String intermediate_release_ids_list,
String intermediate_support_datecodes_list,
String intermediate_installer_sequences_list)
Sets the release identifiers, support datecodes, and installer sequences of intermediate release versions of this assembly, if any, that were created as FCS releases or MOR Content for this assembly. |
private void |
setIntermediateSupportDateCodesList(String[] inter_support_data_codes_list)
Sets the intermediate support datecodes of this assembly since the FCS or last recut build, if any, for creating MOR Content for this assembly. |
void |
setSupportDateCode(String new_date_code)
Set the date code associated with the versioned assembly. |
void |
setSupportReleaseNumber(String new_release_number)
Set the release number associated with the versioned assembly. |
void |
setVersionCode(String new_version_code)
Set the version code associated with the versioned assembly. |
private static void |
showHelp()
|
private static ArrayList |
split(String message)
|
String |
toString()
|
String |
toString(String sep)
|
private void |
updateAssembly()
|
void |
updateReleaseIdVersion(String new_version)
Change the version of installed assembly. |
private static String |
wrap(String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int originalInstregVersion_
private int instregVersion_
private boolean initialized_
private ReleaseId releaseIdentifier_
private String displayName_
private String versionCode_
private String supportDateCode_
private String supportReleaseNumber_
private String installerSequence_
private boolean isNotComplete_
private boolean isInstallAnywhereAssembly_
private ReleaseId baseReleaseIdentifier_
private String baseSupportDateCode_
private String baseInstallerSequence_
private ArrayList intermediateReleaseIdentifiersList_
private ArrayList intermediateSupportDateCodesList_
private ArrayList intermediateInstallerSequencesList_
private Map installedComponents_
private ArrayList extensionNodes_
private Element element_
private boolean mergeOutOfProcess_
private File installerComponentMapFile_
private InstallerComponentMap installerComponentMap_
private static final String INSTALLER_ELEM_COMMENT
private static final String[] EMPTY_STRING_ARRAY
private static final String BREAK_AND_INDENT
private static final int MAX_WRAPPED_MESSAGE_WIDTH
Constructor Detail |
public InstalledAssembly(File file) throws IAException
file
-
IAException
- if the file is not found, if the contents of the file are malformed, or if the rel id in the file is inconsistent with the name fo the filepublic InstalledAssembly(InputStream input_stream) throws IAException
input_stream
- InputStream containing just the .ia content. The stream will not be closed when reading is complete.
IAException
- if the file is not found, if the contents of the file are malformed, or if the rel id in the file is inconsistent with the name fo the fileInstalledAssembly(Element element) throws IAException
InstalledAssembly(ReleaseId release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list) throws IAException
InstalledAssembly(ReleaseId release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list, File installer_comp_map_file) throws IAException
InstalledAssembly(String release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list) throws IAException
InstalledAssembly(String release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list, File installer_comp_map_file) throws IAException
Method Detail |
protected void initFrom(ReleaseId release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list, File installer_comp_map_file) throws IAException
IAException
protected void initFrom(Element element) throws IAException
initFrom
in class XmlFragment
IAException
protected void setAttributesOn(Element element) throws IAException
setAttributesOn
in class XmlFragment
IAException
private void updateAssembly() throws IAException
IAException
public ReleaseId getReleaseId()
public String getAssemblyId()
public void updateReleaseIdVersion(String new_version) throws IAException
IAException
public String getDisplayLabel()
For 7.0 this was the displayLabel attribute. It was renamed the displayName attribute at 8.0. This is to prevent 7.0 installers from overwriting and corrupting a newer install registry.
The old the displayLabel attribute attribute is still recognized for backwards compatiblity when looking at 7.0 install registries.
Note that the content also changed slightly, dropping version information.
Supported API: false
Extendable: false
public void setDisplayLabel(String new_display_name) throws IAException
For 7.0 this was the displayLabel attribute. It was renamed the displayName attribute at 8.0. This is to prevent 7.0 installers from overwriting and corrupting a newer install registry.
Note that the content changed slightly also, dropping version information.
Supported API: false
Extendable: false
new_display_name
- possibly empty, non null, string
IAException
public String getVersionCode()
public void setVersionCode(String new_version_code) throws IAException
new_version_code
- possibly empty, possibly null, string
IAException
public String getSupportReleaseNumber()
public void setSupportReleaseNumber(String new_release_number) throws IAException
new_release_number
- possibly empty, non null, string
IAException
public String getSupportDateCode()
public void setSupportDateCode(String new_date_code) throws IAException
new_date_code
- possibly empty, non null, string
IAException
public String getInstallerSequence()
public void setInstallerSequence(String new_installer_sequence)
public void setComplete(boolean is_complete)
public boolean isComplete()
public boolean isInstalled()
public boolean isRegressed()
public void setBaseReleaseInformation(ReleaseId base_release_id, String base_support_datecode, String base_installer_sequence) throws IAException
base_release_id
- a ReleaseId containing the base release identifierbase_support_datecode
- a String containing the base support datecodebase_installer_sequence
- a String containing the base installer sequence
IAException
public void setBaseReleaseInformation(String base_release_id, String base_support_datecode, String base_installer_sequence) throws IAException
base_release_id
- a String containing the base release identifierbase_support_datecode
- a String containing the base support datecodebase_installer_sequence
- a String containing the base installer sequence
IAException
private void setInstregVersion(Element element) throws IAException
IAException
private void setInstregVersion(String instreg_version) throws IAException
IAException
private void setInstregVersion(int instreg_version) throws IAException
IAException
public int getInstregVersion() throws IAException
IAException
public int getOriginalInstregVersion() throws IAException
IAException
private void checkBaseReleaseInformation() throws IAException
IAException
public ReleaseId getBaseReleaseIdentifier()
public static final String getBaseReleaseIdentifierAttributeName()
private void setBaseReleaseIdentifier(ReleaseId base_release_id) throws IAException
IAException
private void setBaseReleaseIdentifier(String base_release_id_string) throws IAException
IAException
public String getBaseSupportDateCode()
public static final String getBaseSupportDateCodeAttributeName()
private void setBaseSupportDateCode(String base_support_datecode) throws IAException
IAException
public String getBaseInstallerSequence()
public static final String getBaseInstallerSequenceAttributeName()
private void setBaseInstallerSequence(String base_installer_sequence)
public void setIntermediateReleaseInformation(String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list) throws IAException
intermediate_release_ids_list
- a String array containing intermediate release identifiersintermediate_support_datecodes_list
- a String array containing intermediate support datecodesintermediate_installer_sequences_list
- a String array containing intermediate installer sequences
IAException
public void setIntermediateReleaseInformation(String intermediate_release_ids_list, String intermediate_support_datecodes_list, String intermediate_installer_sequences_list) throws IAException
intermediate_release_ids_list
- a String containing a comma separated list of intermediate release identifiersintermediate_support_datecodes_list
- a String containing a comma separated list of intermediate support datecodesintermediate_installer_sequences_list
- a String containing a comma separated list of intermediate installer sequences
IAException
private static String[] getListEntries(String list, String attribute) throws IAException
IAException
private void checkIntermediateReleaseInformation() throws IAException
IAException
public ReleaseId[] getIntermediateReleaseIdentifiersList()
public static final String getIntermediateReleaseIdentifiersListAttributeName()
public String getIntermediateReleaseIdentifiersListAsString()
private void setIntermediateReleaseIdentifiersList(ReleaseId[] intermediate_release_ids_list) throws IAException
IAException
private void setIntermediateReleaseIdentifiersList(String[] intermediate_release_ids_list) throws IAException
IAException
public String[] getIntermediateSupportDateCodesList()
public static final String getIntermediateSupportDateCodesListAttributeName()
public String getIntermediateSupportDateCodesListAsString()
private void setIntermediateSupportDateCodesList(String[] inter_support_data_codes_list) throws IAException
IAException
public String[] getIntermediateInstallerSequencesList()
public static final String getIntermediateInstallerSequencesListAttributeName()
public int[] getIntermediateInstallerSequencesList(String[] string_list) throws IAException
IAException
public String getIntermediateInstallerSequencesListAsString()
private void setIntermediateInstallerSequencesList(String[] inter_installer_sequences_list) throws IAException
IAException
static InstalledAssembly[] findInstalledAssemblies() throws IAException
IAException
static InstalledAssembly[] findInstalledAssemblies(boolean must_actually_be_installed) throws IAException
must_actually_be_installed
- true means the product associated with an assembly must
have actually been installed (has installed components)
IAException
public InstalledAssembly getInstalledAssembly(String aid) throws IAException
IAException
public InstalledAssembly getInstalledAssembly(String aid, boolean must_actually_be_installed) throws IAException
aid
- Assembly Id of the assembly being sought.must_actually_be_installed
- true means the product associated with this assembly must
have actually been installed (has installed components)
IAException
public void saveToRegistryDir() throws IAException
saveToRegistryDir
in class XmlFragment
IAException
IAConstants
void mergeAssemblyWithInstalledAssembly() throws IAException
IAException
protected String getSaveToFileName()
getSaveToFileName
in class XmlFragment
protected String getRootElementName()
getRootElementName
in class XmlFragment
public String[] getInstalledComponentIds()
public void setComponentIsInstalled(String component_id, boolean is_installed) throws IAException
IAException
private Element getInstallerElement()
public String[] getComponentIdsForFeatures(String[] feature_short_names)
public InstalledAssembly.InstalledComponent getInstalledComponent(String component_id)
public static String sanitizeComponentShortName(String short_name)
java.lang.Character.isLetterOrDigit(char)
underscore and stripping all leading
underscores from the resulting string.
'ALWAYS INSTALL' will become 'ALWAYS_INSTALL'
private Element getComponentElement(String component_id)
public String getProductId()
public String getProductName()
private Element getProductElement()
private void logInstallerMessage(String msg)
public String toString()
public String toString(String sep)
public static void main(String[] args)
For usage information, execute:
java -cp ... com.ptc.windchill.instassm.InstalledAssembly -hat the command prompt.
static String checkGetOptarg(int c, String arg)
static String checkGetOptarg(int c, String arg, String not_string)
public static void createInstalledAssemblyElement(String install_reg_dir_name, String release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, String base_release_id_string, String base_support_date_code, String base_installer_sequence_number, String intermediate_release_ids_list, String intermediate_support_datecodes_list, String intermediate_installer_sequences_list) throws IAException
This method only creates the InstalledAssembly element, not a complete ia file. This command's main purpose is to create a skeleton ia file to include in the MORContent component directories for the Windchill Maintenance Pack (WMP) installer to use.
IAException
public static void createInstalledAssemblyElement(String install_reg_dir_name, String release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, String base_release_id_string, String base_support_date_code, String base_installer_sequence_number, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list) throws IAException
This method only creates the InstalledAssembly element, not a complete ia file. This command's main purpose is to create a skeleton ia file to include in the MORContent component directories for the Windchill Maintenance Pack (WMP) installer to use.
IAException
public static void createInstalledAssemblyElement(String install_reg_dir_name, String release_id, String display_name, String support_date_code, String support_release_number, String installer_sequence_number, boolean is_complete, String version_code, String base_release_id_string, String base_support_date_code, String base_installer_sequence_number, String[] intermediate_release_ids_list, String[] intermediate_support_datecodes_list, String[] intermediate_installer_sequences_list, File installer_comp_map_file) throws IAException
This method only creates the InstalledAssembly element, not a complete ia file. This command's main purpose is to create a skeleton ia file to include in the MORContent component directories for the Windchill Maintenance Pack (WMP) installer to use.
IAException
private static void showHelp()
private static String wrap(String message)
private static ArrayList split(String message)
public static void convertLeadingLongDashesToRegularDashes(String[] args)
public void saveToDir(File dir) throws IAException
IAException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |