HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) General questions / FAQ Trouble understanding differencies between Linux and Windows

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #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]

    #29619

    At the time being, we use the release 3.9.6 and it’s work !

    The problem was the initialisation of the property.
    The property pd4ml.document.id must set before the “new PD4ML()” and not after.
    We fixed this and now it’s work perfectly.

    Thanks for your time and your response.

    Best regards,

Viewing 2 posts - 16 through 17 (of 17 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.