harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: [general] Add a new target for Harmony-Select in the build script
Date Fri, 09 Apr 2010 08:57:00 GMT
On 2010-04-09 16:21, Jimmy,Jing Lv wrote:
> Hello Everyone,
>
>      I'd like to raise the topic of "Harmony-Select" again. Harmony-select,
> as we discussed, is aimed to create a customized build without graphic
> components. The select build will then be smaller in the footprint. It is
> specially useful for the customer applications which does not require
> awt/swing (as many j2ee apps, java DBs, and applications like eclipse,
> Hadoop etc)
>
>      Thanks to Harmony modularization, it is quite easy to create this select
> build. And currently there is no special requirement on the source, we can
> make a select build without forking a new branch. My plan is:
> 1. add a new target in the \classlib\build.xml, say, build-select, including
> build-select-java, build-select-native and build-select-test
> 2. build-select targets will operate like normal ones, just exclude graphic
> components:
>   ACCESSIBILITY      APPLET              AWT
>   IMAGEIO            ORB                 PRINT
>   RMI                SOUND               SWING      X_MGT

If we are targeting to server side, why RMI and ORB are excluded? I hope what 
modules would be picked up could be configurable, user can composite JRE as he 
like. But it's OK for me to select fixed modules in first step.

> 3. Then deploy the necessary materials including jars, property files and
> binary under deploy-select/. A small problem here is that we have define the
> output directory (deploy/jdk/jre/lib/boot) in every module. I don't have a
> perfect solution now to modify that, but only to copy them from deploy/ to
> deploy-select/
>
>       I'd like to start in harmony6 level, and change directly with the build
> scripts. It seems it does no harm to any other normal build. After that, we
> can simply invoke:
> \>  ant build-select
>       to get a select build under deploy-select/
>
>       Any comments/suggestions? I'll commit a patch to the build scripts if
> there is objection.
>


-- 
Best Regards,
Regis.

Mime
View raw message