--- a/tool/src/spdxlib/DocumentCreate.java
+++ b/tool/src/spdxlib/DocumentCreate.java
@@ -30,6 +30,13 @@
*/
public class DocumentCreate {
+ // settings to be changed when necessary
+ public String
+ versionSPDX = "SPDX-1.2",
+ licensePackage = "CC-BY-4.0",
+ creatorSPDX = "TripleCheck " + core.version;
+
+
public String
// official field names
PackageName = null,
@@ -102,13 +109,13 @@
output =
addParagraph("SPDX Document Information")
- + addText("SPDXVersion: SPDX-1.2")
- + addText("DataLicense: CC-BY-4.0")
+ + addText("SPDXVersion: " + versionSPDX)
+ + addText("DataLicense: " + licensePackage)
+ "\n"
+ addParagraph("Creation Information")
+ addText("Creator: " + System.getProperty("user.name"))
- + addText("Creator: Tool: TripleCheck Studio " + core.version)
+ + addText("Creator: Tool: " + creatorSPDX)
+ addText("Created: " + textDate)
+ "\n"