Skip to main content

Source code revision

svn

summary: Made the following changes: --------------------------
revision: 21172
author: Sahoo
date: 2008-07-07 10:35:11 UTC (6 years)
message: Made the following changes:
--------------------------
1. Java EE APIs are now exporting packages with correct version. They are
still built as part of javaee-api module.

2. We are now using Import-Package header to specify dependency. To make this
change, we have switched to using maven-bundle-plugin for OSGi headers. The
version constraints do not specify any upper bound, so this gives us
flexibility during development. Also changed modules to use javax APIs from
org.glassfish groupId, as they contain proper package version information in
manifest file. Using them will ensure proper version constraint in
Import-Package.


3. Changed QL to stop running HK2 mode, as we don't want to support it
going forward. In fact, I have not even tested current set of changes on
HK2 mode.

4. Updated felix/conf/config.properties to export more packages by system
bundle. These are JDK internal classes used by our code.

5. Updated felix/conf/config.properties to start Felix shell by default.
This is very usefuk to debug OSGi issues.

6. Fixed a bug in ApplicationLifecycle.java which was (sometimes) causing
JPA lazy loading QL test case to fail. The reason was that the code was
using the same classloader used during deployment and loading, hence
classfiletransformers were not being picked up.

7. Changed code to use the newly introduced LogHelper class in HK2 as opposed to Util class, as Util is supposed to be a private class.

Note:
-----
Ran QL, some JDBC dev test and some JPA, JSP and JSF samples.
You need updated jsp-1.0.0-SNAPSHOT.jar file.

TODO:
-----
1. gf-web-connector still uses Require-Bundle, else some of the ResourceBundles
are not loadable from implementation modules.

2. gf-jruby-connector is temporarily not being made part of any distribution,
because I have no idea where its code lies. It needs to be rebuilt to use
newer hk2.

3. ClassLoader reorganisation.

4. Stop using bootstrap.delegation="*"

5. Try to separate bnd instructions to a separate file. Currently this is not
possible because of Felix issue #620.

6. Each module owner to identify the right export list for their module.
Currently we export every package.

7. Stop repackaging grizzly, as newer versions of grizzly contains OSGi metadata

8. admingui is not yet tested.

