Skip to content

Commit

Permalink
Merge pull request #1351 from GDLMadushanka/swagger
Browse files Browse the repository at this point in the history
Fix API design view not getting updated issue
  • Loading branch information
GDLMadushanka authored Sep 3, 2024
2 parents 7564ca0 + 2b9f7b5 commit 35cf509
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ private void handleDesignViewActivatedEvent(boolean withSynapse) throws Exceptio

if (sourceEditor != null) {
String xmlSource = sourceEditor.getDocument().get();
if (xmlSource != null && sourceDirty) {
if (xmlSource != null) {
if (!xmlSource.trim().isEmpty()) {
rebuildModelObject(xmlSource, withSynapse);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ public boolean performFinish() {
mavenProject.getModel().setPackaging("carbon/application");
Plugin plugin = MavenUtils.createPluginEntry(mavenProject,
"org.wso2.maven", "maven-car-plugin", MavenConstants.MAVEN_CAR_VERSION, true);
PluginExecution pluginExecution;


pluginExecution = new PluginExecution();
pluginExecution.addGoal("car");
pluginExecution.setPhase("package");
pluginExecution.setId("car");
plugin.addExecution(pluginExecution);

Plugin carDeployPlugin = MavenUtils.createPluginEntry(mavenProject, "org.wso2.maven", "maven-car-deploy-plugin", MavenConstants.MAVEN_CAR_DEPLOY_VERSION, true);
Xpp3Dom carDeployConfElement = MavenUtils.createMainConfigurationNode(carDeployPlugin);
Expand Down

0 comments on commit 35cf509

Please sign in to comment.