It's all about the answers!

Ask a question

Problem with loading JAR file from stream


Zbynek Vavros (2844) | asked Nov 23 '11, 5:05 a.m.
Hi,

I have a project that uses Maven for dependency management.
One custom JAR is referenced using system scope (I know its not good way but thats not the point here...).
So this JAR is located in in
projectRoot/lib-ext/My.jar
and then in POM file
<systemPath>${basedir}/lib-ext/My.jar</systemPath>


But when I load this project to clean workspace this JAR which size is 2MB is not completely loaded I guess.The size of loaded file is 200Kb and it is not possible to open it (file corrupted) and thus dependency is not satisfied.

So when I replace this file manually in my workspace dependency is OK but RTC considers this a change.

I checked the file in stream via web and it is 2MB so it is OK in stream.
There is nothing special about this JAR and when I try to run Compare Editor on it, it stucks in 130Kb...

Any ideas what could cause this bahavior ?

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 23 '11, 1:23 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I'd suggest working directly with Rational Support for this.
Loading a 2MB file into a workspace is a common operation, so something
unusual must be happening in your environment, which you'd need to track
down.

Cheers,
Geoff

On 11/23/2011 5:08 AM, neik wrote:
Hi,

I have a project that uses Maven for dependency management.
One custom JAR is referenced using system scope (I know its not good
way but thats not the point here...).
So this JAR is located in in
projectRoot/lib-ext/My.jar and
then in POM
file
<systemPath>${basedir}/lib-ext/My.jar</systemPath>


But when I load this project to clean workspace this JAR which size is
2MB is not completely loaded I guess.The size of loaded file is 200Kb
and it is not possible to open it (file corrupted) and thus
dependency is not satisfied.

So when I replace this file manually in my workspace dependency is OK
but RTC considers this a change.

I checked the file in stream via web and it is 2MB so it is OK in
stream.
There is nothing special about this JAR and when I try to run Compare
Editor on it, it stucks in 130Kb...

Any ideas what could cause this bahavior ?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.