# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.


#
# Framework config properties.
#
# HK2 OSGi Adapter property
org.jvnet.hk2.osgiadapter.contextrootdir=${com.sun.aas.installRoot}/modules

org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
 org.osgi.service.packageadmin; version=1.2.0, \
 org.osgi.service.startlevel; version=1.0.0, \
 org.osgi.service.url; version=1.0.0, \
 org.osgi.util.tracker; version=1.3.2 \
 ${gf-packages}

# We really need to delegate for these classes only, but
# eventually we have to use "*" to support lib directory.
# So, I am using "*" now.
# org.osgi.framework.bootdelegation=javax.*
org.osgi.framework.bootdelegation=*

# INSTRUCTIONS TO USE FELIX SHELL WITH GLASSFISH.
# To install and auto-start Felix Shell, add the following bundles
# to autostart property below. Please add them at the end so that the shell
# starts after GlassFish. By the way, since a domain started via
# asadmin redirects the I/O, the shell is only useful when you start the
# domain using java -jar glassfish-$version.jar.
# ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.jar \
# ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.tui.jar

# The reason for using yet another variable called com.sun.aas.installRootURI
# instead of com.sun.aas.installRoot is that on Windows, the native pathname
# uses '\' which is not in URI synatx. Felix requires a URI for the 
# bundles to be auto-started.
felix.auto.start.1= \
 ${com.sun.aas.installRootURI}/modules/tiger-types-osgi-0.2.1.jar \
 ${com.sun.aas.installRootURI}/modules/auto-depends-0.2.1.jar \
 ${com.sun.aas.installRootURI}/modules/config-0.2.1.jar \
 ${com.sun.aas.installRootURI}/modules/hk2-core-0.2.1.jar \
 ${com.sun.aas.installRootURI}/modules/osgi-adapter-0.2.1.jar

# log level 1: error, 2: warning, 3: info, 4: debug
felix.log.level=1
felix.startlevel.framework=1
felix.startlevel.bundle=1
#framework.service.urlhandlers=false

#
# Java platform package export properties.
#
gf-packages=, \
sun.misc; \
javax.net.ssl; \
javax.crypto; \
javax.crypto.spec; \
javax.security.cert; \
sun.rmi.rmic; \
sun.tools.javac; \
com.sun.tools.javac; \
javax.net; \
com.sun.j3d.loaders; \
com.sun.j3d.loaders.lw3d; \
com.sun.j3d.loaders.objectfile; \
com.sun.j3d.utils.behaviors.keyboard; \
com.sun.j3d.utils.behaviors.mouse; \
com.sun.j3d.utils.geometry; \
com.sun.j3d.utils.image; \
com.sun.j3d.utils.timer; \
com.sun.java.swing.plaf.windows; \
javax.accessibility; \
javax.imageio; \
javax.imageio.event; \
javax.imageio.metadata; \
javax.imageio.plugins.bmp; \
javax.imageio.plugins.jpeg; \
javax.imageio.spi; \
javax.imageio.stream; \
javax.management; \
javax.management.loading; \
javax.management.modelmbean; \
javax.management.monitor; \
javax.management.openmbean; \
javax.management.relation; \
javax.management.remote; \
javax.management.remote.rmi; \
javax.management.timer; \
javax.media.j3d; \
javax.naming; \
javax.naming.directory; \
javax.naming.event; \
javax.naming.ldap; \
javax.naming.spi; \
javax.print; \
javax.print.attribute; \
javax.print.attribute.standard; \
javax.print.event; \
javax.rmi; \
javax.rmi.CORBA; \
javax.rmi.ssl; \
javax.security.auth; \
javax.security.auth.callback; \
javax.security.auth.kerberos; \
javax.security.auth.login; \
javax.security.auth.spi; \
javax.security.auth.x500; \
javax.security.sasl; \
javax.sound.midi; \
javax.sound.midi.spi; \
javax.sound.sampled; \
javax.sound.sampled.spi; \
javax.sql; \
javax.sql.rowset; \
javax.sql.rowset.serial; \
javax.sql.rowset.spi; \
javax.swing; \
javax.swing.border; \
javax.swing.colorchooser; \
javax.swing.event; \
javax.swing.filechooser; \
javax.swing.plaf; \
javax.swing.plaf.basic; \
javax.swing.plaf.metal; \
javax.swing.plaf.multi; \
javax.swing.plaf.synth; \
javax.swing.table; \
javax.swing.text; \
javax.swing.text.html; \
javax.swing.text.html.parser; \
javax.swing.text.rtf; \
javax.swing.tree; \
javax.swing.undo; \
javax.vecmath; \
javax.xml.datatype; \
javax.xml.namespace; \
javax.xml.parsers; \
javax.xml.transform; \
javax.xml.transform.dom; \
javax.xml.transform.sax; \
javax.xml.transform.stream; \
javax.xml.validation; \
javax.xml.xpath; \
org.ietf.jgss; \
org.omg.CORBA; \
org.omg.CORBA.DynAnyPackage; \
org.omg.CORBA.ORBPackage; \
org.omg.CORBA.TypeCodePackage; \
org.omg.CORBA.portable; \
org.omg.CORBA_2_3; \
org.omg.CORBA_2_3.portable; \
org.omg.CosNaming; \
org.omg.CosNaming.NamingContextExtPackage; \
org.omg.CosNaming.NamingContextPackage; \
org.omg.Dynamic; \
org.omg.DynamicAny; \
org.omg.DynamicAny.DynAnyFactoryPackage; \
org.omg.DynamicAny.DynAnyPackage; \
org.omg.IOP; \
org.omg.IOP.CodecFactoryPackage; \
org.omg.IOP.CodecPackage; \
org.omg.Messaging; \
org.omg.PortableInterceptor; \
org.omg.PortableInterceptor.ORBInitInfoPackage; \
org.omg.PortableServer; \
org.omg.PortableServer.CurrentPackage; \
org.omg.PortableServer.POAManagerPackage; \
org.omg.PortableServer.ServantLocatorPackage; \
org.omg.PortableServer.portable; \
org.omg.SendingContext; \
org.omg.stub.java.rmi; \
org.w3c.dom; \
org.w3c.dom.bootstrap; \
org.w3c.dom.css; \
org.w3c.dom.events; \
org.w3c.dom.html; \
org.w3c.dom.ls; \
org.w3c.dom.ranges; \
org.w3c.dom.views; \
org.xml.sax; \
org.xml.sax.ext; \
org.xml.sax.helpers; \
sun.awt.shell; \
sunw.io; \
sunw.util
