harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy,Jing Lv" <firep...@gmail.com>
Subject [Portlib]Moving Portlib to the top-level of Harmony? (was: [General]Should we make portlib a separate component)
Date Mon, 03 Mar 2008 10:01:47 GMT
Hi all,

     As discussed in the other thread, we will use portlib for java6
JDWP (maybe also java5 if it works fine on java6?) However, portlib is
now in classlib folder, which will cause some problems on build.
     I have noticed that there's a thread discussing the portlib
refactor (was: [General]Should we make portlib a separate component?),
which fits JDWP requirement (Thanks Mark!).
     As discussed, the main problem is the build structure, we need to
find a way to build both classlib and JDWP (and maybe something else)
when it is moved to top-level. As we know, module Concurrent is a
external dependant in classlib (set svn externals attribute), maybe we
shall also learn from this. Portlib can be set as a external dependant
of both classlib and JDWP which can smooth the refactor.
     As a result, the steps may come as the following:
1. make porblib a separate component and move to top-level of Harmony project
2. make portlib as a external dependant module of classlib, which
allow classlib to make nearly the same as before.
3. if any other component, like JDWP, or VM, requires the porblib to
build, it can also link the external dependant to portlib.

     However, this approach may build and create several hyport.dll/so
in vm, classlib and jdktools folders, we may find another way to
combine them into one. However, it does not require huge refactor on
makefiles in classlib.

     Any comments/suggestions? Thanks a lot.


Best Regards!

Jimmy, Jing Lv
China Software Development Lab, IBM

View raw message