Revision ad18cde1
Added by Andreas Müller almost 2 years ago
cdmlib-test/src/main/java/eu/etaxonomy/cdm/test/unitils/DdlCreator.java | ||
---|---|---|
51 | 51 |
protected static final Logger logger = LogManager.getLogger(); |
52 | 52 |
|
53 | 53 |
public static void main(String[] args) { |
54 |
try { |
|
55 |
logger.error("Java version: " + System.getProperty("java.version")); |
|
56 |
System.setSecurityManager(null); //avoids security exception when started by ant (problem is the jmx server registration by log4j2, similar issue is described at https://stackoverflow.com/questions/12195868/java-security-accesscontrolexception-when-using-ant-but-runs-ok-when-invoking-j ) |
|
57 |
new DdlCreator().execute(H2CorrectedDialectTest.class, "h2"); |
|
54 |
try { |
|
55 |
System.out.println("Java version: " + System.getProperty("java.version")); |
|
56 |
System.setSecurityManager(null); //avoids security exception when started by ant (problem is the jmx server registration by log4j2, similar issue is described at https://stackoverflow.com/questions/12195868/java-security-accesscontrolexception-when-using-ant-but-runs-ok-when-invoking-j ) |
|
57 |
} catch (Exception e1) { |
|
58 |
e1.printStackTrace(); |
|
59 |
} |
|
60 |
|
|
61 |
try { |
|
62 |
new DdlCreator().execute(H2CorrectedDialectTest.class, "h2"); |
|
58 | 63 |
} catch (Exception e) { |
59 | 64 |
e.printStackTrace(); |
60 | 65 |
} |
Also available in: Unified diff
further changes for debugging