9. mvn gf:run is most likely broken. Will be fixed soon.
Change Path Actions
M trunk/v3/admin/addon/pom.xml
M trunk/v3/admin/admin-core/pom.xml
M trunk/v3/admin/backup/pom.xml
M trunk/v3/admin/cli-framework/pom.xml
M trunk/v3/admin/cli-optional/pom.xml
M trunk/v3/admin/cli/pom.xml
M trunk/v3/admin/config-api/pom.xml
M trunk/v3/admin/jmx-remote/client/pom.xml
M trunk/v3/admin/jmx-remote/common/pom.xml
M trunk/v3/admin/jmx-remote/server/pom.xml
M trunk/v3/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/servlet/JMXHTTPAdapter.java
M trunk/v3/admin/launcher/pom.xml
M trunk/v3/admin/monitor/pom.xml
M trunk/v3/admin/runtime/jsr77/pom.xml
M trunk/v3/admin/runtime/mgmt-infra/pom.xml
M trunk/v3/admin/server-mgmt/pom.xml
M trunk/v3/admin/util/pom.xml
M trunk/v3/admingui/core/pom.xml
M trunk/v3/admingui/jdbc-gui/pom.xml
M trunk/v3/admingui/plugin-service/pom.xml
M trunk/v3/admingui/pom.xml
M trunk/v3/admingui/web/pom.xml
M trunk/v3/common/amx-api/pom.xml
M trunk/v3/common/amx-impl/pom.xml
M trunk/v3/common/annotation-framework/pom.xml
M trunk/v3/common/common-util/pom.xml
M trunk/v3/common/container-common/pom.xml
M trunk/v3/common/glassfish-api/pom.xml
M trunk/v3/common/glassfish-ee-api/pom.xml
M trunk/v3/common/glassfish-naming/pom.xml
M trunk/v3/common/internal-api/pom.xml
M trunk/v3/common/mbeanserver/pom.xml
M trunk/v3/connectors/connectors-connector/pom.xml
M trunk/v3/connectors/connectors-internal-api/pom.xml
M trunk/v3/connectors/connectors-runtime/pom.xml
M trunk/v3/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/ConnectorRuntime.java
M trunk/v3/connectors/work-management/pom.xml
M trunk/v3/core/bootstrap/pom.xml
M trunk/v3/core/kernel/pom.xml
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/AdminAdapter.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/admin/CommandRunner.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/bootstrap/DerbyLifecycle.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/server/DomainResolver.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/VsAdapter.java
M trunk/v3/core/security/pom.xml
M trunk/v3/core/security/src/main/java/com/sun/enterprise/security/SecurityDeployer.java
M trunk/v3/deployment/client/pom.xml
M trunk/v3/deployment/common/pom.xml
M trunk/v3/deployment/common/src/main/java/org/glassfish/deployment/common/SimpleDeployer.java
M trunk/v3/deployment/dol/pom.xml
M trunk/v3/deployment/dtds/pom.xml
M trunk/v3/deployment/javaee-core/pom.xml
M trunk/v3/deployment/javaee-core/src/main/java/org/glassfish/javaee/core/deployment/JavaEEDeployer.java
M trunk/v3/distributions/external/grizzly-optionals/pom.xml
M trunk/v3/distributions/web/pom.xml
M trunk/v3/ejb/ejb-connector/pom.xml
M trunk/v3/ejb/ejb-container/pom.xml
M trunk/v3/extras/jmxcmd/pom.xml
M trunk/v3/extras/phobos/pom.xml
M trunk/v3/extras/php/pom.xml
M trunk/v3/javaee-api/javax.activation/pom.xml
M trunk/v3/javaee-api/javax.annotation/pom.xml
M trunk/v3/javaee-api/javax.ejb/pom.xml
M trunk/v3/javaee-api/javax.enterprise.deploy/pom.xml
M trunk/v3/javaee-api/javax.faces/pom.xml
M trunk/v3/javaee-api/javax.javaee/pom.xml
M trunk/v3/javaee-api/javax.jms/pom.xml
M trunk/v3/javaee-api/javax.jws/pom.xml
M trunk/v3/javaee-api/javax.mail/pom.xml
M trunk/v3/javaee-api/javax.management.j2ee/pom.xml
M trunk/v3/javaee-api/javax.persistence/pom.xml
M trunk/v3/javaee-api/javax.resource/pom.xml
M trunk/v3/javaee-api/javax.security.auth.message/pom.xml
M trunk/v3/javaee-api/javax.security/pom.xml
M trunk/v3/javaee-api/javax.servlet.jsp.jstl/pom.xml
M trunk/v3/javaee-api/javax.servlet.jsp/pom.xml
M trunk/v3/javaee-api/javax.servlet/pom.xml
M trunk/v3/javaee-api/javax.transaction/pom.xml
M trunk/v3/javaee-api/javax.xml.bind/pom.xml
M trunk/v3/javaee-api/javax.xml.rpc/pom.xml
M trunk/v3/javaee-api/javax.xml.soap/pom.xml
M trunk/v3/javaee-api/javax.xml.stream/pom.xml
M trunk/v3/javaee-api/javax.xml.ws/pom.xml
M trunk/v3/javaee-api/pom.xml
M trunk/v3/osgi-platforms/felix/src/main/resources/glassfish/felix/conf/config.properties
M trunk/v3/persistence/eclipselink-wrapper/pom.xml
M trunk/v3/persistence/jpa-connector/pom.xml
M trunk/v3/pom.xml
M trunk/v3/registration/registration-api/pom.xml
M trunk/v3/registration/registration-impl/pom.xml
M trunk/v3/security/common/pom.xml
M trunk/v3/security/realm/pom.xml
M trunk/v3/security/webintegration/pom.xml
M trunk/v3/tests/quicklook/build.xml
M trunk/v3/transaction/internal-api/pom.xml
M trunk/v3/transaction/jta-xa/pom.xml
M trunk/v3/transaction/jta/pom.xml
M trunk/v3/transaction/jts/pom.xml
M trunk/v3/web/admin/pom.xml
M trunk/v3/web/gf-web-connector/pom.xml
M trunk/v3/web/jstl/pom.xml
M trunk/v3/web/tomcat-connector/pom.xml
M trunk/v3/web/war-util/pom.xml
M trunk/v3/web/web-common/pom.xml
M trunk/v3/web/web-core/pom.xml
M trunk/v3/web/web-naming/pom.xml
M trunk/v3/web/webtier-all/pom.xml
M trunk/v3/web/webtier/pom.xml
M trunk/v3/web/webtier/src/main/java/com/sun/enterprise/web/WebDeployer.java
M trunk/v3/webservices/jsr109-impl/pom.xml
 
 
Close
loading
Please Confirm
Close