|
Lines 224-232
Link Here
|
| 224 |
CustomTransitionManager validTransitions = new CustomTransitionManager(); |
224 |
CustomTransitionManager validTransitions = new CustomTransitionManager(); |
| 225 |
|
225 |
|
| 226 |
String transitionsFileName = configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE); |
226 |
String transitionsFileName = configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE); |
| 227 |
if (!validTransitions.parse(transitionsFileName)) { |
227 |
if (transitionsFileName != null && !transitionsFileName.equals("")) { |
| 228 |
throw new CoreException(new Status(IStatus.WARNING, BugzillaCorePlugin.ID_PLUGIN, |
228 |
if (!validTransitions.parse(transitionsFileName)) { |
| 229 |
"Invalide Transition File Content")); //$NON-NLS-1$ |
229 |
throw new CoreException(new Status(IStatus.WARNING, BugzillaCorePlugin.ID_PLUGIN, |
|
|
230 |
"Invalide Transition File Content")); //$NON-NLS-1$ |
| 231 |
} |
| 230 |
} |
232 |
} |
| 231 |
|
233 |
|
| 232 |
} |
234 |
} |
|
Lines 711-719
Link Here
|
| 711 |
xmlRpcClient = new BugzillaXmlRpcClient(webLocation); |
713 |
xmlRpcClient = new BugzillaXmlRpcClient(webLocation); |
| 712 |
|
714 |
|
| 713 |
} |
715 |
} |
| 714 |
if (!repositoryConfiguration.getProducts().isEmpty()) { |
|
|
| 715 |
repositoryConfiguration.setRepositoryUrl(repositoryUrl.toString()); |
| 716 |
} |
| 717 |
if (xmlRpcClient != null) { |
716 |
if (xmlRpcClient != null) { |
| 718 |
xmlRpcClient.updateConfiguration(monitor, repositoryConfiguration, |
717 |
xmlRpcClient.updateConfiguration(monitor, repositoryConfiguration, |
| 719 |
configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE)); |
718 |
configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE)); |
|
Lines 721-726
Link Here
|
| 721 |
repositoryConfiguration.setValidTransitions(monitor, |
720 |
repositoryConfiguration.setValidTransitions(monitor, |
| 722 |
configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE), null); |
721 |
configParameters.get(IBugzillaConstants.BUGZILLA_DESCRIPTOR_FILE), null); |
| 723 |
} |
722 |
} |
|
|
723 |
if (!repositoryConfiguration.getProducts().isEmpty()) { |
| 724 |
repositoryConfiguration.setRepositoryUrl(repositoryUrl.toString()); |
| 725 |
} |
| 724 |
|
726 |
|
| 725 |
if (!repositoryConfiguration.getProducts().isEmpty()) { |
727 |
if (!repositoryConfiguration.getProducts().isEmpty()) { |
| 726 |
return repositoryConfiguration; |
728 |
return repositoryConfiguration; |