-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Ref: #76 (comment)
Currently generating Checkstyle configuration XML manually using hardcoded strings:
public static void writeConfigurationToXml(CheckConfiguration config, String filePath)
throws IOException {
try (BufferedWriter writer = new BufferedWriter(new FileWriter(filePath))) {
writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
writer.write("<!DOCTYPE module PUBLIC \"-//Checkstyle//DTD Checkstyle "
+ "Configuration 1.3//EN\" \"configuration_1_3.dtd\">\n");
writeModule(config, writer);
}
}Issue:
Header input files cannot contain config comments since they expect license headers as the first comment, making config extraction impossible.
Goal:
Investigate alternatives to remove hardcoded XML generation and find a cleaner approach for configuration handling.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status