Source:
<code>protected File exportParametersToXml() throws Exception { PluginConfigXmlDocument configDocument = PluginConfigXmlDocument.newInstance("liberty-plugin-config"); @SuppressWarnings("unchecked") List<Profile> profiles = project.getActiveProfiles(); configDocument.createActiveBuildProfilesElement("activeBuildProfiles", profiles); configDocument.createElement("installDirectory", installDirectory); configDocument.createElement("serverDirectory", serverDirectory); configDocument.createElement("userDirectory", userDirectory); configDocument.createElement("serverOutputDirectory", new File(outputDirectory, serverName)); configDocument.createElement("serverName", serverName); configDocument.createElement("configDirectory", configDirectory); if (getFileFromConfigDirectory("server.xml", configFile) != null) { configDocument.createElement("configFile", getFileFromConfigDirectory("server.xml", configFile)); } if (getFileFromConfigDirectory("bootstrap.properties", bootstrapPropertiesFile) != null) { configDocument.createElement("bootstrapPropertiesFile", getFileFromConfigDirectory("bootstrap.properties", bootstrapPropertiesFile)); } else { configDocument.createElement("bootstrapProperties", bootstrapProperties); } if (getFileFromConfigDirectory("jvm.option", jvmOptionsFile) != null) { configDocument.createElement("jvmOptionsFile", getFileFromConfigDirectory("jvm.option", jvmOptionsFile)); } else { configDocument.createElement("jvmOptions", jvmOptions); } if (getFileFromConfigDirectory("server.env", serverEnv) != null) { configDocument.createElement("serverEnv", getFileFromConfigDirectory("server.env", serverEnv)); } configDocument.createElement("appsDirectory", appsDirectory); <START> configDocument.createElement("looseApplication", looseApplication); <END> configDocument.createElement("stripVersion", stripVersion); configDocument.createElement("installAppPackages", installAppPackages); configDocument.createElement("applicationFilename", getApplicationFilename()); configDocument.createElement("assemblyArtifact", assemblyArtifact); configDocument.createElement("assemblyArchive", assemblyArchive); configDocument.createElement("assemblyInstallDirectory", assemblyInstallDirectory); configDocument.createElement("refresh", refresh); configDocument.createElement("install", install); File f = new File(project.getBuild().getDirectory() + File.separator + PLUGIN_CONFIG_XML); configDocument.writeXMLDocument(f); return f; }</code><technical_language>@cthigh - WDT changes code another beta, line removed. If so, releases of WDT prior new beta fail</technical_language>

Target:
protected File exportParametersToXml() throws Exception { PluginConfigXmlDocument configDocument = PluginConfigXmlDocument.newInstance("liberty-plugin-config"); @SuppressWarnings("unchecked") List<Profile> profiles = project.getActiveProfiles(); configDocument.createActiveBuildProfilesElement("activeBuildProfiles", profiles); configDocument.createElement("installDirectory", installDirectory); configDocument.createElement("serverDirectory", serverDirectory); configDocument.createElement("userDirectory", userDirectory); configDocument.createElement("serverOutputDirectory", new File(outputDirectory, serverName)); configDocument.createElement("serverName", serverName); configDocument.createElement("configDirectory", configDirectory); if (getFileFromConfigDirectory("server.xml", configFile) != null) { configDocument.createElement("configFile", getFileFromConfigDirectory("server.xml", configFile)); } if (getFileFromConfigDirectory("bootstrap.properties", bootstrapPropertiesFile) != null) { configDocument.createElement("bootstrapPropertiesFile", getFileFromConfigDirectory("bootstrap.properties", bootstrapPropertiesFile)); } else { configDocument.createElement("bootstrapProperties", bootstrapProperties); } if (getFileFromConfigDirectory("jvm.option", jvmOptionsFile) != null) { configDocument.createElement("jvmOptionsFile", getFileFromConfigDirectory("jvm.option", jvmOptionsFile)); } else { configDocument.createElement("jvmOptions", jvmOptions); } if (getFileFromConfigDirectory("server.env", serverEnv) != null) { configDocument.createElement("serverEnv", getFileFromConfigDirectory("server.env", serverEnv)); } configDocument.createElement("appsDirectory", appsDirectory); configDocument.createElement("looseApplication", looseApplication); configDocument.createElement("looseConfig", looseApplication); configDocument.createElement("stripVersion", stripVersion); configDocument.createElement("installAppPackages", installAppPackages); configDocument.createElement("applicationFilename", getApplicationFilename()); configDocument.createElement("assemblyArtifact", assemblyArtifact); configDocument.createElement("assemblyArchive", assemblyArchive); configDocument.createElement("assemblyInstallDirectory", assemblyInstallDirectory); configDocument.createElement("refresh", refresh); configDocument.createElement("install", install); File f = new File(project.getBuild().getDirectory() + File.separator + PLUGIN_CONFIG_XML); configDocument.writeXMLDocument(f); return f; }