#29616

I’ve just inspected the current version. The output depends on “pd4ml.document.id” system property.

[language=java:1hujfwlo]String s = null;
try {
// A document ID override mostly makes sense for testing purposes.
// Here it is used as a trigger to exclude version- and
// environment- specific diagnostics info (to make possible a binary comparison of documents
// produced, for example, on different platforms)
s = System.getProperty(“pd4ml.document.id”);
} catch ( Throwable e ) {
}

if ( s == null ) {
callParameters.append( “% PD4ML version: ” + getVersion() + “n” );
callParameters.append( “% JDK version: ” + System.getProperty( “java.version” ) + “n” );
callParameters.append( “% OS version: ” + System.getProperty( “os.name” ) + ” ” );
callParameters.append( System.getProperty( “os.version” ) + “n” );
}[/language:1hujfwlo]