dev@glassfish.java.net

Re: [GFv3] Action Required: Avoid split-package

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 29 May 2008 15:21:39 -0700

I just checked in a utility and the associated maven plugin that can be
used for this task. Since I checked in just now, it may not be available
in remote repo yet, so you may have to build hk2 yourself. Please run
like this:

mvn -f v3/distributions/web/pom.xml
com.sun.enterprise:hk2-maven-plugin:0.3.2-SNAPSHOT:analyse-packages
If you want to see the details for the full distribution, then run it
against distributions/glassfish/pom.xml.
It produces a lot of output, so redirect the output to a file for
further analysis. The output contains following information:
Total number of bundles in a distribution,
Total number of wires. a wire is a connection between an exporter and
importer for a package.
Total number of exported packages,
Total number of split-packages.

The tool has not gone through full QA, so expect bugs. But, it seems to
be reporting split-packages correctly.

Thanks,
Sahoo

Marina Vatkina wrote:
> Is there a way to test my changes and verify that I didn't introduce
> another split-package?
>
> thanks,
> -marina
>
> Sahoo wrote:
>> The attached file lists package names that are split across multiple
>> modules in GFv3 workspace. This list may not be totally accurate, so
>> use it as an indicator only. Module owners are requested to ensure
>> that each package is defined by one runtime module only. This is
>> needed so that we can start using *Import-Package* manifest headers
>> to specify dependencies instead of using *Require-Bundle*.
>>
>> Thanks,
>> Sahoo
>>
>>
>> ------------------------------------------------------------------------
>>
>> com.sun.appserv (3 times): common/common-util/ common/common-ee-util/
>> common/glassfish-api/
>> com.sun.appserv.management.client.prefs (2 times): common/amx-api/
>> common/universal/
>> com.sun.appserv.server.util (2 times): web/webtier/ common/common-util/
>> com.sun.ejb.containers (2 times): ejb/ejb-timer-service-app/
>> ejb/ejb-container/
>> com.sun.enterprise (2 times): core/security/ ejb/ejb-container/
>> com.sun.enterprise.admin.cli (2 times): admin/cli/ admin/cli-optional/
>> com.sun.enterprise.admin.jmx.remote (2 times):
>> admin/jmx-remote/common/ admin/jmx-remote/client/
>> com.sun.enterprise.admin.jmx.remote.comm (2 times):
>> admin/jmx-remote/common/ admin/jmx-remote/client/
>> com.sun.enterprise.admin.jmx.remote.internal (2 times):
>> admin/jmx-remote/common/ admin/jmx-remote/client/
>> com.sun.enterprise.connectors.module (2 times):
>> connectors/connectors-connector/ connectors/connectors-runtime/
>> com.sun.enterprise.deployment (2 times): common/common-util/ common/dol/
>> com.sun.enterprise.rails (2 times):
>> distributions/external/grizzly-jruby/ extras/rails/
>> com.sun.enterprise.registration (2 times):
>> registration/registration-api/ registration/registration-impl/
>> com.sun.enterprise.resource (2 times): common/dol/
>> connectors/connectors-runtime/
>> com.sun.enterprise.security (2 times): core/security/ web/webtier/
>> com.sun.enterprise.server (2 times): core/kernel/
>> connectors/connectors-runtime/
>> com.sun.enterprise.util (2 times): common/common-util/
>> connectors/connectors-runtime/
>> com.sun.enterprise.v3.admin (3 times): security/realm/ core/kernel/
>> core/javaee-core/
>> com.sun.enterprise.web (2 times): web/gf-web-connector/ web/webtier/
>> com.sun.grizzly.standalone (3 times):
>> distributions/external/grizzly-jruby/
>> distributions/external/grizzly-http/
>> distributions/external/grizzly-optionals/
>> org.apache.catalina (2 times): web/war-util/ web/webtier/
>> org.apache.catalina.loader (2 times): web/war-util/ web/webtier/
>> org.apache.catalina.util (2 times): web/war-util/ web/webtier/
>> org.apache.jasper.compiler (2 times): web/webtier/
>> distributions/external/jasper-jsr199/
>> org.apache.naming (2 times): web/war-util/ web/webtier/
>> org.apache.naming.resources (2 times): web/war-util/ web/webtier/
>> org.glassfish.admin.amx.loader (2 times): common/amx-api/
>> common/amx-impl/
>> org.glassfish.admingui (2 times): admingui/core/ admingui/jdbc-gui/
>> org.glassfish.admingui.plugin (3 times): admingui/core/
>> admingui/jdbc-gui/ admingui/plugin-service/
>> org.glassfish.ejb.startup (2 times): ejb/ejb-connector/
>> ejb/ejb-container/
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>