harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: How should older milestones be maintained?
Date Wed, 10 Nov 2010 22:14:04 GMT
On 10.11.2010 17:30, Krystal Mok wrote:
> Hi all,
>
> This is Kris Mok. I was building the master branch of MRP (
> http://mrp.codehaus.org/) the other day, and hit a few problems involving an
> older milestone of Harmony. It wasn't hard to solve this particular issue;
> my question is how should we maintain older milestones generally, so that
> they can still be built a few years later?
>
> I chose to use Harmony as the class library provider for the MRP build (as
> opposed to GNU Classpath). The build process would automatically pull
> Harmony 5.0M10p0 (rev 782693) from svn, and try to build Harmony first.
> During the build, a few dependencies have been found to be no longer
> available. I had to tweak things a little bit just to get the build go on.

...

> Index: make/depends.properties
> ===================================================================
> --- make/depends.properties    (revision 782693)
> +++ make/depends.properties    (working copy)
> @@ -24,10 +24,10 @@
>   xalan.url=${maven2.base}/xalan/xalan/2.7.0/xalan-2.7.0.jar
>   xalan.md5=a018d032c21a873225e702b36b171a10
>
> -xerces.dir=${depends.jars}/xerces_2.9.1
> +xerces.dir=${depends.jars}/xerces_2.10.0
>   xerces.zip=${xerces.dir}/xerces.zip
> -xerces.url=http://www.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.9.1.zip
> -xerces.md5=a0e07ede1c3bd5231fe15eae24032b2e
> +xerces.url=http://www.apache.org/dist/xerces/j/Xerces-J-bin.2.10.0.zip
> +xerces.md5=8da14a7b2848eff131b7cc10668887e8
>
>   junit.dir=${depends.jars}/junit_4.4
>   junit.jar=${junit.dir}/junit.jar
>
> As shown above, Xerces 2.9.1 just isn't there anymore. The only version I
> can find on the Apache site now is 2.10.0. I knew I should modify
> depends.properties, but missed the version number in a path in depends.xml.
> It wasn't hard, but rather just tedious to get everything going.

FWIW: there seem to be two topics:

1) Where are old releases

Old releases should always be available via archive.apache.org. So using 
that host instead of www.apache.org and the same path, you can retrieve 
old releases. See e.g. http://archive.apache.org/dist/xml/xerces-j/

2) Path changes for Xerces

Sometimes projects change name or split into several independant 
projects. Then they often change the path structure on the download 
server. Often old releases are still on archive.apache.org under the 
original path, but with Xerces 2.9.1 you hit exactly one of the cases, 
where the original file also moved to another path.

So what should have been

http://archive.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.9.1.zip

actually is

http://archive.apache.org/dist/xerces/j/Xerces-J-bin.2.9.1.zip

Versions up until 2.9.0 are still at the old path:

http://archive.apache.org/dist/xml/xerces-j/Xerces-J-bin.2.9.0.zip

Regards,

Rainer

Mime
View raw message