Hello ,
    I migrated a project from CVS to GIthub. As process of this migration
there has been few jars migrated as well. The CVS server is Linux and from
there to GITHUB. From GitHub i am cloning the content to local in windows
machine .

Now when opening the cloned GH repo in eclipse and trying to build it's
complaining on the Jars as not able to read or invalid zip file.

But if I extract the same jars from CVS to local machine ( windows) no
error is shown . But the migrated Jars to GITHUB complains .

Wanted to know what can be done to overcome this problem . Are there any
settings like filemode or autocrlf be set before migration to GH so that we
have the jars right after migration to GIthub.

Plse let me know.



On Wed, 25 Jan, 2023, 8:36 pm Konstantin Khomoutov, <kos...@bswap.ru> wrote:

> On Wed, Jan 25, 2023 at 06:51:24AM -0800, Narendra Naren wrote:
>
> > I just converted a Java project from CVS to GIT, and since then I
> receive
> > the following error: error reading commons-logging.jar; invalid END
> header
> > (bad central directory offset).
>
> You did not explain what exactly do you do to "receive the ... error", but
> I suppose it happens during building of your project or, say, attempting to
> open it in some IDE or something like this.
>
> The error itself means that particular JAR file is corrupt (you could have
> learned this yourself, should you have searched the 'net for the exact
> error
> message. BTW JAR files are mere ZIP archives.)
>
> The exact cause of this is, of course, impossible to reconstuct as your
> question seems to presuppose there exist a single way to convert a CVS
> repository to Git, so that the error is common and well understood.
> Unfortunately, this is not the case, and the breakage might have occured
> anywhere during the conversion project or afterwards or it might not even
> relate to the convertion.
>
> Given exactly zero information provided on how did you do the conversion,
> on which OS the convertion was done, and with which tooling, it seems
> barely
> possible to make further guesses.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/git-users/20230125150615.iqxzcnygas2pzqpu%40carbon
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/CADPG1Lh_neMjNq_zWsaT18RcfkcKA%2BjRfb0_BDW%2Bqish5MRiPA%40mail.gmail.com.

Reply via email to