Remove DTD from profile xml generation

This commit is contained in:
Robin K 2022-04-04 17:51:55 +02:00
parent d37c5eb786
commit 9ee04a0900
3 changed files with 2 additions and 6 deletions

View File

@ -121,7 +121,7 @@ public final class UserProfileImpl implements UserProfile {
final Settings settings = SettingsManager.getSettings();
StringBuilder builder = new StringBuilder();
builder.append("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>").append(NEW_LINE);
builder.append("<!DOCTYPE profile SYSTEM \"profile.dtd\">").append(NEW_LINE).append(NEW_LINE);
//builder.append("<!DOCTYPE profile SYSTEM \"profile.dtd\">").append(NEW_LINE).append(NEW_LINE);
builder.append("<profile protocol=\"").append(settings.getLoggerProtocol().toUpperCase()).append("\">").append(NEW_LINE);
if (!params.isEmpty()) {
builder.append(" <parameters>").append(NEW_LINE);

View File

@ -48,7 +48,6 @@
<file src="src/main/resources/graphics/icon-close.png" targetdir="$INSTALL_PATH"/>
<file src="scripts/post-install-tasks.sh" targetdir="$INSTALL_PATH"/>
<file src="scripts/run.sh" targetdir="$INSTALL_PATH"/>
<file src="plugins/aem2.plugin" targetdir="$INSTALL_PATH/plugins"/>
<file src="plugins/aem.plugin" targetdir="$INSTALL_PATH/plugins"/>

View File

@ -49,10 +49,8 @@
<file src="license.txt" targetdir="$INSTALL_PATH"/>
<file src="release_notes.txt" targetdir="$INSTALL_PATH"/>
<file src="lib/log4j.properties" targetdir="$INSTALL_PATH/lib"/>
<file src="lib/log4j.properties" targetdir="$INSTALL_PATH/lib"/>
<file src="scripts/post-install-tasks.bat" targetdir="$INSTALL_PATH"/>
<file src="scripts/run.bat" targetdir="$INSTALL_PATH"/>
<fileset dir="plugins" targetdir="$INSTALL_PATH/plugins"/>
<fileset dir="customize" targetdir="$INSTALL_PATH/customize"/>
@ -92,7 +90,6 @@
<pack name="Source Files" required="no" preselected="no">
<description>@name.package@ Source Files</description>
<preselected>no</preselected>
<file src="src" targetdir="$INSTALL_PATH"/>
</pack>
</packs>