harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Deakin <oliver.dea...@googlemail.com>
Subject Re: federated build, classlib build - what am I doing wrong
Date Tue, 29 Apr 2008 10:00:20 GMT
Nathan Beyer wrote:
> On Mon, Apr 28, 2008 at 6:11 AM, Alexei Fedotov <alexei.fedotov@gmail.com>
> wrote:
>   
> <SNIP>
>> and limit myself to fewer commands:
>>
>> * check out top-level trunk
>> * ant -Dauto.fetch=true -Dhy.cfg=debug all
>> * do some class library hacking
>> * ant -Dbuild.module="archive"  -Dhy.jdk="<dir>/trunk/target/hdk/jdk/"
>> test
>> (runs tests and regenerates hdk from the target dir which is used by
>> my debugger)
>>     
>
>
> Does this actually update the libraries in the "hy.jdk" path? What's the
> difference between 'hy.jdk' and 'hy.hdk'? Why do we have both?
>
>   

The JDK contains only the files you would expect in a standard JDK - 
i.e. the JRE plus extra header files and tools useful for Java development.
The HDK contains the JDK plus extra header files, libraries and build 
files useful for Harmony specific development.

Regards,
Oliver

>   
>> Thanks!
>>
>> On Sat, Apr 26, 2008 at 6:46 AM, Nathan Beyer <ndbeyer@apache.org<https://mail.google.com/mail?view=cm&tf=0&to=ndbeyer@apache.org>>
>> wrote:
>>     
>>> I've started a fresh workspace on an Ubuntu box and here's what I'm
>>>       
>> doing.
>>     
>>>  * check out top-level trunk
>>>  * ant populate-source
>>>  * ant -Dhy.cfg=debug build
>>>  * rm -rf working_classlib/deploy/*
>>>  * cp -r targert/hdk/* working_classlib/deploy/*
>>>  * cd working_classlib
>>>  * deploy/jdk/jre/bin/java -version
>>>     Prints version information - works just fine
>>>  * ant test
>>>     class library tests run as expected
>>>  * do some class library hacking
>>>  * ant build
>>>  * deploy/jdk/jre/bin/java -version
>>>     does nothing, just waits, no output
>>>
>>>  Shouldn't this work? How are other people doing class library
>>>       
>> development
>>     
>>>  and continuous rebuilds? I get the same results on Windows.
>>>
>>>  -Nathan
>>>
>>>       
>>
>> --
>> With best regards,
>> Alexei
>>
>>     
>
>   

-- 
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Mime
View raw message