JDK8 Preliminary Repository Layout
Johan Walles
johan.walles at oracle.com
Fri Mar 11 09:41:24 UTC 2011
2011-03-10 20:17, John Coomes skrev:
> Johan Walles (johan.walles at oracle.com) wrote:
>> 2011-03-10 10:33, Anthony Petrov skrev:
>>> Hi Andrew,
>>>
>>> On 3/10/2011 3:48 AM, Dr Andrew John Hughes wrote:
>> [snip]
>>>> Hey, I'd just make it all one repository as they all interdepend on
>>>> each other
>>>
>>> One huge "all-in-all" repository is great for integrators, porters, or
>>> maintainers, but it isn't that convenient for developers working on
>>> specific areas of JDK. Primarily because of the unnecessarily increased
>>> build time.
>>
>> Build time wouldn't be an issue if you could build a single component by
>> itself by just cd:ing into the component directory and do "make" there.
>
> So I pull the entire tree, make some changes, do a build.
Right, so now you've built Hotspot (let's say that's your component).
> I want to
> sync with the latest changes in my component (whatever it is), but
> have to pull everything.
OK, now you have the latest and greatest sources for all components,
including Hotspot.
> To save build time, I build just my
> component.
Your Hotspot binary is now up to date with the source changes you pulled in.
> But then my built bits no longer correspond to my source
> tree. Debugging becomes a new challenge.
I think I missed something earlier, but why would the Hotspot binary you
just built not correspond to the sources you just built it from?
Regards /Johan
More information about the build-dev
mailing list