Skip to Content

JAR File Size change

Hi SDNites,

I have a situation where I have exported an imported archive (*.jar) from PI and its size is 2800 KB and then I have imported the same file in NWDS and made some modifications and also have added external *.jars as I have to use some additional libraries. Now when I have exported this jar file back to my desktop, its size has been reduced to 1900 KB. I was wondering how can this happened.

Any pointers on above will be of great help.

Regards,

Abhi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 09, 2017 at 09:42 AM

    Hi Abhi,

    1. Maybe you looked at two versions: a compressed and an uncompressed jar files.

    2. Are you sure that both versions of your jar files were created using the same compiler version?

    Best regards,

    Andrzej

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09, 2017 at 10:42 AM

    Hi Andrzej,

    Thanks for the response.

    I have exported it from PI 7.31 to desktop and then moved to NWDS 7.3 and then after making changes followed the reverse path. I hav made comparison of file sizes in my desktop where it has reduced from 2800 KB to 1900 KB.

    Note : Build of the code was initially done in XI3.0 and currently I am making changes in PI 7.31.

    Regards,

    Abhi

    Add comment
    10|10000 characters needed characters exceeded