harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [classlib] build / test system
Date Tue, 14 Feb 2006 13:17:12 GMT

George Harley wrote:
> Hi Geir,
> If folks find the ibiblio site slow and the latest versions of what we 
> need are not available, is there any merit in an Apache Harmony 
> repository being set up that would contain whatever binaries are 
> required by developers (e.g. eclipse compiler jars, BC provider jar, etc) ?

Of course. We've thought about this before for other projects, like 

The problem is how such availability is interpreted - are we 
redistributing (i.e. publishing) software?  Generally, the ASF only 
makes external software available when it's part of a program that uses it.

This is different if we have a repository of "naked jars" that we make 
available for any and all comers.  I've been around this tree before w/ 
Geronimo.  I'll revisit for us and see where people stand.


> Best regards,
> George
> IBM United Kingdom Limited
> Geir Magnusson Jr wrote:
>> George Harley wrote:
>>> Hi Stepan,
>>> And if redistributing the Eclipse jars was an issue then we could 
>>> simply make use of the Maven jar repository at ibiblio.org. The jars 
>>> necessary for using the Eclipse compiler can be obtained from there 
>>> without the need to download the entire Eclipse platform (see 
>>> http://www.ibiblio.org/maven/eclipse/jars/jdtcore-3.1.0.jar) which 
>>> reduces the "pain" considerably.
>> Well, ibiblio is a pain - it can be slow to the point of timeout, 
>> which is really no fun.  Been there, raged at that.
>>> Ant build scripts could simply make use of the "get" task (with the 
>>> "usetimestamp" option to avoid unnecessary downloading) to get the 
>>> jdtcore-3.1.0.jar and then use "unzip" to extract the 
>>> jdtCompilerAdapter.jar that is contained in there. The modified 
>>> trunk/make/build-java.xml file inside the attachments for HARMONY-57 
>>> and HARMONY-88 use the ibiblio.org repository in just this way to 
>>> obtain various xml support jars and even the junit jar.
>> Yes, this is what I was trying to do in security2 a while back to 
>> automate getting the junit and bcprov jars for testing.  problem was 
>> that ibiblio didn't have the right version of bcprov :)
>>> Best regards,
>>> George
>>> IBM United Kingdom Limited
>>> Stepan Mishura wrote:
>>>> If redistributing Eclipse's jars is not an issue then I think it 
>>>> would be
>>>> good to put them to SVN and set up the ant build script accordingly. 
>>>> This
>>>> will simplify build process.
>>>> Also this can be applied, for example, to BC provider jar - we'll avoid
>>>> questions like: which version of BC did you use? Everybody will use 
>>>> jar that
>>>> is distributed with Harmony code base and is used to test it.
>>>> Thanks,
>>>> Stepan Mishura
>>>> Intel Middleware Products Division
>>>> On 2/13/06, Geir Magnusson Jr <geir@pobox.com> wrote:
>>>>> I'm dorking around with some ant scripts for doing a complete unit 
>>>>> test
>>>>> run over all modules.
>>>>> After some pondering, I'd like to have us eat our own dogfood (ok,
>>>>> Eclipse's dogfood) and start doing everything that we can using the
>>>>> eclipse java compiler, with the goal of self-hosting at some point 
>>>>> with
>>>>> a javac.exe that uses it.
>>>>> So to that end, I'd like to set things up so that by default, we 
>>>>> use the
>>>>> eclipse compiler, but that means that people have to go through a
>>>>> [painful] process to get the jars (2 of them) - namely if you don't 
>>>>> have
>>>>> Eclipse installed, you have to go get it and dig two jars out.
>>>>> I'd like to set things up so we don't have to put in ant/lib to 
>>>>> make it
>>>>> less intrusive to people - we could have a local lib dir and do that
>>>>> maybe.
>>>>> Anyway, anyone have strong feelings or suggestions?
>>>>> geir

View raw message