Skip to content

Commit ce69a13

Browse files
authored
Merge pull request #179 from spdx/initmodels
Initialize models in the Main
2 parents e190384 + fec6260 commit ce69a13

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/org/spdx/tools/Main.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package org.spdx.tools;
2121

2222
import org.apache.commons.lang3.ArrayUtils;
23+
import org.spdx.library.SpdxModelFactory;
2324

2425
/**
2526
* Dispatch individual tools
@@ -37,7 +38,7 @@ public static void main(String[] args) {
3738
usage();
3839
return;
3940
}
40-
41+
SpdxModelFactory.init();
4142
String spdxTool = args[0];
4243
args = ArrayUtils.removeElement(args, args[0]);
4344
if ("Convert".equals(spdxTool)) {

0 commit comments

Comments
 (0)