try {
monitor.worked(1);
//fill the option map
Map optionsMap = new HashMap();
Java2WSDLCommandLineOption option = new Java2WSDLCommandLineOption(
CLASSNAME_OPTION,new String[]{javaSourceSelectionPage.getClassName()});
optionsMap.put(CLASSNAME_OPTION,option);
option = new Java2WSDLCommandLineOption(
CLASSPATH_OPTION,javaSourceSelectionPage.getClassPathList());
optionsMap.put(CLASSPATH_OPTION,option);
option = new Java2WSDLCommandLineOption(
TARGET_NAMESPACE_OPTION,
new String[]{java2wsdlOptionsPage.getTargetNamespace()});
optionsMap.put(TARGET_NAMESPACE_OPTION,option);
option = new Java2WSDLCommandLineOption(
TARGET_NAMESPACE_PREFIX_OPTION,
new String[]{java2wsdlOptionsPage.getTargetNamespacePrefix()});
optionsMap.put(TARGET_NAMESPACE_PREFIX_OPTION,option);
option = new Java2WSDLCommandLineOption(
SCHEMA_TARGET_NAMESPACE_OPTION,
new String[]{java2wsdlOptionsPage.getSchemaTargetNamespace()});
optionsMap.put(SCHEMA_TARGET_NAMESPACE_OPTION,option);
option = new Java2WSDLCommandLineOption(
SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION,
new String[]{java2wsdlOptionsPage.getSchemaTargetNamespacePrefix()});
optionsMap.put(SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION,option);
option = new Java2WSDLCommandLineOption(
OUTPUT_LOCATION_OPTION,new String[]{java2wsdlOutputLocationPage.getOutputLocation()});
optionsMap.put(OUTPUT_LOCATION_OPTION,option);
option = new Java2WSDLCommandLineOption(
OUTPUT_FILENAME_OPTION,new String[]{java2wsdlOutputLocationPage.getOutputWSDLName()});
optionsMap.put(OUTPUT_FILENAME_OPTION,option);
monitor.worked(1);