Skip to Content
0

JAR File Size change

Mar 08, 2017 at 04:56 PM

35

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Andrzej Filusz Mar 09, 2017 at 09:42 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Abhishek Gupta Mar 09, 2017 at 10:42 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded