[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Why does loading a repo fail if one of the files could not be found/loaded

Hi all,

 

I filed a bug [1] a couple of weeks before which is about the fact, that if you have a index file that contains 2 values in the repo factory oder:

 

metadata.repository.factory.order= content.xml.xz,content.xml,!

artifact.repository.factory.order= artifacts.xml.xz,artifacts.xml,!

 

that the download fails if the first one (e.g. content.xml.xz) is missing or currupt.

 

I submitted a patch [2] today which does try to load the others and only fails if non of the specified files could be read/loaded but the build is failing because there is an explicit test which is testing that case and is expecting that the downlaod fails in such a case. This is because of an old bug [3].

 

I am wondering why it is bad to not try to load e.g. content.xml if loading e.g. content.xml.xz fails?

 

Thanks

Martin

 

 

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=475558

[2] https://git.eclipse.org/r/59192

[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=247566

[4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=474885

[5] https://bugs.eclipse.org/bugs/show_bug.cgi?id=461787