# ---------------------------------------------------------------------------
# JOnAS: Java(TM) Open Application Server
# Copyright (C) 2007-2012 Bull S.A.S.
# Contact: jonas-team@ow2.org
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
# USA
# ---------------------------------------------------------------------------
# $Id: defaults.properties 22031 2012-01-26 15:42:48Z benoitf $
# ---------------------------------------------------------------------------

## ---------------------------------------------------------------------- ##
##
## For curious users:
## This file relies on properties defined in different files:
##  * lib/bootstrap/felix-launcher.jar!/org/ow2/jonas/launcher/felix/javase-profiles.properties
##
## Note: These values can be overridden by System properties
##  Example: force JVM 1.5 profile -Djavase-packages=${javase-1.5}
##
## ---------------------------------------------------------------------- ##

# # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Default list of packages patterns representing the bootdelegation packages
#
# Note: All theses packages are defined twice because xxxx.* do not
# match the xxxx package itself.
#
# Note: This list assumes that theses packages are available from
# the System ClassLoader. If changed, ensure that the library jar
# file is placed in an endorsed directory ($JONAS_ROOT/lib/endorsed
# for example).
#
# Note: Read theses articles to better understand OSGi bootdelegation model:
#  http://blog.springsource.com/2009/01/19/exposing-the-boot-classpath-in-osgi/
#  http://paxrunner.ops4j.org/space/Boot+delegation+packages#Bootdelegationpackages-specs
#
bootdelegation-packages com.sun.corba, \
                        com.sun.corba.*, \
                        com.ibm.CORBA, \
                        com.ibm.CORBA.*, \
                        com.sun.org.apache.xalan.internal, \
                        com.sun.org.apache.xalan.internal.*, \
                        com.sun.org.apache.xerces.internal, \
                        com.sun.org.apache.xerces.internal.*, \
                        com.sun.org.apache.xml.internal, \
                        com.sun.org.apache.xml.internal.*, \
                        com.sun.org.apache.xpath.internal, \
                        com.sun.org.apache.xpath.internal.*, \
                        com.sun.jndi.cosnaming, \
                        com.sun.jndi.cosnaming.*, \
                        com.sun.jndi.ldap, \
                        com.sun.jndi.url, \
                        com.sun.jndi.url.*, \
                        javax.management.remote.rmi, \
                        com.sun.security.auth, \
                        com.sun.security.auth.*, \
                        com.sun.image, \
                        com.sun.image.*, \
                        org.apache.xalan, \
                        org.apache.xalan.*, \
                        org.apache.xerces, \
                        org.apache.xerces.*, \
                        org.apache.xpath.jaxp, \
                        org.apache.xpath.jaxp.*, \
                        org.jacorb.*

# # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# OSGi framework packages exported by the underlying JVM (and System bundle)
# That list should be kept in synch with framework supported version
#
osgi-system-packages org.osgi.framework; version=1.6.0, \
                     org.osgi.framework.launch; version=1.0.0, \
                     org.osgi.framework.wiring; version=1.0.0, \
                     org.osgi.framework.startlevel; version=1.0.0, \
                     org.osgi.framework.hooks.bundle; version=1.0.0, \
                     org.osgi.framework.hooks.resolver; version=1.0.0, \
                     org.osgi.framework.hooks.service; version=1.1.0, \
                     org.osgi.framework.hooks.weaving; version=1.0.0, \
                     org.osgi.service.packageadmin; version=1.2.0, \
                     org.osgi.service.startlevel; version=1.1.0, \
                     org.osgi.service.url; version=1.0.0, \
                     org.osgi.util.tracker; version=1.5.0

# # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ${javase.version} is computed by the launcher
#
javase-packages ${javase-${javase.version}}
