diff --git a/.gitignore b/.gitignore index 43fefab3b3ac0715ec42473c3694a1d074d089f0..fc3d4289c20b1aaecac5a8dfaebeb18733931bb8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -.classpath -.settings/ target/ bin/ *~ -*.log \ No newline at end of file +*.log +felix-cache +.metadata diff --git a/Felix/.classpath b/Felix/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..2dc9c0f5791fac9170c00336ea67d138910c082f --- /dev/null +++ b/Felix/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> + <classpathentry kind="lib" path="bin/felix.jar"/> + <classpathentry kind="output" path="classes"/> +</classpath> diff --git a/Felix/.project b/Felix/.project new file mode 100644 index 0000000000000000000000000000000000000000..048155d8ff08c78251ea4208798d1f879567e699 --- /dev/null +++ b/Felix/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>Felix</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/Felix/.settings/org.eclipse.jdt.core.prefs b/Felix/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..7341ab1683c4f1bd2f33bbd3d102ebf032569b57 --- /dev/null +++ b/Felix/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/TestingEnv/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar b/Felix/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar similarity index 100% rename from TestingEnv/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar rename to Felix/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar diff --git a/TestingEnv/bundle/camel-core-2.12.3.jar b/Felix/bundle/camel-core-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-core-2.12.3.jar rename to Felix/bundle/camel-core-2.12.3.jar diff --git a/TestingEnv/bundle/camel-core-osgi-2.12.3.jar b/Felix/bundle/camel-core-osgi-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-core-osgi-2.12.3.jar rename to Felix/bundle/camel-core-osgi-2.12.3.jar diff --git a/TestingEnv/bundle/camel-freemarker-2.12.3.jar b/Felix/bundle/camel-freemarker-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-freemarker-2.12.3.jar rename to Felix/bundle/camel-freemarker-2.12.3.jar diff --git a/TestingEnv/bundle/camel-http-2.12.3.jar b/Felix/bundle/camel-http-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-http-2.12.3.jar rename to Felix/bundle/camel-http-2.12.3.jar diff --git a/TestingEnv/bundle/camel-jaxb-2.12.3.jar b/Felix/bundle/camel-jaxb-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-jaxb-2.12.3.jar rename to Felix/bundle/camel-jaxb-2.12.3.jar diff --git a/TestingEnv/bundle/camel-servlet-2.12.3.jar b/Felix/bundle/camel-servlet-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-servlet-2.12.3.jar rename to Felix/bundle/camel-servlet-2.12.3.jar diff --git a/TestingEnv/bundle/camel-spring-2.12.3.jar b/Felix/bundle/camel-spring-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-spring-2.12.3.jar rename to Felix/bundle/camel-spring-2.12.3.jar diff --git a/TestingEnv/bundle/camel-sql-2.12.3.jar b/Felix/bundle/camel-sql-2.12.3.jar similarity index 100% rename from TestingEnv/bundle/camel-sql-2.12.3.jar rename to Felix/bundle/camel-sql-2.12.3.jar diff --git a/TestingEnv/bundle/commons-codec-1.8.jar b/Felix/bundle/commons-codec-1.8.jar similarity index 100% rename from TestingEnv/bundle/commons-codec-1.8.jar rename to Felix/bundle/commons-codec-1.8.jar diff --git a/TestingEnv/bundle/core-0.0.1-SNAPSHOT.jar b/Felix/bundle/core-0.0.1-SNAPSHOT.jar similarity index 100% rename from TestingEnv/bundle/core-0.0.1-SNAPSHOT.jar rename to Felix/bundle/core-0.0.1-SNAPSHOT.jar diff --git a/TestingEnv/bundle/docmanager-0.0.1-SNAPSHOT.jar b/Felix/bundle/docmanager-0.0.1-SNAPSHOT.jar similarity index 100% rename from TestingEnv/bundle/docmanager-0.0.1-SNAPSHOT.jar rename to Felix/bundle/docmanager-0.0.1-SNAPSHOT.jar diff --git a/TestingEnv/bundle/freemarker-2.3.20.jar b/Felix/bundle/freemarker-2.3.20.jar similarity index 100% rename from TestingEnv/bundle/freemarker-2.3.20.jar rename to Felix/bundle/freemarker-2.3.20.jar diff --git a/TestingEnv/bundle/index.html b/Felix/bundle/index.html similarity index 100% rename from TestingEnv/bundle/index.html rename to Felix/bundle/index.html diff --git a/TestingEnv/bundle/javax.servlet-api-3.1.0.jar b/Felix/bundle/javax.servlet-api-3.1.0.jar similarity index 100% rename from TestingEnv/bundle/javax.servlet-api-3.1.0.jar rename to Felix/bundle/javax.servlet-api-3.1.0.jar diff --git a/TestingEnv/bundle/jaxb-impl-2.2.6.jar b/Felix/bundle/jaxb-impl-2.2.6.jar similarity index 100% rename from TestingEnv/bundle/jaxb-impl-2.2.6.jar rename to Felix/bundle/jaxb-impl-2.2.6.jar diff --git a/TestingEnv/bundle/mysql-connector-java-5.1.30.jar b/Felix/bundle/mysql-connector-java-5.1.30.jar similarity index 100% rename from TestingEnv/bundle/mysql-connector-java-5.1.30.jar rename to Felix/bundle/mysql-connector-java-5.1.30.jar diff --git a/TestingEnv/bundle/org.apache.felix.bundlerepository-1.6.6.jar b/Felix/bundle/org.apache.felix.bundlerepository-1.6.6.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.bundlerepository-1.6.6.jar rename to Felix/bundle/org.apache.felix.bundlerepository-1.6.6.jar diff --git a/TestingEnv/bundle/org.apache.felix.gogo.command-0.12.0.jar b/Felix/bundle/org.apache.felix.gogo.command-0.12.0.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.gogo.command-0.12.0.jar rename to Felix/bundle/org.apache.felix.gogo.command-0.12.0.jar diff --git a/TestingEnv/bundle/org.apache.felix.gogo.runtime-0.10.0.jar b/Felix/bundle/org.apache.felix.gogo.runtime-0.10.0.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.gogo.runtime-0.10.0.jar rename to Felix/bundle/org.apache.felix.gogo.runtime-0.10.0.jar diff --git a/TestingEnv/bundle/org.apache.felix.gogo.shell-0.10.0.jar b/Felix/bundle/org.apache.felix.gogo.shell-0.10.0.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.gogo.shell-0.10.0.jar rename to Felix/bundle/org.apache.felix.gogo.shell-0.10.0.jar diff --git a/TestingEnv/bundle/org.apache.felix.http.jetty-2.2.2.jar b/Felix/bundle/org.apache.felix.http.jetty-2.2.2.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.http.jetty-2.2.2.jar rename to Felix/bundle/org.apache.felix.http.jetty-2.2.2.jar diff --git a/TestingEnv/bundle/org.apache.felix.ipojo-1.11.2.jar b/Felix/bundle/org.apache.felix.ipojo-1.11.2.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.ipojo-1.11.2.jar rename to Felix/bundle/org.apache.felix.ipojo-1.11.2.jar diff --git a/TestingEnv/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar b/Felix/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar rename to Felix/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar diff --git a/TestingEnv/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar b/Felix/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar similarity index 100% rename from TestingEnv/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar rename to Felix/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar b/Felix/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar rename to Felix/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar b/Felix/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar similarity index 100% rename from TestingEnv/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar rename to Felix/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar diff --git a/TestingEnv/bundle/org.osgi.compendium-4.3.1.jar b/Felix/bundle/org.osgi.compendium-4.3.1.jar similarity index 100% rename from TestingEnv/bundle/org.osgi.compendium-4.3.1.jar rename to Felix/bundle/org.osgi.compendium-4.3.1.jar diff --git a/TestingEnv/bundle/org.osgi.core-4.3.1.jar b/Felix/bundle/org.osgi.core-4.3.1.jar similarity index 100% rename from TestingEnv/bundle/org.osgi.core-4.3.1.jar rename to Felix/bundle/org.osgi.core-4.3.1.jar diff --git a/TestingEnv/bundle/pax-logging-api-1.7.2.jar b/Felix/bundle/pax-logging-api-1.7.2.jar similarity index 100% rename from TestingEnv/bundle/pax-logging-api-1.7.2.jar rename to Felix/bundle/pax-logging-api-1.7.2.jar diff --git a/TestingEnv/bundle/planetary-0.0.1-SNAPSHOT.jar b/Felix/bundle/planetary-0.0.1-SNAPSHOT.jar similarity index 100% rename from TestingEnv/bundle/planetary-0.0.1-SNAPSHOT.jar rename to Felix/bundle/planetary-0.0.1-SNAPSHOT.jar diff --git a/TestingEnv/bundle/servlet-0.0.1-SNAPSHOT.jar b/Felix/bundle/servlet-0.0.1-SNAPSHOT.jar similarity index 100% rename from TestingEnv/bundle/servlet-0.0.1-SNAPSHOT.jar rename to Felix/bundle/servlet-0.0.1-SNAPSHOT.jar diff --git a/TestingEnv/bundle/servlet-api-2.5.jar b/Felix/bundle/servlet-api-2.5.jar similarity index 100% rename from TestingEnv/bundle/servlet-api-2.5.jar rename to Felix/bundle/servlet-api-2.5.jar diff --git a/TestingEnv/conf/config.properties b/Felix/conf/config.properties similarity index 100% rename from TestingEnv/conf/config.properties rename to Felix/conf/config.properties diff --git a/TestingEnv/start.sh b/Felix/start.sh similarity index 100% rename from TestingEnv/start.sh rename to Felix/start.sh diff --git a/MathHubWorker/.classpath b/MathHubWorker/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..395dbde027f67aca1db4bd4d077783059afb3acd --- /dev/null +++ b/MathHubWorker/.classpath @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/MathHubWorker/.settings/org.eclipse.jdt.core.prefs b/MathHubWorker/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..abec6ca389ac6331e1f6466d9f67c8dd3406fb5a --- /dev/null +++ b/MathHubWorker/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/MathHubWorker/.settings/org.eclipse.m2e.core.prefs b/MathHubWorker/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65 --- /dev/null +++ b/MathHubWorker/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/SallyServlet/.classpath b/SallyServlet/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..395dbde027f67aca1db4bd4d077783059afb3acd --- /dev/null +++ b/SallyServlet/.classpath @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/SallyServlet/.settings/org.eclipse.jdt.core.prefs b/SallyServlet/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..abec6ca389ac6331e1f6466d9f67c8dd3406fb5a --- /dev/null +++ b/SallyServlet/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/SallyServlet/.settings/org.eclipse.m2e.core.prefs b/SallyServlet/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65 --- /dev/null +++ b/SallyServlet/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/TestingEnv/DEPENDENCIES b/TestingEnv/DEPENDENCIES deleted file mode 100644 index ac01909ed152983be006c7bd1e894b814c24f25f..0000000000000000000000000000000000000000 --- a/TestingEnv/DEPENDENCIES +++ /dev/null @@ -1,32 +0,0 @@ -Apache Felix Main Distribution -Copyright 2013 The Apache Software Foundation - -This software was developed at the Apache Software Foundation -(http://www.apache.org) and may have dependencies on other -Apache software licensed under Apache License 2.0. - -I. Included Third-Party Software - -This product includes software developed at -The OSGi Alliance (http://www.osgi.org/). -Copyright (c) OSGi Alliance (2000, 2012). -Licensed under the Apache License 2.0. - -This product includes software from http://kxml.sourceforge.net. -Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany. -Licensed under BSD License. - -II. Used Third-Party Software - -This product uses software developed at -The OSGi Alliance (http://www.osgi.org/). -Copyright (c) OSGi Alliance (2000, 2012). -Licensed under the Apache License 2.0. - -This product uses software developed at -The Codehaus (http://www.codehaus.org) -Licensed under the Apache License 2.0. - -III. License Summary -- Apache License 2.0 -- BSD License diff --git a/TestingEnv/LICENSE b/TestingEnv/LICENSE deleted file mode 100644 index d645695673349e3947e8e5ae42332d0ac3164cd7..0000000000000000000000000000000000000000 --- a/TestingEnv/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed 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. diff --git a/TestingEnv/LICENSE.kxml2 b/TestingEnv/LICENSE.kxml2 deleted file mode 100644 index 1fe595b03924922ea859c41a3134490d74449a55..0000000000000000000000000000000000000000 --- a/TestingEnv/LICENSE.kxml2 +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. diff --git a/TestingEnv/MANIFEST.MF b/TestingEnv/MANIFEST.MF deleted file mode 100644 index f9cf93865ff27b422f3108f2c5eb6eadcd15f1a9..0000000000000000000000000000000000000000 --- a/TestingEnv/MANIFEST.MF +++ /dev/null @@ -1,46 +0,0 @@ -Manifest-Version: 1.0 -Bnd-LastModified: 1386080823435 -Build-Jdk: 1.7.0_40 -Built-By: jawi -Bundle-Activator: org.apache.felix.http.jetty.internal.JettyActivator -Bundle-Description: Apache Felix is an OSGi implementation. -Bundle-DocURL: http://www.apache.org/ -Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt -Bundle-ManifestVersion: 2 -Bundle-Name: Apache Felix Http Jetty -Bundle-SymbolicName: org.apache.felix.http.jetty -Bundle-Vendor: The Apache Software Foundation -Bundle-Version: 2.2.2 -Created-By: Apache Maven Bundle Plugin -DynamicImport-Package: org.osgi.service.cm;version=1.2 -Export-Package: org.apache.felix.http.api;uses:="javax.servlet,org.osgi. - service.http";version="2.0.4",org.osgi.service.http;uses:="javax.servle - t.http,javax.servlet";version="1.2.0",javax.servlet;version="2.5",javax - .servlet.resources;version="2.5",javax.servlet.http;uses:="javax.servle - t";version="2.5" -Implementation-Title: Apache Felix Http Jetty -Implementation-Vendor: The Apache Software Foundation -Implementation-Vendor-Id: org.apache.felix -Implementation-Version: 2.2.2 -Import-Package: javax.imageio;resolution:=optional,javax.management;reso - lution:=optional,javax.management.modelmbean;resolution:=optional,javax - .management.remote;resolution:=optional,javax.naming;resolution:=option - al,javax.net.ssl;resolution:=optional,javax.security.auth;resolution:=o - ptional,javax.security.cert;resolution:=optional,javax.servlet;resoluti - on:=optional;version="[2.5,3)",javax.servlet.http;resolution:=optional; - version="[2.5,3)",javax.sql;resolution:=optional,javax.xml.parsers;reso - lution:=optional,org.apache.felix.http.api;resolution:=optional;version - ="[2.0,3)",org.ietf.jgss;resolution:=optional,org.mortbay.log;resolutio - n:=optional,org.mortbay.util.ajax;resolution:=optional,org.osgi.framewo - rk;resolution:=optional;version="[1.5,2)",org.osgi.service.event;resolu - tion:=optional;version="[1.2,2)",org.osgi.service.http;resolution:=opti - onal;version="[1.2,2)",org.osgi.service.log;resolution:=optional;versio - n="[1.3,2)",org.osgi.util.tracker;resolution:=optional;version="[1.4,2) - ",org.slf4j;resolution:=optional,org.slf4j.helpers;resolution:=optional - ,org.slf4j.spi;resolution:=optional,org.xml.sax;resolution:=optional,or - g.xml.sax.helpers;resolution:=optional -Specification-Title: Apache Felix Http Jetty -Specification-Vendor: The Apache Software Foundation -Specification-Version: 2.2.2 -Tool: Bnd-1.50.0 -X-Jetty-Version: 7.6.13.v20130916 diff --git a/TestingEnv/NOTICE b/TestingEnv/NOTICE deleted file mode 100644 index ad3a64fb74203dba69754bd05373975a3c4be25e..0000000000000000000000000000000000000000 --- a/TestingEnv/NOTICE +++ /dev/null @@ -1,15 +0,0 @@ -Apache Felix Main Distribution -Copyright 2014 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). -Licensed under the Apache License 2.0. - -This product includes software developed at -The OSGi Alliance (http://www.osgi.org/). -Copyright (c) OSGi Alliance (2000, 2012). -Licensed under the Apache License 2.0. - -This product includes software from http://kxml.sourceforge.net. -Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany. -Licensed under BSD License. diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties.html b/TestingEnv/doc/apache-felix-framework-configuration-properties.html deleted file mode 100644 index 8c5bebb2699a192799c3a9a8bc702f4cd2e5a57c..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-configuration-properties.html +++ /dev/null @@ -1,198 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head> - - - - <title>Apache Felix - Apache Felix Framework Configuration Properties</title> - <link rel="stylesheet" href="apache-felix-framework-configuration-properties_files/site.css" type="text/css" media="all"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - </head><body> - <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="apache-felix-framework-configuration-properties_files/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="apache-felix-framework-configuration-properties_files/apache.png" border="0"></a></div></div> - <div class="menu"> -<ul> - <li><a href="http://felix.apache.org/site/news.html" title="news">news</a></li> - <li><a href="http://felix.apache.org/site/license.html" title="license">license</a></li> - <li><a href="http://felix.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">downloads</a></li> - <li><a href="http://felix.apache.org/site/documentation.html" title="documentation">documentation</a></li> - <li><a href="http://felix.apache.org/site/mailinglists.html" title="mailinglists">mailing lists</a></li> - <li><a href="http://felix.apache.org/site/contributing.html" title="Contributing">contributing</a></li> - <li><a href="http://www.apache.org/" class="external-link" rel="nofollow">asf</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">sponsorship</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">sponsors</a> -<!-- ApacheCon Ad --> -<iframe src="apache-felix-framework-configuration-properties_files/button.html" style="border-width: 0pt; float: left;" frameborder="0" height="135" scrolling="no" width="135"></iframe> -<p style="height: 100px;"> -<!-- ApacheCon Ad --> -</p></li></ul> - </div> - <div class="main"> -<h1><a name="ApacheFelixFrameworkConfigurationProperties-ApacheFelixFrameworkConfigurationProperties"></a>Apache Felix Framework Configuration Properties</h1> - -<ul> - <li><a href="#ApacheFelixFrameworkConfigurationProperties-overview">Overview</a></li> - <li><a href="#ApacheFelixFrameworkConfigurationProperties-framework">Framework configuration properties</a></li> - <li><a href="#ApacheFelixFrameworkConfigurationProperties-launcher">Launcher configuration properties</a></li> - <li><a href="#ApacheFelixFrameworkConfigurationProperties-migrating">Mirgrating from earlier versions</a></li> - <li><a href="#ApacheFelixFrameworkConfigurationProperties-feedback">Feedback</a></li> -</ul> - - -<p><a name="ApacheFelixFrameworkConfigurationProperties-overview"></a></p> - -<h2><a name="ApacheFelixFrameworkConfigurationProperties-Overview"></a>Overview</h2> - -<p>This document describes the various configuration properties related -to the Apache Felix Framework. Technically, there are framework -properties and launcher properties. If you are using the Felix -Framework JAR file (i.e., <tt>org.apache.felix.framework-x.y.x.jar</tt>), then you can only use framework properties. On the other hand, if you are using the Felix Main launcher JAR (i.e., <tt>felix.jar</tt> or <tt>org.apache.felix.main-x.y.z.jar</tt>), then you can use both framework and launcher properties. This document will describe both sets of properties.</p> - -<p>Note that the framework does not use system properties to find its -configuration properties, it only consults the map passed into its -constructor. In contrast to bundles, which use <tt>BundleContext.getProperty()</tt>, -which exposes both configuration and system properties at execution -time. In the case of overlap, the configuration properties override -system properties. As a convenience, if you are using the Felix -launcher, it will copy all configuration properties it finds in the -system properties to the configuration map passed into the framework -constructor, which allows you to set configuration properties on the -command line. This feature is <b>not</b> available if you are just using the Felix framework JAR file.</p> - -<p><a name="ApacheFelixFrameworkConfigurationProperties-framework"></a></p> - -<h2><a name="ApacheFelixFrameworkConfigurationProperties-Frameworkconfigurationproperties"></a>Framework configuration properties</h2> - -<p>The following configuration properties are for the framework (properties starting with "<tt>felix</tt>" are specific to Felix, while those starting with "<tt>org.osgi</tt>" are standard OSGi properties):</p> - -<ul> - <li><tt>org.osgi.framework.executionenvironment</tt> - Sets the -OSGi execution environment for the framework. The framework tries to -set this to a reasonable default value. If you specify a value, it -overrides the framework default. Refer to the OSGi specification for -appropriate execution environment values.</li> - <li><tt>org.osgi.framework.storage</tt> - Sets the directory to use as the bundle cache; by default the bundle cache directory is <tt>felix-cache</tt> -in the current working directory. The value should be a valid directory -name. The directory name can be either absolute or relative. Relative -directory names are relative to the current working directory. The -specified directory will be created if it does not exist.</li> - <li><tt>felix.cache.rootdir</tt> - Sets the root directory used to calculate the bundle cache directory for relative directory names. If <tt>org.osgi.framework.storage</tt> -is set to a relative name, by default it is relative to the current -working directory. If this property is set, then it will be calculated -as being relative to the specified root directory.</li> - <li><tt>org.osgi.framework.storage.clean</tt> - Determines whether the bundle cache is flushed. The value can either be "<tt>none</tt>" or "<tt>onFirstInit</tt>", where "<tt>none</tt>" does not flush the bundle cache and "<tt>onFirstInit</tt>" flushes the bundle cache when the framework instance is first initialized. The default value is "<tt>none</tt>".</li> - <li><tt>felix.cache.locking</tt> -- Enables or disables bundle cache locking, which is used to prevent -concurrent access to the bundle cache. This is enabled by default, but -on older/smaller JVMs file channel locking is not available; set this -property to <tt>false</tt> to disable it.</li> - <li><tt>felix.cache.bufsize</tt> -- Sets the buffer size to be used by the cache; the default value is -4096. The integer value of this string provides control over the size -of the internal buffer of the disk cache for performance reasons.</li> - <li><tt>org.osgi.framework.system.packages</tt> -- Specifies a comma-delimited list of packages that should be exported -via the System Bundle from the framework class loader. The framework -will set this to a reasonable default. If the value is specified, it -replaces any default value.</li> - <li><tt>org.osgi.framework.system.packages.extra</tt> -- Specifies a comma-delimited list of packages that should be exported -via the System Bundle from the framework class loader in addition to -the packages in <tt>org.osgi.framework.system.packages</tt>. The default value is empty. If a value is specified, it is appended to the list of default or specified packages in <tt>org.osgi.framework.system.packages</tt>.</li> - <li><tt>org.osgi.framework.bootdelegation</tt> -- Specifies a comma-delimited list of packages that should be made -implicitly available to all bundles from the parent class loader. It is -recommended not to use this property since it breaks modularity. The -default value is empty.</li> - <li><tt>org.osgi.framework.bundle.parent</tt> - Specifies which class loader is used for boot delegation. Possible values are: <tt>boot</tt> for the boot class loader, <tt>app</tt> for the application class loader, <tt>ext</tt> for the extension class loader, and <tt>framework</tt> for the framework's class loader. The default is <tt>boot</tt>.</li> - <li><tt>felix.bootdelegation.implicit</tt> -- Specifies whether the framework should try to guess when to -implicitly boot delegate to ease integration with external code. The -default value is <tt>true</tt>.</li> - <li><tt>felix.systembundle.activators</tt> - A <tt>List</tt> of <tt>BundleActivator</tt> -instances that are started/stopped when the System Bundle is -started/stopped. The specified instances will receive the System -Bundle's <tt>BundleContext</tt> when invoked. (This property cannot be -set in the configuration file since it requires instances; it can only -be passed into Felix' constructor directly.)</li> - <li><tt>felix.log.logger</tt> - An instance of <tt>Logger</tt> -that the framework uses as its default logger. (This property cannot be -set in the configuration file since it requires an instance; it can -only be passed into Felix' constructor directly.)</li> - <li><tt>felix.log.level</tt> -- An integer value indicating the degree of logging reported by the -framework; the higher the value the more logging is reported. If zero -('0') is specified, then logging is turned off completely. The log -levels match those specified in the OSGi Log Service (i.e., 1 = error, -2 = warning, 3 = information, and 4 = debug). The default value is 1.</li> - <li><tt>org.osgi.framework.startlevel.beginning</tt> - The initial start level of the framework once it starts execution; the default value is 1.</li> - <li><tt>felix.startlevel.bundle</tt> - The default start level for newly installed bundles; the default value is 1.</li> - <li><tt>felix.service.urlhandlers</tt> - Flag to indicate whether to activate the URL Handlers service for the framework instance; the default value is <tt>true</tt>. Activating the URL Handlers service will result in the <tt>URL.setURLStreamHandlerFactory()</tt> and <tt>URLConnection.setContentHandlerFactory()</tt> being called.</li> -</ul> - - -<p><a name="ApacheFelixFrameworkConfigurationProperties-launcher"></a></p> - -<h2><a name="ApacheFelixFrameworkConfigurationProperties-Launcherconfigurationproperties"></a>Launcher configuration properties</h2> - -<p>The following configuration properties are for the launcher:</p> - -<ul> - <li><tt>felix.auto.deploy.dir</tt> - Specifies the auto-deploy directory from which bundles are automatically deployed at framework startup. The default is the <tt>bundle/</tt> directory of the current directory.</li> - <li><tt>felix.auto.deploy.action</tt> -- Specifies a comma-delimited list of actions to be performed on bundle -JAR files found in the auto-deploy directory. The possible actions are <tt>install</tt>, <tt>update</tt>, <tt>start</tt>, and <tt>uninstall</tt>. -An undefined or blank value is equivalent to disabling auto-deploy -processing; there is no default value, so this value must be defined to -enable it.</li> - <li><tt>felix.auto.install.<n></tt> - Space-delimited list of bundle URLs to automatically install when Felix is started, where <tt><n></tt> is the start level into which the bundle will be installed (e.g., <tt>felix.auto.install.2</tt>).</li> - <li><tt>felix.auto.start.<n></tt> - Space-delimited list of bundle URLs to automatically install and start when Felix is started, where <tt><n></tt> is the start level into which the bundle will be installed (e.g., <tt>felix.auto.start.2</tt>).</li> - <li><tt>felix.shutdown.hook</tt> -- Specifies whether the launcher should install a shutdown hook to -cleanly shutdown the framework on process exit. The default value is <tt>true</tt>.</li> -</ul> - - -<p><a name="ApacheFelixFrameworkConfigurationProperties-migrating"></a></p> - -<h2><a name="ApacheFelixFrameworkConfigurationProperties-MigratingfromEarlierVersions"></a>Migrating from Earlier Versions</h2> - -<p>Apache Felix Framework <tt>2.0.0</tt> introduced significant -configuration property changes. This section describes the differences -from older versions of the framework.</p> - -<ul> - <li><b>Removed</b> - <ul> - <li><tt>felix.embedded.execution</tt> - No longer needed, since the framework now never calls <tt>System.exit()</tt>; the creator of the framework is now always responsible for exiting the VM.</li> - <li><tt>felix.strict.osgi</tt> - No longer needed, since all non-specification features have been removed.</li> - <li><tt>felix.cache.dir</tt> - No longer needed, since Felix no longer uses bundle cache profiles for saving sets of bundles.</li> - <li><tt>felix.cache.profile</tt> - No longer needed, since the framework no longer uses bundle cache profiles for saving sets of bundles.</li> - <li><tt>felix.fragment.validation</tt> - No longer needed, since the framework supports fragments.</li> - </ul> - </li> - <li><b>Renamed</b> - <ul> - <li><tt>felix.cache.profiledir</tt> - The equivalent of this property is now named <tt>org.osgi.framework.storage</tt>.</li> - <li><tt>felix.startlevel.framework</tt> - The equivalent of this property is now named <tt>org.osgi.framework.startlevel.beginning</tt>.</li> - </ul> - </li> - <li><b>Introduced</b> - <ul> - <li><tt>org.osgi.framework.system.packages.extra</tt> - New property, as described above, added to align with standard framework API.</li> - <li><tt>org.osgi.framework.storage.clean</tt> - New property, as described above, added to align with standard framework API.</li> - <li><tt>felix.cache.rootdir</tt> - Introduced as a result of removing bundle profiles to help resolve relative bundle cache directories.</li> - </ul> - </li> -</ul> - - -<p>For the most part, these changes are minor and previous behavior -achieved from older configuration properties is either easily attained -with the new properties or no longer necessary.</p> - -<p><a name="ApacheFelixFrameworkConfigurationProperties-feedback"></a></p> - -<h2><a name="ApacheFelixFrameworkConfigurationProperties-Feedback"></a>Feedback</h2> - -<p>Subscribe to the Felix users mailing list by sending a message to <a href="mailto:users-subscribe@felix.apache.org" class="external-link" rel="nofollow">users-subscribe@felix.apache.org</a>; after subscribing, email questions or feedback to <a href="mailto:users@felix.apache.org" class="external-link" rel="nofollow">users@felix.apache.org</a>.</p> - </div> - </body></html> diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/apache.png b/TestingEnv/doc/apache-felix-framework-configuration-properties_files/apache.png deleted file mode 100644 index 5132f65ec1546b4b17e679dd0798f806138918c6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/apache.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button.html b/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button.html deleted file mode 100644 index 8503c58f645bdbf1cec502277068cb072edb17e3..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button.html +++ /dev/null @@ -1,5 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><!-- ads start --> -</head><body><a href="http://www.us.apachecon.com/" target="_blank"><img src="button_data/2010-na-125x125.png" title="ApacheCon NA 2010" border="0" height="125" width="125"></a> -<!-- ads end --> -</body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button_data/2010-na-125x125.png b/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button_data/2010-na-125x125.png deleted file mode 100644 index 90bd87b263653fd287b9081f0fd0f3807ed35823..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/button_data/2010-na-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/logo.png b/TestingEnv/doc/apache-felix-framework-configuration-properties_files/logo.png deleted file mode 100644 index dccbddcc35cc1026359f25b7275e8f0a71c3b5a8..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/logo.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/site.css b/TestingEnv/doc/apache-felix-framework-configuration-properties_files/site.css deleted file mode 100644 index 959ab0a592d698849640f882313195bde3f1bcb9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-configuration-properties_files/site.css +++ /dev/null @@ -1,25 +0,0 @@ -/* @override http://felix.apache.org/site/media.data/site.css */ - -body { background-color: #ffffff; color: #3b3b3b; font-family: Tahoma, Arial, sans-serif; font-size: 10pt; line-height: 140% } -h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #000000; line-height: 100%; margin-top: 0px} -h1 { font-size: 200% } -h2 { font-size: 175% } -h3 { font-size: 150% } -h4 { font-size: 140% } -h5 { font-size: 130% } -h6 { font-size: 120% } -a { color: #1980af } -a:visited { color: #1980af } -a:hover { color: #1faae9 } -.title { position: absolute; left: 1px; right: 1px; top:25px; height: 81px; background: url(http://felix.apache.org/site/media.data/gradient.png) repeat-x; background-position: bottom; } -.logo { position: absolute; width: 15em; height: 81px; text-align: center; } -.header { text-align: right; margin-right: 20pt; margin-top: 30pt;} -.menu { border-top: 10px solid #f9bb00; position: absolute; top: 107px; left: 1px; width: 15em; bottom: 0px; padding: 0px; background-color: #fcfcfc } -.menu ul { background-color: #fdf5d9; list-style: none; padding-left: 4em; margin-top: 0px; padding-top: 2em; padding-bottom: 2em; margin-left: 0px; color: #4a4a43} -.menu a { text-decoration: none; color: #4a4a43 } -.main { position: absolute; border-top: 10px solid #cde0ea; top: 107px; left: 15em; right: 1px; margin-left: 2px; padding-right: 4em; padding-left: 1em; padding-top: 1em;} -.code { background-color: #eeeeee; border: solid 1px black; padding: 0.5em } -.code-keyword { color: #880000 } -.code-quote { color: #008800 } -.code-object { color: #0000dd } -.code-java { margin: 0em } \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding.html b/TestingEnv/doc/apache-felix-framework-launching-and-embedding.html deleted file mode 100644 index 2258a04dab8186b11d5abdb732ed7900024c4bac..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-launching-and-embedding.html +++ /dev/null @@ -1,1022 +0,0 @@ - -<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head> - - - - <title>Apache Felix - Apache Felix Framework Launching and Embedding</title> - <link rel="stylesheet" href="apache-felix-framework-launching-and-embedding_files/site.css" type="text/css" media="all"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - </head><body> - <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="apache-felix-framework-launching-and-embedding_files/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="apache-felix-framework-launching-and-embedding_files/apache.png" border="0"></a></div></div> - <div class="menu"> -<ul> - <li><a href="http://felix.apache.org/site/news.html" title="news">news</a></li> - <li><a href="http://felix.apache.org/site/license.html" title="license">license</a></li> - <li><a href="http://felix.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">downloads</a></li> - <li><a href="http://felix.apache.org/site/documentation.html" title="documentation">documentation</a></li> - <li><a href="http://felix.apache.org/site/mailinglists.html" title="mailinglists">mailing lists</a></li> - <li><a href="http://felix.apache.org/site/contributing.html" title="Contributing">contributing</a></li> - <li><a href="http://www.apache.org/" class="external-link" rel="nofollow">asf</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">sponsorship</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">sponsors</a> -<!-- ApacheCon Ad --> -<iframe src="apache-felix-framework-launching-and-embedding_files/button.html" style="border-width: 0pt; float: left;" frameborder="0" height="135" scrolling="no" width="135"></iframe> -<p style="height: 100px;"> -<!-- ApacheCon Ad --> -</p></li></ul> - </div> - <div class="main"> -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-ApacheFelixFrameworkLaunchingandEmbedding"></a>Apache Felix Framework Launching and Embedding</h1> - -<p><em>[This document describes framework launching introduced in Felix -Framework 2.0.0 and continuing with the latest releases; it is -incompatible with older versions of the Felix framework.]</em></p> - -<ul> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-introduction">Introduction</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-overview">OSGi Launching and Embedding API Overview</a> - <ul> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-creatingandconfiguring">Creating and Configuring the Framework Instance</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-startinginstance">Starting the Framework Instance</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-stoppinginstance">Stopping the Framework Instance</a></li> - </ul> - </li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-launching">Launching Felix</a> - <ul> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-standardlauncher">Standard Felix Launcher</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-customlauncher">Custom Felix Launcher</a></li> - </ul> - </li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-embedding">Embedding Felix</a> - <ul> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-hostinteraction">Host/Felix Interaction</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-hostservices">Providing Host Application Services</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage">Using Services Provided by Bundles</a> - <ul> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-servicereflection">Using Bundle Services via Reflection</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-serviceother">Other Approaches</a></li> - </ul> - </li> - </ul> - </li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-caveat">Caveat</a></li> - <li><a href="#ApacheFelixFrameworkLaunchingandEmbedding-feedback">Feedback</a></li> -</ul> - - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-introduction"></a></p> - -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-Introduction"></a>Introduction</h1> - -<p>The Apache Felix Framework is intended to be easily launchable and -embeddable. For example, the Felix framework implementation avoids the -use of system properties for configuration, since these are globals and -can cause interference if multiple framework instances are created in -the same VM. The framework also tries to multiplex singleton -facilities, like the URL stream handler factory. The goal is to make it -possible to use the framework in a variety of scenarios; however, this -is still just a goal. In other words, this is a work in progress and if -any issues arise, it would be greatly appreciated if they are brought -to the attention of the Felix community. The next section provides an -overview of the standard OSGi launching and embedding API for -frameworks, while the remainder of the document is divided into two -sections, one focusing on how to launch Felix and one focusing on how -to embed Felix into a host application.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-overview"></a></p> - -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-OSGiLaunchingandEmbeddingAPIOverview"></a>OSGi Launching and Embedding API Overview</h1> - -<p>The Felix framework is implemented by the <tt>org.apache.felix.framework.Felix</tt> class or just <tt>Felix</tt> -for short. As part of the R4.2 OSGi specification, the launching and -embedding API of the OSGi framework has been standardized. The approach -is to have the framework implement the <tt>org.osgi.framework.launch.Framework</tt> interface, which extends the <tt>org.osgi.framework.Bundle</tt> interface. These interfaces provide the necessary means to launch and manage framework instances. The <tt>Bundle</tt> interface is defined as:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">interface</span> Bundle -{ - BundleContext getBundleContext(); - <span class="code-object">long</span> getBundleId(); - URL getEntry(<span class="code-object">String</span> name); - Enumeration getEntryPaths(<span class="code-object">String</span> path); - Enumeration findEntries(<span class="code-object">String</span> path, <span class="code-object">String</span> filePattern, <span class="code-object">boolean</span> recurse); - Dictionary getHeaders(); - Dictionary getHeaders(<span class="code-object">String</span> locale); - <span class="code-object">long</span> getLastModified(); - <span class="code-object">String</span> getLocation(); - URL getResource(<span class="code-object">String</span> name); - Enumeration getResources(<span class="code-object">String</span> name) <span class="code-keyword">throws</span> IOException; - ServiceReference[] getRegisteredServices(); - ServiceReference[] getServicesInUse(); - <span class="code-object">int</span> getState(); - <span class="code-object">String</span> getSymbolicName(); - Version getVersion(); - <span class="code-object">boolean</span> hasPermission(<span class="code-object">Object</span> obj); - <span class="code-object">Class</span> loadClass(<span class="code-object">String</span> name) <span class="code-keyword">throws</span> ClassNotFoundException; - void start() <span class="code-keyword">throws</span> BundleException; - void stop() <span class="code-keyword">throws</span> BundleException; - void uninstall() <span class="code-keyword">throws</span> BundleException; - void update() <span class="code-keyword">throws</span> BundleException; - void update(InputStream is) <span class="code-keyword">throws</span> BundleException; -} -</pre> -</div></div> - -<p>The <tt>Framework</tt> interface is defined as:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">interface</span> Framework <span class="code-keyword">extends</span> Bundle -{ - void init(); - FrameworkEvent waitForStop(<span class="code-object">long</span> timeout); -} -</pre> -</div></div> - -<p>To actually construct a framework instance, the R4.2 specification defines the <tt>FrameworkFactory</tt> interface:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">interface</span> FrameworkFactory -{ - Framework newFramework(Map config); -} -</pre> -</div></div> - -<p>The framework factory can be used to create configured framework instances. It is obtained following the standard <tt>META-INF/services</tt> approach.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-creatingandconfiguring"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-CreatingandConfiguringtheFrameworkInstance"></a>Creating and Configuring the Framework Instance</h2> - -<p>You use the framework factory to construct and configure a framework -instance (or by directly instantiating the Felix class). The -configuration map may contain any of the framework configuration -properties listed in the <a href="http://felix.apache.org/site/apache-felix-framework-configuration-properties.html" title="Apache Felix Framework Configuration Properties">Apache Felix Framework Configuration Properties</a> -document, not the launcher configuration properties. The configuration -map is copied and the keys are treated as case insensitive. You are not -able to change the framework's configuration after construction. If you -need a different configuration, you must create a new framework -instance.</p> - -<div class="panelMacro"><table class="warningMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="apache-felix-framework-launching-and-embedding_files/forbidden.gif" alt="" align="absmiddle" border="0" height="16" width="16"></td><td><b>WARNING</b><br>Felix configuration properties have change considerably starting from <tt>1.4.0</tt>; if you are upgrading from an earlier version, the <a href="http://felix.apache.org/site/apache-felix-framework-configuration-properties.html#ApacheFelixFrameworkConfigurationProperties-migrating">configuration property document</a> describes the configuration property changes.</td></tr></tbody></table></div> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-startinginstance"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-StartingtheFrameworkInstance"></a>Starting the Framework Instance</h2> - -<p>The <tt>start()</tt> method is used to start the framework instance. If the <tt>init()</tt> method was not invoked prior to calling <tt>start()</tt>, then it is invoked by <tt>start()</tt>. The two methods result in two different framework state transitions:</p> - -<ul> - <li><tt>init()</tt> results in the framework instance in the <tt>Bundle.STARTING</tt> state.</li> - <li><tt>start()</tt> results in the framework instance in the <tt>Bundle.ACTIVE</tt> state.</li> -</ul> - - -<p>The <tt>init()</tt> method is necessary since the framework does not have a <tt>BundleContext</tt> when it is first created, so a transition to the <tt>Bundle.STARTING</tt> state is required to acquire its context (via <tt>Bundle.getBundleContext()</tt>) for performing various tasks, such as installing bundles. Note that the Felix framework also provides the <tt>felix.systembundle.activators</tt> property that serves a similar purpose, but is not standard. After the <tt>init()</tt> method completes, the follow actions have been performed:</p> - -<ul> - <li>Event handling is enabled.</li> - <li>The security manager is installed if it is enabled.</li> - <li>The framework is set to start level 0.</li> - <li>All bundles in the bundle caches are reified and their state is set to <tt>Bundle.INSTALLED</tt>.</li> - <li>The framework gets a valid <tt>BundleContext</tt>.</li> - <li>All framework-provided services are made available (e.g., PackageAdmin, StartLevel, etc.).</li> - <li>The framework enters the <tt>Bundle.STARTING</tt> state.</li> -</ul> - - -<p>A call to <tt>start()</tt> is necessary to start the framework instance, if the <tt>init()</tt> method is invoked manually. Invoking <tt>init()</tt> or <tt>start()</tt> on an already started framework as no effect.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-stoppinginstance"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-StoppingtheFrameworkInstance"></a>Stopping the Framework Instance</h2> - -<p>To stop the framework instance, invoke the <tt>stop()</tt> method, which will asynchronously stop the framework. To know when the framework has finished its shutdown sequence, use the <tt>waitForStop()</tt> method to wait until it is complete. A stopped framework will be in the <tt>Bundle.RESOLVED</tt> state. It is possible to restart the framework, using the normal combination of <tt>init()</tt>/<tt>start()</tt> methods as previously described.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-launching"></a></p> - -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-LaunchingaFramework"></a>Launching a Framework</h1> - -<p>Launching a framework is fairly simple and involves only four steps:</p> - -<ol> - <li>Define some configuration properties.</li> - <li>Obtain framework factory.</li> - <li>Use factory to create framework with the configuration properties.</li> - <li>Invoke the <tt>Framework.start()</tt> method.</li> -</ol> - - -<p>In reality, the first step is optional, since all properties will -have reasonable defaults, but if you are creating a launcher you will -generally want to more than that, such as automatically installing and -starting bundles when you start the framework instance. The default -Felix launcher defines reusable functionality to automatically install -and/or start bundles upon framework startup; see the <a href="http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-configuringfelix">usage document</a> for more information on configuring the Felix framework and on the various configuration properties.</p> - -<p>The remainder of this section describes how the standard Felix launcher works as well as how to create a custom launcher.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-standardlauncher"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-StandardFelixFrameworkLauncher"></a>Standard Felix Framework Launcher</h2> - -<p>The standard Felix framework launcher is very simple and is not -intended to solve every possible requirement; it is intended to work -for most standard situations. Most special launching requirements -should be resolved by creating a custom launcher. This section -describes how the standard launcher works. The following code -represents the complete <tt>main()</tt> method of the standard launcher, each numbered comment will be described in more detail below:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">static</span> void main(<span class="code-object">String</span>[] args) <span class="code-keyword">throws</span> Exception -{ - <span class="code-comment">// (1) Check <span class="code-keyword">for</span> command line arguments and verify usage. -</span> <span class="code-object">String</span> bundleDir = <span class="code-keyword">null</span>; - <span class="code-object">String</span> cacheDir = <span class="code-keyword">null</span>; - <span class="code-object">boolean</span> expectBundleDir = <span class="code-keyword">false</span>; - <span class="code-keyword">for</span> (<span class="code-object">int</span> i = 0; i < args.length; i++) - { - <span class="code-keyword">if</span> (args[i].equals(BUNDLE_DIR_SWITCH)) - { - expectBundleDir = <span class="code-keyword">true</span>; - } - <span class="code-keyword">else</span> <span class="code-keyword">if</span> (expectBundleDir) - { - bundleDir = args[i]; - expectBundleDir = <span class="code-keyword">false</span>; - } - <span class="code-keyword">else</span> - { - cacheDir = args[i]; - } - } - - <span class="code-keyword">if</span> ((args.length > 3) || (expectBundleDir && bundleDir == <span class="code-keyword">null</span>)) - { - <span class="code-object">System</span>.out.println(<span class="code-quote">"Usage: [-b <bundle-deploy-dir>] [<bundle-cache-dir>]"</span>); - <span class="code-object">System</span>.exit(0); - } - - <span class="code-comment">// (2) Load system properties. -</span> Main.loadSystemProperties(); - - <span class="code-comment">// (3) Read configuration properties. -</span> Properties configProps = Main.loadConfigProperties(); - <span class="code-keyword">if</span> (configProps == <span class="code-keyword">null</span>) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"No "</span> + CONFIG_PROPERTIES_FILE_VALUE + <span class="code-quote">" found."</span>); - configProps = <span class="code-keyword">new</span> Properties(); - } - - <span class="code-comment">// (4) Copy framework properties from the system properties. -</span> Main.copySystemProperties(configProps); - - <span class="code-comment">// (5) Use the specified auto-deploy directory over <span class="code-keyword">default</span>. -</span> <span class="code-keyword">if</span> (bundleDir != <span class="code-keyword">null</span>) - { - configProps.setProperty(AutoProcessor.AUTO_DEPLOY_DIR_PROPERY, bundleDir); - } - - <span class="code-comment">// (6) Use the specified bundle cache directory over <span class="code-keyword">default</span>. -</span> <span class="code-keyword">if</span> (cacheDir != <span class="code-keyword">null</span>) - { - configProps.setProperty(Constants.FRAMEWORK_STORAGE, cacheDir); - } - - <span class="code-comment">// (7) Add a shutdown hook to clean stop the framework. -</span> <span class="code-object">String</span> enableHook = configProps.getProperty(SHUTDOWN_HOOK_PROP); - <span class="code-keyword">if</span> ((enableHook == <span class="code-keyword">null</span>) || !enableHook.equalsIgnoreCase(<span class="code-quote">"<span class="code-keyword">false</span>"</span>)) - { - <span class="code-object">Runtime</span>.getRuntime().addShutdownHook(<span class="code-keyword">new</span> <span class="code-object">Thread</span>(<span class="code-quote">"Felix Shutdown Hook"</span>) { - <span class="code-keyword">public</span> void run() - { - <span class="code-keyword">try</span> - { - <span class="code-keyword">if</span> (m_fwk != <span class="code-keyword">null</span>) - { - m_fwk.stop(); - m_fwk.waitForStop(0); - } - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Error stopping framework: "</span> + ex); - } - } - }); - } - - <span class="code-keyword">try</span> - { - <span class="code-comment">// (8) Create an instance and initialize the framework. -</span> FrameworkFactory factory = getFrameworkFactory(); - m_fwk = factory.newFramework(configProps); - m_fwk.init(); - <span class="code-comment">// (9) Use the system bundle context to process the auto-deploy -</span> <span class="code-comment">// and auto-install/auto-start properties. -</span> AutoProcessor.process(configProps, m_fwk.getBundleContext()); - <span class="code-comment">// (10) Start the framework. -</span> m_fwk.start(); - <span class="code-comment">// (11) Wait <span class="code-keyword">for</span> framework to stop to exit the VM. -</span> m_fwk.waitForStop(0); - <span class="code-object">System</span>.exit(0); - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Could not create framework: "</span> + ex); - ex.printStackTrace(); - <span class="code-object">System</span>.exit(0); - } -} -</pre> -</div></div> - -<p>The general steps of the standard launcher are quite straightforward:</p> - -<ol> - <li>The launcher supports setting the auto-deploy directory (with the <tt>-b</tt> -switch) and setting the bundle cache path with a single argument, so -check for this and issue a usage message it there are more than one -arguments.</li> - <li>Load any system properties specified in the <tt>system.properties</tt> file; this file is typically located in the <tt>conf/</tt> directory of the Felix installation directory, but it can be specified directly using the <tt>felix.system.properties</tt> -system property. This file is not needed to launch Felix and is -provided merely for convenience when system properties must be -specified. The file is a standard Java properties file, but it also -supports property substitution using <tt>${<property-name</tt>} syntax. Property substitution can be nested; only system properties will be used for substitution.</li> - <li>Load any configuration properties specified in the <tt>config.properties</tt> file; this file is typically located in the <tt>conf/</tt> directory of the Felix installation directory, but it can be specified directly using the <tt>felix.config.properties</tt> -system property. This file is used to configure the framework instance -created by the launcher. The file is a standard Java properties file, -but it also supports property substitution using "<tt>${<property-name></tt>}" -syntax. Property substitution can be nested; configuration and system -properties will be used for substitution with configuration properties -having precedence.</li> - <li>For convenience, any configuration -properties that are set as system properties are copied into the set of -configuration properties. This provide an easy way to add to or -override configuration properties specified in the <tt>config.properties</tt> file, since the Felix instance will never look at system properties for configuration.</li> - <li>If the <tt>-b</tt> switch was used to specify an auto-deploy directory, then use that to set the value of <tt>felix.auto.deploy.dir</tt>.</li> - <li>If a single command-line argument is specified, then use that to set the value of <tt>org.osgi.framework.storage</tt>; relative paths are relative to the current directory unless the <tt>felix.cache.rootdir</tt> property is set.</li> - <li>Add a shutdown hook to cleanly stop the framework, unless the hook is disabled.</li> - <li>Create a framework instance using the <tt>FrameworkFactory</tt> passing in the configuration properties, then initialize the factory instance; see the <a href="#ApacheFelixFrameworkLaunchingandEmbedding-customlauncher">custom launcher example</a> below to see how the META-INF/services <tt>FrameworkFactory</tt> is obtained.</li> - <li>Use <tt>org.apache.felix.main.AutoProcessor</tt>, which will automatically deploy any bundles in the auto-deploy directory as well as bundles specified in the <tt>felix.auto.install</tt> and <tt>felix.auto.start</tt> -configuration properties during framework startup to automatically -install and/or start bundles; see the usage document for more -information <a href="http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-configuringframework">configuration properties</a> and <a href="http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-autodeploy">bundle auto-deploy</a>.</li> - <li>Invoke <tt>waitForStop()</tt> to wait for the framework to stop to force the VM to exit; this is necessary because the framework never calls <tt>System.exit()</tt> and some libraries (e.g., Swing) create threads that will not allow the VM to exit.</li> -</ol> - - -<p>The framework is not active until the <tt>start()</tt> method is -called. If no shell bundles are installed and started or if there is -difficulty locating the shell bundles specified in the auto-start -property, then it will appear as if the framework is hung, but it is -actually running without any way to interact with it since the shell -bundles provide the only means of interaction.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-customlauncher"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-CustomFrameworkLauncher"></a>Custom Framework Launcher</h2> - -<p>This section creates a bare-bones launcher to demonstrate the -minimum requirements for creating an interactive launcher for the Felix -framework. This example uses the standard Gogo shell bundles for -interactivity, but any other bundles could be used instead. This -example launcher project has the following directory structure:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>launcher/ - lib/ - org.apache.felix.main-3.0.0.jar - bundle/ - org.apache.felix.gogo.command-0.6.0.jar - org.apache.felix.gogo.runtime-0.6.0.jar - org.apache.felix.gogo.shell-0.6.0.jar - src/ - example/ - Main.java -</pre> -</div></div> - -<p>The <tt>lib/</tt> directory contains Felix' main JAR file, which -also contains the OSGi core interfaces. The main JAR file is used so -that we can reuse the default launcher's auto-install/auto-start -configuration property handling; if these capabilities are not needed, -then it would be possible to use the framework JAR file instead of the -main JAR file. The <tt>bundle/</tt> directory contains the shell -service and textual shell interface bundles that will be used for -interacting with the framework instance. Note: If you do not launch the -framework with interactive bundles, it will appear as if the framework -instance is hung, but it is actually just sitting there waiting for -someone to tell it to do something. The <tt>src/example/</tt> directory contains the following <tt>Main.java</tt> file, which is a very simplistic framework launcher.</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> example; - -<span class="code-keyword">import</span> java.io.*; -<span class="code-keyword">import</span> org.osgi.framework.launch.*; -<span class="code-keyword">import</span> org.apache.felix.main.AutoProcessor; - -<span class="code-keyword">public</span> class Main -{ - <span class="code-keyword">private</span> <span class="code-keyword">static</span> Framework m_fwk = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> <span class="code-keyword">static</span> void main(<span class="code-object">String</span>[] argv) <span class="code-keyword">throws</span> Exception - { - <span class="code-comment">// Print welcome banner. -</span> <span class="code-object">System</span>.out.println(<span class="code-quote">"\nWelcome to My Launcher"</span>); - <span class="code-object">System</span>.out.println(<span class="code-quote">"======================\n"</span>); - - <span class="code-keyword">try</span> - { - m_fwk = getFrameworkFactory().newFramework(<span class="code-keyword">null</span>); - m_fwk.init() - AutoProcessor.process(<span class="code-keyword">null</span>, m_fwk.getBundleContext()); - m_fwk.start(); - m_fwk.waitForStop(0); - <span class="code-object">System</span>.exit(0); - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Could not create framework: "</span> + ex); - ex.printStackTrace(); - <span class="code-object">System</span>.exit(-1); - } - } - - <span class="code-keyword">private</span> <span class="code-keyword">static</span> FrameworkFactory getFrameworkFactory() <span class="code-keyword">throws</span> Exception - { - URL url = Main.class.getClassLoader().getResource( - <span class="code-quote">"META-INF/services/org.osgi.framework.launch.FrameworkFactory"</span>); - <span class="code-keyword">if</span> (url != <span class="code-keyword">null</span>) - { - BufferedReader br = <span class="code-keyword">new</span> BufferedReader(<span class="code-keyword">new</span> InputStreamReader(url.openStream())); - <span class="code-keyword">try</span> - { - <span class="code-keyword">for</span> (<span class="code-object">String</span> s = br.readLine(); s != <span class="code-keyword">null</span>; s = br.readLine()) - { - s = s.trim(); - <span class="code-comment">// Try to load first non-empty, non-commented line. -</span> <span class="code-keyword">if</span> ((s.length() > 0) && (s.charAt(0) != '#')) - { - <span class="code-keyword">return</span> (FrameworkFactory) <span class="code-object">Class</span>.forName(s).newInstance(); - } - } - } - <span class="code-keyword">finally</span> - { - <span class="code-keyword">if</span> (br != <span class="code-keyword">null</span>) br.close(); - } - } - - <span class="code-keyword">throw</span> <span class="code-keyword">new</span> Exception(<span class="code-quote">"Could not find framework factory."</span>); - } -} -</pre> -</div></div> - -<p>This launcher relies on the default behavior of <tt>AutoProcessor</tt> -to automatically deploy the shell bundles. This simple, generic -launcher provides a good starting point if the default Felix launcher -is not sufficient. Since very few configuration properties are -specified, the default values are used. For the bundle auto-deploy -directory, "<tt>bundle</tt>" in the current directory is used, while for the framework bundle cache, "<tt>felix-cache</tt>" in the current directory is used.</p> - -<p>By breaking down the above source code into small chunks, it is quite easy to see what is going on.</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"> m_fwk = getFrameworkFactory().newFramework(<span class="code-keyword">null</span>); - m_fwk.init() -</pre> -</div></div> - -<p>These steps get a the framework factory service and use it to create -a framework instance with a default configuration. Once the framework -instance is created, it is initialized with <tt>init()</tt>.</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"> AutoProcessor.process(<span class="code-keyword">null</span>, m_fwk.getBundleContext()); -</pre> -</div></div> - -<p>The <tt>AutorProcessor</tt> will automatically deploy bundles in the -auto-deploy directory and any referenced from the auto-install/start -properties. Since we are using an empty configuration, the auto-deploy -directory is the <tt>bundle</tt> directory in the current directory -and there are no auto properties. Therefore, in this case, the shell -bundles will be installed.</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"> m_fwk.start(); - m_fwk.waitForStop(0); - <span class="code-object">System</span>.exit(0); -</pre> -</div></div> - -<p>These final steps start the framework and cause the launching -application thread to wait for the framework to stop and when it does -the launching thread calls <tt>System.exit()</tt> to make sure the VM actually exits.</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"> <span class="code-keyword">private</span> <span class="code-keyword">static</span> FrameworkFactory getFrameworkFactory() <span class="code-keyword">throws</span> Exception - { - ... - } -</pre> -</div></div> - -<p>This method retrieves the framework factory service by doing a -META-INF/services resource lookup, which it can use to obtain the -concrete class name for the factory. If you are using Java 6, then you -can use the <tt>ServiceLoader</tt> API in the JRE to further simplify the factory service lookup.</p> - -<p>The following command compiles the launcher when run from the root directory of the launcher project:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>javac -d . -classpath lib/org.apache.felix.main-3.0.0.jar src/example/Main.java -</pre> -</div></div> - -<p>After executing this command, an <tt>example/</tt> directory is -created in the current directory, which contains the generated class -file. The following command executes the simple launcher when run from -the root directory of the launcher project:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>java -cp .:lib/org.apache.felix.main-3.0.0.jar example.Main -</pre> -</div></div> - -<p>After executing this command, a "<tt>felix-cache/</tt>" directory is created that contains the cached bundles, which were installed from the <tt>bundle/</tt> directory.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-embedding"></a></p> - -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-EmbeddingtheFelixFramework"></a>Embedding the Felix Framework</h1> - -<p>Embedding the Felix framework into a host application is a simple -way to provide a sophisticated extensibility mechanism (i.e., a plugin -system) to the host application. Embedding the Felix framework is very -similar to launching it as described above, the main difference is that -the host application typically wants to interact with the framework -instance and/or installed bundles/services from the outside. This is -fairly easy to achieve, but there are some subtle issues to understand. -This section presents the mechanisms for embedding Felix into a host -application and the issues in doing so.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-hostinteraction"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-Host/FelixInteraction"></a>Host/Felix Interaction</h2> - -<p>In the section on <a href="#ApacheFelixFrameworkLaunchingandEmbedding-launching">launching</a> the framework above, the <tt>Felix</tt> class accepts a configuration property called <tt>felix.systembundle.activators</tt>, -which is a list of bundle activator instances. These bundle activator -instances provide a convenient way for host applications to interact -with the Felix framework.</p> - -<div class="panelMacro"><table class="warningMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="apache-felix-framework-launching-and-embedding_files/forbidden.gif" alt="" align="absmiddle" border="0" height="16" width="16"></td><td><b>WARNING</b><br>The <tt>felix.systembundle.activators</tt> -configuration property is specific to the Felix framework -implementation. If you want your code to work with other framework -implementations, you should call <tt>init()</tt> on the framework instance and use <tt>getBundleContext()</tt> directly. Otherwise, the approach would be very similar.</td></tr></tbody></table></div> - -<p>Each activator instance passed into the constructor effectively becomes part of the system bundle. This means that the <tt>start()</tt>/<tt>stop()</tt> methods of each activator instance in the list gets invoked when the system bundle's activator <tt>start()</tt>/<tt>stop()</tt> methods gets invoked, respectively. Each activator instance will be given the system bundle's <tt>BundleContext</tt> object so that they can interact with the framework. Consider following snippet of a bundle activator:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> class HostActivator <span class="code-keyword">implements</span> BundleActivator -{ - <span class="code-keyword">private</span> BundleContext m_context = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> void start(BundleContext context) - { - m_context = context; - } - - <span class="code-keyword">public</span> void stop(BundleContext context) - { - m_context = <span class="code-keyword">null</span>; - } - - <span class="code-keyword">public</span> Bundle[] getBundles() - { - <span class="code-keyword">if</span> (m_context != <span class="code-keyword">null</span>) - { - <span class="code-keyword">return</span> m_context.getBundles(); - } - <span class="code-keyword">return</span> <span class="code-keyword">null</span>; - } -} -</pre> -</div></div> - -<p>Given the above bundle activator, it is now possible to embed the -Felix framework into a host application and interact with it as the -following snippet illustrates:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> class HostApplication -{ - <span class="code-keyword">private</span> HostActivator m_activator = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> Felix m_felix = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> HostApplication() - { - <span class="code-comment">// Create a configuration property map. -</span> Map config = <span class="code-keyword">new</span> HashMap(); - <span class="code-comment">// Create host activator; -</span> m_activator = <span class="code-keyword">new</span> HostActivator(); - List list = <span class="code-keyword">new</span> ArrayList(); - list.add(m_activator); - configMap.put(FelixConstants.SYSTEMBUNDLE_ACTIVATORS_PROP, list); - - <span class="code-keyword">try</span> - { - <span class="code-comment">// Now create an instance of the framework with -</span> <span class="code-comment">// our configuration properties. -</span> m_felix = <span class="code-keyword">new</span> Felix(config); - <span class="code-comment">// Now start Felix instance. -</span> m_felix.start(); - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Could not create framework: "</span> + ex); - ex.printStackTrace(); - } - } - - <span class="code-keyword">public</span> Bundle[] getInstalledBundles() - { - <span class="code-comment">// Use the system bundle activator to gain external -</span> <span class="code-comment">// access to the set of installed bundles. -</span> <span class="code-keyword">return</span> m_activator.getBundles(); - } - - <span class="code-keyword">public</span> void shutdownApplication() - { - <span class="code-comment">// Shut down the felix framework when stopping the -</span> <span class="code-comment">// host application. -</span> m_felix.stop(); - m_felix.waitForStop(0); - } -} -</pre> -</div></div> - -<p>Notice how the <tt>HostApplication.getInstalledBundles()</tt> method -uses its activator instance to get access to the system bundle's -context in order to interact with the embedded Felix framework -instance. This approach provides the foundation for all interaction -between the host application and the embedded framework instance.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-hostservices"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-ProvidingHostApplicationServices"></a>Providing Host Application Services</h2> - -<p>Providing services from the host application to bundles inside the -embedded Felix framework instance follows the basic approach laid out -in <a href="#ApacheFelixFrameworkLaunchingandEmbedding-hostinteraction">above</a>. -The main complication for providing a host application service to -bundles is the fact that both the host application and the bundles must -be using the same class definitions for the service interface classes. -Since the host application cannot import classes from a bundle, this -means that the service interface classes <b>must</b> be accessible on -the class path, typically as part of the host application itself. The -host application then must export the service interface package via the -system bundle so that bundles installed into the embedded framework -instance can import it. This is achieved using the <tt>org.osgi.framework.system.packages.extra</tt> configuration property previously presented.</p> - -<p>Consider the follow simple property lookup service:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.service.lookup; - -<span class="code-keyword">public</span> <span class="code-keyword">interface</span> Lookup -{ - <span class="code-keyword">public</span> <span class="code-object">Object</span> lookup(<span class="code-object">String</span> name); -} -</pre> -</div></div> - -<p>This package is simply part of the host application, which is potentially packaged into a JAR file and started with the "<tt>java -jar</tt>" -command. Now consider the following host application bundle activator, -which will be used to register/unregister the property lookup service -when the embedded framework instance starts/stops:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.core; - -<span class="code-keyword">import</span> java.util.Map; -<span class="code-keyword">import</span> org.osgi.framework.BundleActivator; -<span class="code-keyword">import</span> org.osgi.framework.BundleContext; -<span class="code-keyword">import</span> org.osgi.framework.ServiceRegistration; -<span class="code-keyword">import</span> host.service.lookup; - -<span class="code-keyword">public</span> class HostActivator <span class="code-keyword">implements</span> BundleActivator -{ - <span class="code-keyword">private</span> Map m_lookupMap = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> BundleContext m_context = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> ServiceRegistration m_registration = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> HostActivator(Map lookupMap) - { - <span class="code-comment">// Save a reference to the service's backing store. -</span> m_lookupMap = lookupMap; - } - - <span class="code-keyword">public</span> void start(BundleContext context) - { - <span class="code-comment">// Save a reference to the bundle context. -</span> m_context = context; - <span class="code-comment">// Create a property lookup service implementation. -</span> Lookup lookup = <span class="code-keyword">new</span> Lookup() { - <span class="code-keyword">public</span> <span class="code-object">Object</span> lookup(<span class="code-object">String</span> name) - { - <span class="code-keyword">return</span> m_lookupMap.get(name); - } - }; - <span class="code-comment">// Register the property lookup service and save -</span> <span class="code-comment">// the service registration. -</span> m_registration = m_context.registerService( - Lookup.class.getName(), lookup, <span class="code-keyword">null</span>); - } - - <span class="code-keyword">public</span> void stop(BundleContext context) - { - <span class="code-comment">// Unregister the property lookup service. -</span> m_registration.unregister(); - m_context = <span class="code-keyword">null</span>; - } -} -</pre> -</div></div> - -<p>Given the above host application bundle activator, the following -code snippet shows how the host application could create an embedded -version of the Felix framework and provide the property lookup service -to installed bundles:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.core; - -<span class="code-keyword">import</span> java.util.List; -<span class="code-keyword">import</span> java.util.ArrayList; -<span class="code-keyword">import</span> java.util.Map; -<span class="code-keyword">import</span> java.util.HashMap; -<span class="code-keyword">import</span> host.service.lookup.Lookup; -<span class="code-keyword">import</span> org.apache.felix.framework.Felix; -<span class="code-keyword">import</span> org.apache.felix.framework.util.FelixConstants; -<span class="code-keyword">import</span> org.osgi.framework.Constants; - -<span class="code-keyword">public</span> class HostApplication -{ - <span class="code-keyword">private</span> HostActivator m_activator = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> Felix m_felix = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> Map m_lookupMap = <span class="code-keyword">new</span> HashMap(); - - <span class="code-keyword">public</span> HostApplication() - { - <span class="code-comment">// Initialize the map <span class="code-keyword">for</span> the property lookup service. -</span> m_lookupMap.put(<span class="code-quote">"name1"</span>, <span class="code-quote">"value1"</span>); - - m_lookupMap.put(<span class="code-quote">"name2"</span>, <span class="code-quote">"value2"</span>); - m_lookupMap.put(<span class="code-quote">"name3"</span>, <span class="code-quote">"value3"</span>); - m_lookupMap.put(<span class="code-quote">"name4"</span>, <span class="code-quote">"value4"</span>); - - <span class="code-comment">// Create a configuration property map. -</span> Map configMap = <span class="code-keyword">new</span> HashMap(); - <span class="code-comment">// Export the host provided service <span class="code-keyword">interface</span> <span class="code-keyword">package</span>. -</span> configMap.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, - <span class="code-quote">"host.service.lookup; version=1.0.0"</span>); - <span class="code-comment">// Create host activator; -</span> m_activator = <span class="code-keyword">new</span> HostActivator(m_lookupMap); - List list = <span class="code-keyword">new</span> ArrayList(); - list.add(m_activator); - configMap.put(FelixConstants.SYSTEMBUNDLE_ACTIVATORS_PROP, list); - - <span class="code-keyword">try</span> - { - <span class="code-comment">// Now create an instance of the framework with -</span> <span class="code-comment">// our configuration properties. -</span> m_felix = <span class="code-keyword">new</span> Felix(configMap); - <span class="code-comment">// Now start Felix instance. -</span> m_felix.start(); - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Could not create framework: "</span> + ex); - ex.printStackTrace(); - } - } - - <span class="code-keyword">public</span> void shutdownApplication() - { - <span class="code-comment">// Shut down the felix framework when stopping the -</span> <span class="code-comment">// host application. -</span> m_felix.stop(); - m_felix.waitForStop(0); - } -} -</pre> -</div></div> - -<p>Rather than having the host application bundle activator register -the service, it is also possible for the the host application to simply -get the bundle context from the bundle activator and register the -service directly, but the presented approach is perhaps a little -cleaner since it allows the host application to register/unregister the -service when the system bundle starts/stops.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-hostserviceusage"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-UsingServicesProvidedbyBundles"></a>Using Services Provided by Bundles</h2> - -<p>Using services provided by bundles follows the same general approach -of using a host application bundle activator. The main complication for -the host application using a service from a bundle is the fact that -both the host application and the bundle must be using the same class -definitions for the service interface classes. Since the host -application cannot import classes from a bundle, this means that the -service interface classes <b>must</b> be accessible on the class path, -typically as part of the host application itself. The host application -then must export the service interface package via the system bundle so -that bundles installed into the embedded framework instance can import -it. This is achieved using the <tt>org.osgi.framework.system.packages.extra</tt> configuration property previously presented.</p> - -<p>Consider the following simple command service interface for which -bundles provide implementations, such as might be used to create an -extensible interactive shell:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.service.command; - -<span class="code-keyword">public</span> class Command -{ - <span class="code-keyword">public</span> <span class="code-object">String</span> getName(); - <span class="code-keyword">public</span> <span class="code-object">String</span> getDescription(); - <span class="code-keyword">public</span> <span class="code-object">boolean</span> execute(<span class="code-object">String</span> commandline); -} -</pre> -</div></div> - -<p>This package is simply part of the host application, which is potentially packaged into a JAR file and started with the "<tt>java -jar</tt>" -command. Now consider the previously introduced host application bundle -activator below, which simply provides access to the system bundle -context:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.core; - -<span class="code-keyword">import</span> org.osgi.framework.BundleActivator; -<span class="code-keyword">import</span> org.osgi.framework.BundleContext; - -<span class="code-keyword">public</span> class HostActivator <span class="code-keyword">implements</span> BundleActivator -{ - <span class="code-keyword">private</span> BundleContext m_context = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> void start(BundleContext context) - { - m_context = context; - } - - <span class="code-keyword">public</span> void stop(BundleContext context) - { - m_context = <span class="code-keyword">null</span>; - } - - <span class="code-keyword">public</span> BundleContext getContext() - { - <span class="code-keyword">return</span> m_context; - } -} -</pre> -</div></div> - -<p>With this bundle activator, the host application can use command -services provided by bundles installed inside its embedded Felix -framework instance. The following code snippet illustrates one possible -approach:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">package</span> host.core; - -<span class="code-keyword">import</span> java.util.List; -<span class="code-keyword">import</span> java.util.ArrayList; -<span class="code-keyword">import</span> java.util.Map; -<span class="code-keyword">import</span> host.service.command.Command; -<span class="code-keyword">import</span> org.apache.felix.framework.Felix; -<span class="code-keyword">import</span> org.apache.felix.framework.util.FelixConstants; -<span class="code-keyword">import</span> org.apache.felix.framework.cache.BundleCache; -<span class="code-keyword">import</span> org.osgi.framework.Constants; -<span class="code-keyword">import</span> org.osgi.util.tracker.ServiceTracker; - -<span class="code-keyword">public</span> class HostApplication -{ - <span class="code-keyword">private</span> HostActivator m_activator = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> Felix m_felix = <span class="code-keyword">null</span>; - <span class="code-keyword">private</span> ServiceTracker m_tracker = <span class="code-keyword">null</span>; - - <span class="code-keyword">public</span> HostApplication() - { - <span class="code-comment">// Create a configuration property map. -</span> Map configMap = <span class="code-keyword">new</span> HashMap(); - <span class="code-comment">// Export the host provided service <span class="code-keyword">interface</span> <span class="code-keyword">package</span>. -</span> configMap.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, - <span class="code-quote">"host.service.command; version=1.0.0"</span>); - <span class="code-comment">// Create host activator; -</span> m_activator = <span class="code-keyword">new</span> HostActivator(); - List list = <span class="code-keyword">new</span> ArrayList(); - list.add(m_activator); - configMap.put(FelixConstants.SYSTEMBUNDLE_ACTIVATORS_PROP, list); - - <span class="code-keyword">try</span> - { - <span class="code-comment">// Now create an instance of the framework with -</span> <span class="code-comment">// our configuration properties. -</span> m_felix = <span class="code-keyword">new</span> Felix(configMap); - <span class="code-comment">// Now start Felix instance. -</span> m_felix.start(); - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-object">System</span>.err.println(<span class="code-quote">"Could not create framework: "</span> + ex); - ex.printStackTrace(); - } - - m_tracker = <span class="code-keyword">new</span> ServiceTracker( - m_activator.getContext(), Command.class.getName(), <span class="code-keyword">null</span>); - m_tracker.open(); - } - - <span class="code-keyword">public</span> <span class="code-object">boolean</span> execute(<span class="code-object">String</span> name, <span class="code-object">String</span> commandline) - { - <span class="code-comment">// See <span class="code-keyword">if</span> any of the currently tracked command services -</span> <span class="code-comment">// match the specified command name, <span class="code-keyword">if</span> so then execute it. -</span> <span class="code-object">Object</span>[] services = m_tracker.getServices(); - <span class="code-keyword">for</span> (<span class="code-object">int</span> i = 0; (services != <span class="code-keyword">null</span>) && (i < services.length); i++) - { - <span class="code-keyword">try</span> - { - <span class="code-keyword">if</span> (((Command) services[i]).getName().equals(name)) - { - <span class="code-keyword">return</span> ((Command) services[i]).execute(commandline); - } - } - <span class="code-keyword">catch</span> (Exception ex) - { - <span class="code-comment">// Since the services returned by the tracker could become -</span> <span class="code-comment">// invalid at any moment, we will <span class="code-keyword">catch</span> all exceptions, log -</span> <span class="code-comment">// a message, and then ignore faulty services. -</span> <span class="code-object">System</span>.err.println(ex); - } - } - <span class="code-keyword">return</span> <span class="code-keyword">false</span>; - } - - <span class="code-keyword">public</span> void shutdownApplication() - { - <span class="code-comment">// Shut down the felix framework when stopping the -</span> <span class="code-comment">// host application. -</span> m_felix.stop(); - m_felix.waitForStop(0); - } -} -</pre> -</div></div> - -<p>The above example is overly simplistic with respect to concurrency -issues and error conditions, but it demonstrates the overall approach -for using bundle-provided services from the host application.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-servicereflection"></a></p> - -<h3><a name="ApacheFelixFrameworkLaunchingandEmbedding-UsingBundleServicesviaReflection"></a>Using Bundle Services via Reflection</h3> - -<p>It possible for the host application to use services provided by -bundles without having access to the service interface classes and thus -not needing to put the service interface classes on the class path. To -do this, the host application uses the same general approach to acquire -the system bundle context object, which it can use to look up service -objects. Using either an LDAP filter or the service interface class -name, the host application can retrieve the service object and then use -standard Java reflection to invoke methods on the service object.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-serviceother"></a></p> - -<h3><a name="ApacheFelixFrameworkLaunchingandEmbedding-OtherApproaches"></a>Other Approaches</h3> - -<p>The <a href="http://code.google.com/p/transloader/" class="external-link" rel="nofollow">Transloader</a> project is another attempt at dealing with issues of classes loaded from different class loaders and may be of interest.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-caveat"></a></p> - -<h1><a name="ApacheFelixFrameworkLaunchingandEmbedding-Caveat"></a>Caveat</h1> - -<p>The code in this document has not been thoroughly tested nor even -compiled and may be out of date with respect to the current Felix -source code. If you find errors please report them so the that they can -be corrected.</p> - -<p><a name="ApacheFelixFrameworkLaunchingandEmbedding-feedback"></a></p> - -<h2><a name="ApacheFelixFrameworkLaunchingandEmbedding-Feedback"></a>Feedback</h2> - -<p>Subscribe to the Felix users mailing list by sending a message to <a href="mailto:users-subscribe@felix.apache.org" class="external-link" rel="nofollow">users-subscribe@felix.apache.org</a>; after subscribing, email questions or feedback to <a href="mailto:users@felix.apache.org" class="external-link" rel="nofollow">users@felix.apache.org</a>.</p> - </div> - </body></html> diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/apache.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/apache.png deleted file mode 100644 index 5132f65ec1546b4b17e679dd0798f806138918c6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/apache.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button.html b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button.html deleted file mode 100644 index 8503c58f645bdbf1cec502277068cb072edb17e3..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button.html +++ /dev/null @@ -1,5 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><!-- ads start --> -</head><body><a href="http://www.us.apachecon.com/" target="_blank"><img src="button_data/2010-na-125x125.png" title="ApacheCon NA 2010" border="0" height="125" width="125"></a> -<!-- ads end --> -</body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2008-usa-125x125.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2008-usa-125x125.png deleted file mode 100644 index 37cca056b089bd43b035254f712cfa9fda1c1ce2..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2008-usa-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-europe-125x125.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-europe-125x125.png deleted file mode 100644 index 654a99c0cb25a63593ce98de423f70d8feea7f9b..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-europe-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-usa-125x125.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-usa-125x125.png deleted file mode 100644 index 117c6954ddf826f02457e7c4ef8b4fb6cf11c10c..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2009-usa-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2010-na-125x125.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2010-na-125x125.png deleted file mode 100644 index 90bd87b263653fd287b9081f0fd0f3807ed35823..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/button_data/2010-na-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/forbidden.gif b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/forbidden.gif deleted file mode 100644 index c6acdec605f39b77941ee483a41240ba7ca73a7a..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/forbidden.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/linkext7.gif b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/linkext7.gif deleted file mode 100644 index f2dd2dcfa9bf3d89b543004a0f0e944ffd58bca7..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/linkext7.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/logo.png b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/logo.png deleted file mode 100644 index dccbddcc35cc1026359f25b7275e8f0a71c3b5a8..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/logo.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/mail_small.gif b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/mail_small.gif deleted file mode 100644 index a3b7d9f06f5cf22eef46cb6bd73a1dcc52be71b0..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/mail_small.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/site.css b/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/site.css deleted file mode 100644 index 959ab0a592d698849640f882313195bde3f1bcb9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-launching-and-embedding_files/site.css +++ /dev/null @@ -1,25 +0,0 @@ -/* @override http://felix.apache.org/site/media.data/site.css */ - -body { background-color: #ffffff; color: #3b3b3b; font-family: Tahoma, Arial, sans-serif; font-size: 10pt; line-height: 140% } -h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #000000; line-height: 100%; margin-top: 0px} -h1 { font-size: 200% } -h2 { font-size: 175% } -h3 { font-size: 150% } -h4 { font-size: 140% } -h5 { font-size: 130% } -h6 { font-size: 120% } -a { color: #1980af } -a:visited { color: #1980af } -a:hover { color: #1faae9 } -.title { position: absolute; left: 1px; right: 1px; top:25px; height: 81px; background: url(http://felix.apache.org/site/media.data/gradient.png) repeat-x; background-position: bottom; } -.logo { position: absolute; width: 15em; height: 81px; text-align: center; } -.header { text-align: right; margin-right: 20pt; margin-top: 30pt;} -.menu { border-top: 10px solid #f9bb00; position: absolute; top: 107px; left: 1px; width: 15em; bottom: 0px; padding: 0px; background-color: #fcfcfc } -.menu ul { background-color: #fdf5d9; list-style: none; padding-left: 4em; margin-top: 0px; padding-top: 2em; padding-bottom: 2em; margin-left: 0px; color: #4a4a43} -.menu a { text-decoration: none; color: #4a4a43 } -.main { position: absolute; border-top: 10px solid #cde0ea; top: 107px; left: 15em; right: 1px; margin-left: 2px; padding-right: 4em; padding-left: 1em; padding-top: 1em;} -.code { background-color: #eeeeee; border: solid 1px black; padding: 0.5em } -.code-keyword { color: #880000 } -.code-quote { color: #008800 } -.code-object { color: #0000dd } -.code-java { margin: 0em } \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation.html b/TestingEnv/doc/apache-felix-framework-usage-documentation.html deleted file mode 100644 index c10d7d053b653a6355918e62aa21a6e4a95676b9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-usage-documentation.html +++ /dev/null @@ -1,400 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head> - - - - <title>Apache Felix - Apache Felix Framework Usage Documentation</title> - <link rel="stylesheet" href="apache-felix-framework-usage-documentation_files/site.css" type="text/css" media="all"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - </head><body> - <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="apache-felix-framework-usage-documentation_files/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="apache-felix-framework-usage-documentation_files/apache.png" border="0"></a></div></div> - <div class="menu"> -<ul> - <li><a href="http://felix.apache.org/site/news.html" title="news">news</a></li> - <li><a href="http://felix.apache.org/site/license.html" title="license">license</a></li> - <li><a href="http://felix.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">downloads</a></li> - <li><a href="http://felix.apache.org/site/documentation.html" title="documentation">documentation</a></li> - <li><a href="http://felix.apache.org/site/mailinglists.html" title="mailinglists">mailing lists</a></li> - <li><a href="http://felix.apache.org/site/contributing.html" title="Contributing">contributing</a></li> - <li><a href="http://www.apache.org/" class="external-link" rel="nofollow">asf</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">sponsorship</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">sponsors</a> -<!-- ApacheCon Ad --> -<iframe src="apache-felix-framework-usage-documentation_files/button.html" style="border-width: 0pt; float: left;" frameborder="0" height="135" scrolling="no" width="135"></iframe> -<p style="height: 100px;"> -<!-- ApacheCon Ad --> -</p></li></ul> - </div> - <div class="main"> -<h1><a name="ApacheFelixFrameworkUsageDocumentation-ApacheFelixFrameworkUsageDocumentation"></a>Apache Felix Framework Usage Documentation</h1> - -<ul> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-downloadingframework">Downloading the Framework</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-startingframework">Starting the Framework</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-frameworkshell">Framework Shell</a> - <ul> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-installingbundles">Installing Bundles</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-installingbundlesproxies">Web Proxy Issues when Installing Bundles</a></li> - </ul> - </li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-autodeploy">Bundle Auto-Deploy</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-configuringframework">Configuring the Framework</a> - <ul> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-migrating">Migrating from Earlier Versions</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-propertysubstitution">System Property Substitution</a></li> - </ul> - </li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-configuringbundles">Configuring Bundles</a></li> - <li><a href="#ApacheFelixFrameworkUsageDocumentation-feedback">Feedback</a></li> -</ul> - - -<p><a name="ApacheFelixFrameworkUsageDocumentation-downloadingframework"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-DownloadingtheFramework"></a>Downloading the Framework</h2> - -<p>Go to the <a href="http://felix.apache.org/site/downloads.html" title="downloads">downloads</a> page and download the latest Felix framework distribution.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-startingframework"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-StartingtheFramework"></a>Starting the Framework</h2> - -<p>Start the framework from the installation directory by typing:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>java -jar bin/felix.jar -</pre> -</div></div> - -<p>The framework launcher starts the framework and installs and starts all bundles contained in the <tt>bundle</tt> -directory of the current directory. By default, the bundle directory -contains shell-related bundles providing a textual user interface to -interact with the framework. Bundles installed into the framework are -copied into a bundle cache directory for subsequent executions. By -default, the framework creates a cache directory, called <tt>felix-cache</tt>, -in your current working directory. If you want to start the framework -using a different bundle cache directory, you can do so like this:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>java -jar bin/felix.jar <cache-path> -</pre> -</div></div> - -<p>Where <tt><cache-path></tt> is the path you want to use as the -bundle cache. If you specify a relative cache path, then it will be -treated as relative to the current working directory.</p> - -<div class="panelMacro"><table class="infoMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="apache-felix-framework-usage-documentation_files/information.gif" alt="" align="absmiddle" border="0" height="16" width="16"></td><td><b>Useful Information</b><br>Previous -versions of the framework prompted for a profile name when executed. -The profile name was used to create a directory inside <tt>.felix/</tt> -in the user home directory. This approach allowed users to have -different sets of bundles for different purposes, e.g., testing, -production, etc. If this behavior is still desired, it is very easy to -mimic. Modify <tt>conf/config.properties</tt> to include "<tt>felix.cache.rootdir=${user.home}/.felix</tt>". Now, if you start Felix with something like "<tt>java -jar bin/felix.jar foo</tt>", it will use "<tt>${user.home}/.felix/foo/</tt>" as the bundle cache directory, where "<tt>${user.home</tt>}" is automatically substituted with the appropriate system property by the launcher.</td></tr></tbody></table></div> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-frameworkshell"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-FrameworkShell"></a>Framework Shell</h2> - -<p>The main way to interact with the framework is via the supplied Apache Felix Gogo shell. After starting the framework, type <tt>help</tt> into the shell to see the list of the available commands and <tt>help <command-name></tt> to get help for a specific command.</p> - -<div class="panelMacro"><table class="infoMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="apache-felix-framework-usage-documentation_files/information.gif" alt="" align="absmiddle" border="0" height="16" width="16"></td><td><b>Useful Information</b><br>In Gogo, command names are made up of two parts: <tt><scope>:<name></tt>. This is similar to a fully qualified class name in Java and is used to avoid naming collisions. If the <tt><name></tt> portion of the command is unique, then you only need to type it. If not, then you must either type the full <tt><scope>:<name></tt> or arrange the scope search path accordingly.</td></tr></tbody></table></div> - -<p>To install bundles, use the <tt>felix:install</tt> command, which is described in more detail in the next <a href="#ApacheFelixFrameworkUsageDocumentation-installingbundles">sub-section</a>. To list installed bundles, use the <tt>felix:lb</tt> command. To stop the framework type <tt>stop 0</tt> -to stop the System Bundle; any installed bundles will automatically be -reloaded (and potentially restarted) the next time you launch with the -associated cache.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-installingbundles"></a></p> - -<h3><a name="ApacheFelixFrameworkUsageDocumentation-InstallingBundles"></a>Installing Bundles</h3> - -<p>A bundle is the OSGi term for a component for the OSGi framework. A -bundle is simply a JAR file containing a manifest and some combination -of Java classes, embedded JAR files, native code, and resources. A -bundle may provide some specific functionality for the user or it may -implement a service that other bundles can use; bundles can only use -functionality from other bundles through shared services and packages.</p> - -<p>The Felix framework distribution comes with three bundles, which are located in the <tt>bundle/</tt> -directory of the framework distribution installation directory. These -bundles include the Gogo Runtime (core command processing -functionality), Gogo Shell (text-based shell user interface), Gogo -Command (basic set of commands), and Bundle Repository (a bundle -repository service). In addition to these bundles, the bundle -repository provides access to other bundles for easy installation. The -bundle repository service provides a set of shell commands in the <tt>obr:*</tt> scope; refer to the <a href="http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html" title="Apache Felix OSGi Bundle Repository">Apache Felix OSGi Bundle Repository</a> for more information.</p> - -<p>Before installing any bundles, it is important to understand how -bundles are manually deployed into the framework. Bundles are deployed -in two stages; first they are installed, then they are started. To -install a bundle use the <tt>felix:install</tt> shell command followed by a bundle URL. For example, to install a <tt>bundle.jar</tt> bundle you type:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>felix:install file:/path/to/bundle/bundle.jar -</pre> -</div></div> - -<p>Once a bundle is installed, it can then be started by using the <tt>felix:start</tt> command and the bundle identifier of the desired bundle. The <tt>felix:lb</tt> -command is used to list installed bundles and to obtain the bundle's -identifier. The following Felix shell session illustrates how to start -the <tt>bundle.jar</tt> bundle:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>g! install file:/path/to/bundle/bundle.jar -g! lb -START LEVEL 1 - ID|State |Level|Name - 0|Active | 0|System Bundle (3.0.0) - 1|Active | 1|Apache Felix Bundle Repository (1.6.2) - 2|Active | 1|Apache Felix Gogo Command (0.6.0) - 3|Active | 1|Apache Felix Gogo Runtime (0.6.0) - 4|Active | 1|Apache Felix Gogo Shell (0.6.0) - 5|Installed | 1|Example Bundle (1.0.0) -g! start 5 -Hello from Bundle 5. -g! -</pre> -</div></div> - -<p>The <tt>felix:stop</tt> command is used to stop a bundle and the <tt>felix:uninstall</tt> command is used to remove a bundle from the bundle cache. As an alternative to using the <tt>felix:install</tt> and <tt>felix:start</tt> commands explicitly, it is also possible to install and start a bundle in one step by using the <tt>felix:start</tt> command with a bundle URL.</p> - -<p>Bundles can be updated using the <tt>felix:update</tt> command. The -update command allows you to specify an URL from which to retrieve the -updated bundle, but if one is not specified it will try to update the -bundle from the bundle's <tt>Bundle-UpdateLocation</tt> manifest attribute, if present, or the bundle's original location URL.</p> - -<div class="panelMacro"><table class="infoMacro"><colgroup><col width="24"><col></colgroup><tbody><tr><td valign="top"><img src="apache-felix-framework-usage-documentation_files/information.gif" alt="" align="absmiddle" border="0" height="16" width="16"></td><td><b>Useful Information</b><br>When you use <tt>felix:update</tt> or <tt>felix:uninstall</tt>, -the changes appear to take effect immediately, but in reality the -changes are only partially enacted. If a bundle is updated or -uninstalled and it was exporting packages, these packages are not -removed until the framework is refreshed using the <tt>PackageAdmin</tt> service. The Felix shell offers a convenient <tt>refresh</tt> command for this purpose. This is the correct behavior as defined by the OSGi specification.</td></tr></tbody></table></div> - -<p>For an introduction to writing bundles and services, refer to the Felix bundle tutorial.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-installingbundlesproxies"></a></p> - -<h3><a name="ApacheFelixFrameworkUsageDocumentation-WebProxyIssueswhenInstallingBundles"></a>Web Proxy Issues when Installing Bundles</h3> - -<p>If you use a proxy for Web access, then you may run into difficulty -using the Gogo shell to install bundles from remote URLs. To remedy -this situation, certain system properties must be set to make the -framework work with your proxy. These properties are:</p> - -<ul> - <li><tt>http.proxyHost</tt> - the name of the proxy host.</li> - <li><tt>http.proxyPort</tt> - the port of the proxy host.</li> - <li><tt>http.proxyAuth</tt> -- the user name and password to use when connecting to the proxy; this -string should be the user name and password separated by a colon (e.g., -<tt>rickhall:mypassword</tt>).</li> -</ul> - - -<p>These system properties can be set directly on the command line when starting the JVM using the standard "<tt>-D<prop>=<value></tt>" syntax or you can put them in the <tt>lib/system.properties</tt> file of your Felix installation; see the next section on <a href="#ApacheFelixFrameworkUsageDocumentation-configuringframework">configuring Felix</a> for more information.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-autodeploy"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-BundleAutoDeploy"></a>Bundle Auto-Deploy</h2> - -<p>To minimize the amount of configuration necessary to install bundles -when you launch the framework, the Felix launcher uses the concept of -an "auto-deploy" directory. The Felix launcher deploys all bundles in -the auto-deploy directory into the framework instance during startup. -By default, the auto-deploy directory is "<tt>bundle</tt>" in the current directory, but it can be specified on the command line like this:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>java -jar bin/felix.jar -b /path/to/dir -</pre> -</div></div> - -<p>Specifying an auto-deploy directory replaces the default directory, -it does not augment it. The framework distribution is configured to -install and start bundles in the auto-deploy directory. Both the -location of the auto-deploy directory and the deployment actions -performed can be controlled by the following configuration properties, -respectively:</p> - -<ul> - <li><tt>felix.auto.deploy.dir</tt> - Specifies the auto-deploy directory from which bundles are automatically deploy at framework startup. The default is the <tt>bundle/</tt> directory of the current directory.</li> - <li><tt>felix.auto.deploy.action</tt> -- Specifies the auto-deploy actions to be performed on the bundle JAR -files found in the auto-deploy directory. The possible actions are <tt>install</tt>, <tt>update</tt>, <tt>start</tt>, and <tt>uninstall</tt>. -If no actions are specified, then the auto-deploy directory is not -processed (i.e., it is disabled). There is no default value for this -property, but the default <tt>config.properties</tt> file installed with the Felix framework distribution sets the value to: <tt>install, start</tt></li> -</ul> - - -<p>The next section describes how to set and use configuration properties.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-configuringframework"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-ConfiguringtheFramework"></a>Configuring the Framework</h2> - -<p>Both the Felix framework and the launcher use configuration -properties to alter their default behavior. The framework can only be -configured by passing properties into its constructor, but the launcher -provides a mechanism to configure the framework via a property file. -The framework launcher reads configuration properties from <tt>conf/config.properties</tt>. This file uses standard Java property file syntax.</p> - -<p>The launcher also supports setting system properties via the <tt>conf/system.properties</tt> -file. This file is purely for convenience when you need to repeatedly -set system properties when running the framework. While the framework -itself does not look at system properties, the launcher does copy any -framework configuration properties found in the system properties into -the framework configuration map, also for your convenience.</p> - -<p>It is possible to specify different locations for these property files using the <tt>felix.config.properties</tt> and <tt>felix.system.properties</tt> system properties when executing the framework. For example:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>java -Dfelix.config.properties=file:/home/rickhall/config.properties -jar bin/felix.jar -</pre> -</div></div> - -<p>Configuration and system properties are accessible at run time via <tt>BundleContext.getProperty()</tt>, but configuration properties override system properties.</p> - -<p>The following configuration properties are for the launcher:</p> - -<ul> - <li><tt>felix.auto.deploy.dir</tt> - Specifies the auto-deploy directory from which bundles are automatically deploy at framework startup. The default is the <tt>bundle/</tt> directory of the current directory.</li> - <li><tt>felix.auto.deploy.action</tt> -- Specifies a comma-delimited list of actions to be performed on bundle -JAR files found in the auto-deploy directory. The possible actions are <tt>install</tt>, <tt>update</tt>, <tt>start</tt>, and <tt>uninstall</tt>. An undefined or blank value is equivalent to disabling auto-deploy processing.</li> - <li><tt>felix.auto.install.<n></tt> - Space-delimited list of bundle URLs to automatically install when Felix is started, where <tt><n></tt> is the start level into which the bundle will be installed (e.g., <tt>felix.auto.install.2</tt>).</li> - <li><tt>felix.auto.start.<n></tt> - Space-delimited list of bundle URLs to automatically install and start when Felix is started, where <tt><n></tt> is the start level into which the bundle will be installed (e.g., <tt>felix.auto.start.2</tt>).</li> - <li><tt>felix.shutdown.hook</tt> -- Specifies whether the launcher should install a shutdown hook to -cleanly shutdown the framework on process exit. The default value is <tt>true</tt>.</li> -</ul> - - -<p>The following configuration properties are for the framework (properties starting with "<tt>felix</tt>" are specific to Felix, while those starting with "<tt>org.osgi</tt>" are standard OSGi properties):</p> - -<ul> - <li><tt>org.osgi.framework.storage</tt> - Sets the directory to use as the bundle cache; by default bundle cache directory is <tt>felix-cache</tt> -in the current working directory. The value should be a valid directory -name. The directory name can be either absolute or relative. Relative -directory names are relative to the current working directory. The -specified directory will be created if it does not exist.</li> - <li><tt>felix.cache.rootdir</tt> - Sets the root directory used to calculate the bundle cache directory for relative directory names. If <tt>org.osgi.framework.storage</tt> -is set to a relative name, by default it is relative to the current -working directory. If this property is set, then it will be calculated -as being relative to the specified root directory.</li> - <li><tt>org.osgi.framework.storage.clean</tt> - Determines whether the bundle cache is flushed. The value can either be "<tt>none</tt>" or "<tt>onFirstInit</tt>", where "<tt>none</tt>" does not flush the bundle cache and "<tt>onFirstInit</tt>" flushes the bundle cache when the framework instance is first initialized. The default value is "<tt>none</tt>".</li> - <li><tt>felix.cache.bufsize</tt> -- Sets the buffer size to be used by the cache; the default value is -4096. The integer value of this string provides control over the size -of the internal buffer of the disk cache for performance reasons.</li> - <li><tt>org.osgi.framework.system.packages</tt> -- Specifies a comma-delimited list of packages that should be exported -via the System Bundle from the framework class loader. The framework -will set this to a reasonable default. If the value is specified, it -replaces any default value.</li> - <li><tt>org.osgi.framework.system.packages.extra</tt> -- Specifies a comma-delimited list of packages that should be exported -via the System Bundle from the framework class loader in addition to -the packages in <tt>org.osgi.framework.system.packages</tt>. The default value is empty. If a value is specified, it is appended to the list of default or specified packages in <tt>org.osgi.framework.system.packages</tt>.</li> - <li><tt>org.osgi.framework.bootdelegation</tt> -- Specifies a comma-delimited list of packages that should be made -implicitly available to all bundles from the parent class loader. It is -recommended not to use this property since it breaks modularity. The -default value is empty.</li> - <li><tt>org.osgi.framework.bundle.parent</tt> - Specifies which class loader is used for boot delegation. Possible values are: <tt>boot</tt> for the boot class loader, <tt>app</tt> for the application class loader, <tt>ext</tt> for the extension class loader, and <tt>framework</tt> for the framework's class loader. The default is <tt>boot</tt>.</li> - <li><tt>felix.bootdelegation.implicit</tt> -- Specifies whether the framework should try to guess when to -implicitly boot delegate to ease integration with external code. The -default value is <tt>true</tt>.</li> - <li><tt>felix.systembundle.activators</tt> - A <tt>List</tt> of <tt>BundleActivator</tt> -instances that are started/stopped when the System Bundle is -started/stopped. The specified instances will receive the System -Bundle's <tt>BundleContext</tt> when invoked. (This property cannot be -set in the configuration file since it requires instances; it can only -be passed into Felix' constructor directly.)</li> - <li><tt>felix.log.logger</tt> - An instance of <tt>Logger</tt> -that the framework uses as its default logger. (This property cannot be -set in the configuration file since it requires an instance; it can -only be passed into Felix' constructor directly.)</li> - <li><tt>felix.log.level</tt> -- An integer value indicating the degree of logging reported by the -framework; the higher the value the more logging is reported. If zero -('0') is specified, then logging is turned off completely. The log -levels match those specified in the OSGi Log Service (i.e., 1 = error, -2 = warning, 3 = information, and 4 = debug). The default value is 1.</li> - <li><tt>org.osgi.framework.startlevel.beginning</tt> - The initial start level of the framework once it starts execution; the default value is 1.</li> - <li><tt>felix.startlevel.bundle</tt> - The default start level for newly installed bundles; the default value is 1.</li> - <li><tt>felix.service.urlhandlers</tt> - Flag to indicate whether to activate the URL Handlers service for the framework instance; the default value is "<tt>true</tt>". Activating the URL Handlers service will result in the <tt>URL.setURLStreamHandlerFactory()</tt> and <tt>URLConnection.setContentHandlerFactory()</tt> being called.</li> -</ul> - - -<p>The Felix framework distribution contains a default <tt>conf/config.properties</tt>.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-migrating"></a></p> - -<h3><a name="ApacheFelixFrameworkUsageDocumentation-MigratingfromEarlierVersions"></a>Migrating from Earlier Versions</h3> - -<p>Apache Felix Framework <tt>2.0.0</tt> introduced some configuration property changes. This section describes the differences from older versions of the framework.</p> - -<ul> - <li><b>Removed</b> - <ul> - <li><tt>felix.embedded.execution</tt> - No longer needed, since the framework now never calls <tt>System.exit()</tt>; the creator of the framework is now always responsible for exiting the VM.</li> - <li><tt>felix.strict.osgi</tt> - No longer needed, since all non-specification features have been removed.</li> - <li><tt>felix.cache.dir</tt> - No longer needed, since Felix no longer uses bundle cache profiles for saving sets of bundles.</li> - <li><tt>felix.cache.profile</tt> - No longer needed, since the framework no longer uses bundle cache profiles for saving sets of bundles.</li> - <li><tt>felix.fragment.validation</tt> - No longer needed, since the framework supports fragments.</li> - </ul> - </li> - <li><b>Renamed</b> - <ul> - <li><tt>felix.cache.profiledir</tt> - The equivalent of this property is now named <tt>org.osgi.framework.storage</tt>.</li> - <li><tt>felix.startlevel.framework</tt> - The equivalent of this property is now named <tt>org.osgi.framework.startlevel.beginning</tt>.</li> - </ul> - </li> - <li><b>Introduced</b> - <ul> - <li><tt>org.osgi.framework.system.packages.extra</tt> - New property, as described above, added to align with standard framework API.</li> - <li><tt>org.osgi.framework.storage.clean</tt> - New property, as described above, added to align with standard framework API.</li> - <li><tt>felix.cache.rootdir</tt> - Introduced as a result of removing bundle profiles to help resolve relative bundle cache directories.</li> - </ul> - </li> -</ul> - - -<p>For the most part, these changes are minor and previous behavior -achieved from older configuration properties is either easily attained -with the new properties or no longer necessary.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-propertysubstitution"></a></p> - -<h3><a name="ApacheFelixFrameworkUsageDocumentation-SystemPropertySubstitution"></a>System Property Substitution</h3> - -<p>It is possible to use system properties to specify the values of properties in the <tt>conf/config.properties</tt> file. This is achieved through system property substitution, which is instigated by using <tt>${<property></tt>} syntax, where <tt><property></tt> -is the name of a system property to substitute. When the properties -file is read, any such property values are substituted as appropriate. -It is possible to have nested system property substitution, in which -case the inner-most property is substituted first, then the next inner -most, until reaching the outer most.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-configuringbundles"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-ConfiguringBundles"></a>Configuring Bundles</h2> - -<p>Some bundles use properties to configure certain aspects of their -behavior. It is a good idea, when implementing bundles, to parameterize -them with properties where appropriate. To learn about the -configuration options for specific bundles, refer to the documentation -that accompanies them.</p> - -<p>Bundle properties may also be defined in the <tt>conf/config.properties</tt> property file. Any property placed in this file will be accessible via <tt>BundleContext.getProperty()</tt> -at run time. The property file uses the standard Java property file -syntax (i.e., attribute-value pairs). For information on changing the -default location of this file, refer to the section on <a href="#ApacheFelixFrameworkUsageDocumentation-configuringframework">configuring Felix</a>.</p> - -<p><a name="ApacheFelixFrameworkUsageDocumentation-feedback"></a></p> - -<h2><a name="ApacheFelixFrameworkUsageDocumentation-Feedback"></a>Feedback</h2> - -<p>Subscribe to the Felix users mailing list by sending a message to <a href="mailto:users-subscribe@felix.apache.org" class="external-link" rel="nofollow">users-subscribe@felix.apache.org</a>; after subscribing, email questions or feedback to <a href="mailto:users@felix.apache.org" class="external-link" rel="nofollow">users@felix.apache.org</a>.</p> - </div> - </body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/apache.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/apache.png deleted file mode 100644 index 5132f65ec1546b4b17e679dd0798f806138918c6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/apache.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button.html b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button.html deleted file mode 100644 index 8503c58f645bdbf1cec502277068cb072edb17e3..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button.html +++ /dev/null @@ -1,5 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><!-- ads start --> -</head><body><a href="http://www.us.apachecon.com/" target="_blank"><img src="button_data/2010-na-125x125.png" title="ApacheCon NA 2010" border="0" height="125" width="125"></a> -<!-- ads end --> -</body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2008-usa-125x125.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2008-usa-125x125.png deleted file mode 100644 index 37cca056b089bd43b035254f712cfa9fda1c1ce2..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2008-usa-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-europe-125x125.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-europe-125x125.png deleted file mode 100644 index 654a99c0cb25a63593ce98de423f70d8feea7f9b..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-europe-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-usa-125x125.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-usa-125x125.png deleted file mode 100644 index 117c6954ddf826f02457e7c4ef8b4fb6cf11c10c..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2009-usa-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2010-na-125x125.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2010-na-125x125.png deleted file mode 100644 index 90bd87b263653fd287b9081f0fd0f3807ed35823..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/button_data/2010-na-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/information.gif b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/information.gif deleted file mode 100644 index 072ab660fa255886e5563be04f5ef2a856003486..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/information.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/linkext7.gif b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/linkext7.gif deleted file mode 100644 index f2dd2dcfa9bf3d89b543004a0f0e944ffd58bca7..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/linkext7.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/logo.png b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/logo.png deleted file mode 100644 index dccbddcc35cc1026359f25b7275e8f0a71c3b5a8..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/logo.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/mail_small.gif b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/mail_small.gif deleted file mode 100644 index a3b7d9f06f5cf22eef46cb6bd73a1dcc52be71b0..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/mail_small.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/site.css b/TestingEnv/doc/apache-felix-framework-usage-documentation_files/site.css deleted file mode 100644 index 959ab0a592d698849640f882313195bde3f1bcb9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-framework-usage-documentation_files/site.css +++ /dev/null @@ -1,25 +0,0 @@ -/* @override http://felix.apache.org/site/media.data/site.css */ - -body { background-color: #ffffff; color: #3b3b3b; font-family: Tahoma, Arial, sans-serif; font-size: 10pt; line-height: 140% } -h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #000000; line-height: 100%; margin-top: 0px} -h1 { font-size: 200% } -h2 { font-size: 175% } -h3 { font-size: 150% } -h4 { font-size: 140% } -h5 { font-size: 130% } -h6 { font-size: 120% } -a { color: #1980af } -a:visited { color: #1980af } -a:hover { color: #1faae9 } -.title { position: absolute; left: 1px; right: 1px; top:25px; height: 81px; background: url(http://felix.apache.org/site/media.data/gradient.png) repeat-x; background-position: bottom; } -.logo { position: absolute; width: 15em; height: 81px; text-align: center; } -.header { text-align: right; margin-right: 20pt; margin-top: 30pt;} -.menu { border-top: 10px solid #f9bb00; position: absolute; top: 107px; left: 1px; width: 15em; bottom: 0px; padding: 0px; background-color: #fcfcfc } -.menu ul { background-color: #fdf5d9; list-style: none; padding-left: 4em; margin-top: 0px; padding-top: 2em; padding-bottom: 2em; margin-left: 0px; color: #4a4a43} -.menu a { text-decoration: none; color: #4a4a43 } -.main { position: absolute; border-top: 10px solid #cde0ea; top: 107px; left: 15em; right: 1px; margin-left: 2px; padding-right: 4em; padding-left: 1em; padding-top: 1em;} -.code { background-color: #eeeeee; border: solid 1px black; padding: 0.5em } -.code-keyword { color: #880000 } -.code-quote { color: #008800 } -.code-object { color: #0000dd } -.code-java { margin: 0em } \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-gogo-Dateien/apache.png b/TestingEnv/doc/apache-felix-gogo-Dateien/apache.png deleted file mode 100644 index 5132f65ec1546b4b17e679dd0798f806138918c6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-gogo-Dateien/apache.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-gogo-Dateien/button.html b/TestingEnv/doc/apache-felix-gogo-Dateien/button.html deleted file mode 100644 index 8503c58f645bdbf1cec502277068cb072edb17e3..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-gogo-Dateien/button.html +++ /dev/null @@ -1,5 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><!-- ads start --> -</head><body><a href="http://www.us.apachecon.com/" target="_blank"><img src="button_data/2010-na-125x125.png" title="ApacheCon NA 2010" border="0" height="125" width="125"></a> -<!-- ads end --> -</body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-gogo-Dateien/button_data/2010-na-125x125.png b/TestingEnv/doc/apache-felix-gogo-Dateien/button_data/2010-na-125x125.png deleted file mode 100644 index 90bd87b263653fd287b9081f0fd0f3807ed35823..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-gogo-Dateien/button_data/2010-na-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-gogo-Dateien/logo.png b/TestingEnv/doc/apache-felix-gogo-Dateien/logo.png deleted file mode 100644 index dccbddcc35cc1026359f25b7275e8f0a71c3b5a8..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-gogo-Dateien/logo.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-gogo-Dateien/site.css b/TestingEnv/doc/apache-felix-gogo-Dateien/site.css deleted file mode 100644 index 959ab0a592d698849640f882313195bde3f1bcb9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-gogo-Dateien/site.css +++ /dev/null @@ -1,25 +0,0 @@ -/* @override http://felix.apache.org/site/media.data/site.css */ - -body { background-color: #ffffff; color: #3b3b3b; font-family: Tahoma, Arial, sans-serif; font-size: 10pt; line-height: 140% } -h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #000000; line-height: 100%; margin-top: 0px} -h1 { font-size: 200% } -h2 { font-size: 175% } -h3 { font-size: 150% } -h4 { font-size: 140% } -h5 { font-size: 130% } -h6 { font-size: 120% } -a { color: #1980af } -a:visited { color: #1980af } -a:hover { color: #1faae9 } -.title { position: absolute; left: 1px; right: 1px; top:25px; height: 81px; background: url(http://felix.apache.org/site/media.data/gradient.png) repeat-x; background-position: bottom; } -.logo { position: absolute; width: 15em; height: 81px; text-align: center; } -.header { text-align: right; margin-right: 20pt; margin-top: 30pt;} -.menu { border-top: 10px solid #f9bb00; position: absolute; top: 107px; left: 1px; width: 15em; bottom: 0px; padding: 0px; background-color: #fcfcfc } -.menu ul { background-color: #fdf5d9; list-style: none; padding-left: 4em; margin-top: 0px; padding-top: 2em; padding-bottom: 2em; margin-left: 0px; color: #4a4a43} -.menu a { text-decoration: none; color: #4a4a43 } -.main { position: absolute; border-top: 10px solid #cde0ea; top: 107px; left: 15em; right: 1px; margin-left: 2px; padding-right: 4em; padding-left: 1em; padding-top: 1em;} -.code { background-color: #eeeeee; border: solid 1px black; padding: 0.5em } -.code-keyword { color: #880000 } -.code-quote { color: #008800 } -.code-object { color: #0000dd } -.code-java { margin: 0em } \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-gogo.html b/TestingEnv/doc/apache-felix-gogo.html deleted file mode 100644 index 3d18fe26ec5e6a59657db1b55a5a86485ab702b6..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-gogo.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head> - - - - <title>Apache Felix - Apache Felix Gogo</title> - <link rel="stylesheet" href="apache-felix-gogo-Dateien/site.css" type="text/css" media="all"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - </head><body> - <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="apache-felix-gogo-Dateien/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="apache-felix-gogo-Dateien/apache.png" border="0"></a></div></div> - <div class="menu"> -<ul> - <li><a href="http://felix.apache.org/site/news.html" title="news">news</a></li> - <li><a href="http://felix.apache.org/site/license.html" title="license">license</a></li> - <li><a href="http://felix.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">downloads</a></li> - <li><a href="http://felix.apache.org/site/documentation.html" title="documentation">documentation</a></li> - <li><a href="http://felix.apache.org/site/mailinglists.html" title="mailinglists">mailing lists</a></li> - <li><a href="http://felix.apache.org/site/contributing.html" title="Contributing">contributing</a></li> - <li><a href="http://www.apache.org/" class="external-link" rel="nofollow">asf</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">sponsorship</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">sponsors</a> -<!-- ApacheCon Ad --> -<iframe src="apache-felix-gogo-Dateien/button.html" style="border-width: 0pt; float: left;" frameborder="0" height="135" scrolling="no" width="135"></iframe> -<p style="height: 100px;"> -<!-- ApacheCon Ad --> -</p></li></ul> - </div> - <div class="main"> -<h1><a name="ApacheFelixGogo-ApacheFelixGogo"></a>Apache Felix Gogo</h1> - -<p>Apache Felix Gogo is a subproject of Apache Felix implementing the -OSGi RFC 147, which describes a standard shell for OSGi-based -environments. See <a href="http://felix.apache.org/site/rfc-147-overview.html" title="RFC 147 Overview">RFC 147 Overview</a> for more information.</p> - -<h2><a name="ApacheFelixGogo-UsingGogowiththeFelixFramework"></a>Using Gogo with the Felix Framework</h2> - -<p>The Gogo subproject consists of three bundles:</p> - -<ol> - <li><b>runtime</b> - implements the core command processing functionality.</li> - <li><b>shell</b> - provides a simple textual user interface to interact with the command processor.</li> - <li><b>command</b> - implements a set of basic commands.</li> -</ol> - - -<p>As of the Apache Felix Framework 3.0.0, Gogo is included as the -default shell in the framework distribution. To use it, you just start -the framework like normal:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>$ cd felix-framework-3.0.0 -$ java -jar bin/felix.jar -_______________ -Welcome to Apache Felix Gogo - -g! lb -START LEVEL 1 - ID|State |Level|Name - 0|Active | 0|System Bundle (3.0.0) - 1|Active | 1|Apache Felix Bundle Repository (1.6.2) - 2|Active | 1|Apache Felix Gogo Command (0.6.0) - 3|Active | 1|Apache Felix Gogo Runtime (0.6.0) - 4|Active | 1|Apache Felix Gogo Shell (0.6.0) -g! -</pre> -</div></div> - -<p>Gogo shell integration in the framework distribution is also discussed in the <a href="http://felix.apache.org/site/apache-felix-framework-usage-documentation.html" title="Apache Felix Framework Usage Documentation">framework usage document</a></p> - </div> - </body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository.html b/TestingEnv/doc/apache-felix-osgi-bundle-repository.html deleted file mode 100644 index 825a9ff45172fa094d641d17205bce26b8c53079..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-osgi-bundle-repository.html +++ /dev/null @@ -1,524 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head> - - - - <title>Apache Felix - Apache Felix OSGi Bundle Repository</title> - <link rel="stylesheet" href="apache-felix-osgi-bundle-repository_files/site.css" type="text/css" media="all"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - </head><body> - <div class="title"><div class="logo"><a href="http://felix.apache.org/site/index.html"><img alt="Apache Felix" src="apache-felix-osgi-bundle-repository_files/logo.png" border="0"></a></div><div class="header"><a href="http://www.apache.org/"><img alt="Apache" src="apache-felix-osgi-bundle-repository_files/apache.png" border="0"></a></div></div> - <div class="menu"> -<ul> - <li><a href="http://cwiki.apache.org/FELIX/news.html" title="news">news</a></li> - <li><a href="http://cwiki.apache.org/FELIX/license.html" title="license">license</a></li> - <li><a href="http://felix.apache.org/site/downloads.cgi" rel="nofollow">downloads</a></li> - <li><a href="http://cwiki.apache.org/FELIX/documentation.html" title="documentation">documentation</a></li> - <li><a href="http://cwiki.apache.org/FELIX/mailinglists.html" title="mailinglists">mailing lists</a></li> - <li><a href="http://cwiki.apache.org/FELIX/contributing.html" title="Contributing">contributing</a></li> - <li><a href="http://www.apache.org/" rel="nofollow">asf</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" rel="nofollow">sponsorship</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" rel="nofollow">sponsors</a> -<!-- ApacheCon Ad --> -<iframe src="apache-felix-osgi-bundle-repository_files/button.html" style="border-width: 0pt; float: left;" frameborder="0" height="135" scrolling="no" width="135"></iframe> -<p style="height: 100px;"> -<!-- ApacheCon Ad --> -</p></li></ul> </div> - <div class="main"> -<h1><a name="ApacheFelixOSGiBundleRepository-ApacheFelixOSGiBundleRepository(OBR)"></a>Apache Felix OSGi Bundle Repository (OBR)</h1> - -<div> -<ul> - <li><a href="#ApacheFelixOSGiBundleRepository-Motivation">Motivation</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-Overview">Overview</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-OBRRepositoryFile">OBR Repository File</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-OBRServiceAPI">OBR Service API</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-OBRShellCommand">OBR Shell Command</a></li> -<ul> - <li><a href="#ApacheFelixOSGiBundleRepository-obrhelp">obr help</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrlisturl">obr list-url</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obraddurl">obr add-url</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrremoveurl">obr remove-url</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrlist">obr list</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrinfo">obr info</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrdeploy">obr deploy</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrstart">obr start</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrsource">obr source</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-obrjavadoc">obr javadoc</a></li> -</ul> - <li><a href="#ApacheFelixOSGiBundleRepository-UsingOBRwithaProxy">Using OBR with a Proxy</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-BundleSourcePackaging">Bundle Source Packaging</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-NoteonOSGiR3Bundles">Note on OSGi R3 Bundles</a></li> - <li><a href="#ApacheFelixOSGiBundleRepository-Feedback">Feedback</a></li> -</ul></div> - -<p><a name="ApacheFelixOSGiBundleRepository-motivation"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-Motivation"></a>Motivation</h2> - -<p>The goal of the Apache Felix OSGi Bundle Repository (OBR) is two-fold:</p> - -<ol> - <li>To simplify deploying and using available bundles with Felix.</li> - <li>To encourage independent bundle development so that communities of interest can grow.</li> -</ol> - - -<p>OBR achieves the first goal by providing a service that can -automatically install a bundle, with its deployment dependencies, from -a bundle repository. This makes it easier for people to experiment with -existing bundles. The second goal is achieved by raising the visibility -of the available bundles and providing access to both the executable -bundle and its source code. Hopefully, by making OBR and the bundles -themselves more visible, community members will be encouraged to -provide or improve service implementations.</p> - -<p>Note: OBR provides access to the Felix' default bundle repository, -but you can also use it to deploy your own bundles by creating a bundle -repository meta-data file for your local bundles; see the <tt>obr list-url</tt>, <tt>obr add-url</tt>, and <tt>obr remove-url</tt> commands for more details.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-overview"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-Overview"></a>Overview</h2> - -<p>For the most part, OBR is quite simple. An OBR "repository server" -is not necessary, since all functionality may reside on the client -side. OBR is able to provide its functionality by reading an XML-based -meta-data file that describes the bundles available to it. The -meta-data file essentially contains an XML encoding of the bundles' -manifest information. From the meta-data, OBR is able to construct -dependency information for deploying (i.e., installing and updating) -bundles.</p> - -<p>OBR defines the following entities:</p> - -<ul> - <li><em><b>Repository Admin</b></em> - a service to access a federation of repositories.</li> - <li><em><b>Repository</b></em> - provides access to a set of resources.</li> - <li><em><b>Resource</b></em> - a description of an artifact to be installed on a device.</li> - <li><em><b>Capability</b></em> - a named set of properties.</li> - <li><em><b>Requirement</b></em> - an assertion on a capability.</li> - <li><em><b>Resolver</b></em> - an object to resolve resource dependencies and to deploy them.</li> - <li><em><b>Repository file</b></em> - XML file containing resource meta-data.</li> -</ul> - - -<p>The following diagram illustrates the relationships among these entities:</p> - -<p><img src="apache-felix-osgi-bundle-repository_files/obr-entities.png" align="absmiddle" border="0"></p> - -<p>The client has access to a federated set of repositories via the Repository Admin service; such as depicted in this view:</p> - -<p><img src="apache-felix-osgi-bundle-repository_files/obr-high-level.png" align="absmiddle" border="0"></p> - -<p><a name="ApacheFelixOSGiBundleRepository-repositoryfile"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-OBRRepositoryFile"></a>OBR Repository File</h2> - -<p>The OBR repository file is an XML-based representation of bundle -meta-data. The goal is provide a generic model for describing -dependencies among resources; as such, the term <em><b>resource</b></em> is used instead of <em><b>bundle</b></em> in the OBR repository syntax; a detailed description of the OBR meta-data format is available in the <a href="http://www2.osgi.org/download/rfc-0112_BundleRepository.pdf" rel="nofollow">OSGi RFC 112</a> -document; this document is not completely in sync with the -implementation, but the concepts are still correct. The following XML -snippet depicts the overall structure of a repository file:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre><repository presentationname="..." symbolicname="..." ... > - <resource> - <description>...</description> - <size>...</size> - <documentation>...</documentation> - <source>...</source> - <category id="..."/> - <capability>...</capability> - ... - <requirement>...</requirement> - ... - </resource> - ... -</repository> -</pre> -</div></div> - -<p>The above repository defines a set of available resources, each -described by a set of meta-data. Some resource meta-data is purely -intended for human consumption; the most important aspects relate to -the generic capability/requirement model.</p> - -<p>A resource can provide any number of capabilities. A capability is a -typed set of properties. For example, the following is an exported -package capability:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre><capability name='package'> - <p n='package' v='org.foo.bar'/> - <p n='version' t='version' v='1.0.0'/> -</capability> -</pre> -</div></div> - -<p>This capability is of type 'package' and exports 'org.foo.bar' at -version '1.0.0'. Conversely, a requirement is a typed LDAP query over a -set of capability properties. For example, the following is an imported -package requirement:</p> - -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre><require name='package' extend='false' - multiple='false' optional='false' - filter='(&amp;(package=org.foo.bar)(version&gt;=1.0.0))'> - Import package org.foo.bar -</require> -</pre> -</div></div> - -<p>This requirement is of type 'package' and imports 'org.foo.bar' at -versions greater than '1.0.0'. Although this syntax looks rather -complicated with the '\&' and '\>=' syntax, it is simply the -standard OSGi LDAP query syntax in XML form (additionally, Peter Kriens -has created a tool called <tt>bindex</tt> to generate this meta-data from a bundle's manifest).</p> - -<p>With this generic dependency model, OBR is able to provide mappings -for the various OSGi bundle dependencies; e.g., import/export package, -provide/require bundle, host/fragment, import/export service, execution -environment, and native code. In addition, it is possible for bundles -to introduce arbitrary dependencies for custom purposes.</p> - -<p>Two other important pieces of meta-data are <tt>Bundle-SymbolicName</tt> and <tt>Bundle-Version</tt>; -these are standard OSGi bundle manifest attributes that OBR uses to -uniquely identify a bundle. For example, if you want to use OBR to -update a locally installed bundle, OBR gets its symbolic name and -version and searches the repository metadata for a matching symbolic -name. If the matching symbolic name is found, then OBR checks if there -is a newer version than the local copy using the bundle version number. -Thus, the symbolic name plus bundle version forms a unique key to match -locally installed bundles to remotely available bundles.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-serviceapi"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-OBRServiceAPI"></a>OBR Service API</h2> - -<p>Typically, OBR service clients only need to interact with the -Repository Admin service, which provides the mechanisms necessary to -discover available resources. The Repository Admin interface is defined -as follows:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">interface</span> RepositoryAdmin -{ - <span class="code-keyword">public</span> Resource[] discoverResources(<span class="code-object">String</span> filterExpr); - <span class="code-keyword">public</span> Resolver resolver(); - <span class="code-keyword">public</span> Repository addRepository(URL repository)? - <span class="code-keyword">throws</span> Exception; - <span class="code-keyword">public</span> <span class="code-object">boolean</span> removeRepository(URL repository); - <span class="code-keyword">public</span> Repository[] listRepositories(); - <span class="code-keyword">public</span> Resource getResource(<span class="code-object">String</span> respositoryId); -} -</pre> -</div></div> - -<p>In order to resolve and deploy available resources, the Repository -Admin provides Resolver instances, which are defined as follows:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java"><span class="code-keyword">public</span> <span class="code-keyword">interface</span> Resolver -{ - <span class="code-keyword">public</span> void add(Resource resource); - <span class="code-keyword">public</span> Requirement[] getUnsatisfiedRequirements(); - <span class="code-keyword">public</span> Resource[] getOptionalResources(); - <span class="code-keyword">public</span> Requirement[] getReason(Resource resource); - <span class="code-keyword">public</span> Resource[] getResources(Requirement requirement); - <span class="code-keyword">public</span> Resource[] getRequiredResources(); - <span class="code-keyword">public</span> Resource[] getAddedResources(); - <span class="code-keyword">public</span> <span class="code-object">boolean</span> resolve(); - <span class="code-keyword">public</span> void deploy(<span class="code-object">boolean</span> start); -} -</pre> -</div></div> - -<p>When desired resources are discovered via the query mechanisms of -the Repository Admin, they are added to a Resolver instance which will -can be used to resolve all transitive dependencies and to reflect on -any resolution result. The following code snippet depicts a typical -usage scenario:</p> - -<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<pre class="code-java">RepositoryAdmin repoAdmin = ... <span class="code-comment">// Get repo admin service -</span>Resolver resolver = repoAdmin.resolver(); -Resource resource = repoAdmin.discoverResources(filterStr); -resolver.add(resource); -<span class="code-keyword">if</span> (resolver.resolve()) -{ - resolver.deploy(<span class="code-keyword">true</span>); -} -<span class="code-keyword">else</span> -{ - Requirement[] reqs = resolver.getUnsatisfiedRequirements(); - <span class="code-keyword">for</span> (<span class="code-object">int</span> i = 0; i < reqs.length; i++) - { - <span class="code-object">System</span>.out.println(<span class="code-quote">"Unable to resolve: "</span> + reqs[i]); - } -} -</pre> -</div></div> - -<p>This code gets the Repository Admin service and then gets a Resolver -instance from it. It then discovers an available resource and adds it -to the resolver. Then it tries to resolve the resources dependencies. -If successful it deploys the resource to the local framework instance; -if not successful it prints the unsatisfied requirements.</p> - -<p>OBR's deployment algorithm appears simple at first glance, but it is -actually somewhat complex due to the nature of deploying independently -developed bundles. For example, in an ideal world, if an update for a -bundle is made available, then updates for all of the bundles -satisfying its dependencies are also made available. Unfortunately, -this may not be the case, thus the deployment algorithm might have to -install new bundles during an update to satisfy either new dependencies -or updated dependencies that can no longer be satisfied by existing -local bundles. In response to this type of scenario, the OBR deployment -algorithm tries to favor updating existing bundles, if possible, as -opposed to installing new bundles to satisfy dependencies.</p> - -<p>In the general case, OBR user's will not use the OBR API directly, -but will use its functionality indirectly from another tool or user -interface. For example, interactive access to OBR is available via a -command for Felix' <a href="http://cwiki.apache.org/confluence/display/FELIX/Apache%20Felix%20Shell%20Service" title="Apache Felix Shell Service">shell service</a>. The OBR shell command is discussed in the next section.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-shellcommand"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-OBRShellCommand"></a>OBR Shell Command</h2> - -<p>Besides providing a service API, OBR implements a Felix shell -command for accessing its functionality. For the end user, the OBR -shell command is accessed using the text-based or GUI-based user -interfaces for Felix' shell service. This section describes the syntax -for the OBR shell command.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrhelp"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrhelp"></a>obr help</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr help [add-url | remove-url | list-url | list | info | deploy | start | source | javadoc] -</pre> -</div></div> -<p>This command is used to display additional information about the other OBR commands.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrlisturl"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrlisturl"></a>obr list-url</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr list-url -</pre> -</div></div> -<p>This command gets the URLs to the repository files used by the Repository Admin.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obraddurl"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obraddurl"></a>obr add-url</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr add-url [<repository-file-url> ...] -</pre> -</div></div> -<p>This command adds a repository file to the set of repository files -for which the Repository Admin service provides access. The repository -file is represented as a URL. If the repository file URL is already in -the Repository Admin's set of repository files, the request is treated -like a reload operation.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrremoveurl"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrremoveurl"></a>obr remove-url</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr remove-url [<repository-file-url> ...] -</pre> -</div></div> -<p>This command removes a repository file to the set of repository -files for which the Repository Admin service provides access. The -repository file is represented as a URL.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrlist"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrlist"></a>obr list</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr list [<string> ...] -</pre> -</div></div> -<p>This command lists bundles available in the bundle repository. If no -arguments are specified, then all available bundles are listed, -otherwise any arguments are concatenated with spaces and used as a -substring filter on the bundle names.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrinfo"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrinfo"></a>obr info</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr info <bundle-name>[;<version>] ... -</pre> -</div></div> -<p>This command displays the meta-data for the specified bundles. If a -bundle's name contains spaces, then it must be surrounded by quotes. It -is also possible to specify a precise version if more than one version -exists, such as:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr info "Bundle Repository";1.0.0 -</pre> -</div></div> -<p>The above example retrieves the meta-data for version "1.0.0" of the bundle named "Bundle Repository".</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrdeploy"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrdeploy"></a>obr deploy</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr deploy <bundle-name>[;<version>] ... | <bundle-id> ... -</pre> -</div></div> -<p>This command tries to install or update the specified bundles and -all of their dependencies by default. You can specify either the bundle -name or the bundle identifier. If a bundle's name contains spaces, then -it must be surrounded by quotes. It is also possible to specify a -precise version if more than one version exists, such as:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr deploy "Bundle Repository";1.0.0 -</pre> -</div></div> -<p>For the above example, if version "1.0.0" of "Bundle Repository" is -already installed locally, then the command will attempt to update it -and all of its dependencies; otherwise, the command will install it and -all of its dependencies.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrstart"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrstart"></a>obr start</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr start [-nodeps] <bundle-name>[;<version>] ... -</pre> -</div></div> -<p>This command installs and starts the specified bundles and all of -their dependencies by default; use the "-nodeps" switch to ignore -dependencies. If a bundle's name contains spaces, then it must be -surrounded by quotes. If a specified bundle is already installed, then -this command has no effect. It is also possible to specify a precise -version if more than one version exists, such as:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr start "Bundle Repository";1.0.0 -</pre> -</div></div> -<p>The above example installs and starts the "1.0.0" version of the bundle named "Bundle Repository" and its dependencies.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-obrsource"></a></p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrsource"></a>obr source</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr source [-x] <local-dir> <bundle-name>[;<version>] ... -</pre> -</div></div> -<p>This command retrieves the source archives of the specified bundles -and saves them to the specified local directory; use the "-x" switch to -automatically extract the source archives. If a bundle name contains -spaces, then it must be surrounded by quotes. It is also possible to -specify a precise version if more than one version exists, such as:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr source /home/rickhall/tmp "Bundle Repository";1.0.0 -</pre> -</div></div> -<p>The above example retrieves the source archive of version "1.0.0" of -the bundle named "Bundle Repository" and saves it to the specified -local directory.</p> - -<h3><a name="ApacheFelixOSGiBundleRepository-obrjavadoc"></a>obr javadoc</h3> - -<p>Syntax:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr javadoc [-x] <local-dir> <bundle-name>[;<version>] ... -</pre> -</div></div> -<p>This command retrieves the javadoc archives of the specified bundles -and saves them to the specified local directory; use the "-x" switch to -automatically extract the javadoc archives. If a bundle name contains -spaces, then it must be surrounded by quotes. It is also possible to -specify a precise version if more than one version exists, such as:</p> -<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> -<pre>obr javadoc /home/rickhall/tmp "Bundle Repository";1.0.0 -</pre> -</div></div> -<p>The above example retrieves the javadoc archive of version "1.0.0" -of the bundle named "Bundle Repository" and saves it to the specified -local directory.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-proxy"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-UsingOBRwithaProxy"></a>Using OBR with a Proxy</h2> - -<p>If you use a proxy for Web access, then OBR will not work for you in -its default configuration; certain system properties must be set to -enable OBR to work with a proxy. These properties are:</p> - -<ul> - <li>http.proxyHost - the name of the proxy host.</li> - <li>http.proxyPort - the port of the proxy host.</li> - <li>http.proxyAuth -- the user name and password to use when connecting to the proxy; this -string should be the user name and password separated by a colon (e.g., -rickhall:mypassword).</li> -</ul> - - -<p>These system properties can be set directly on the command line when -starting the JVM using the standard "-D<prop>=<value>" -syntax or you can put them in the lib/system.properties file of your -Felix installation; see documentation on configuring Felix for more -information.</p> - -<p><a name="ApacheFelixOSGiBundleRepository-sourcepackaging"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-BundleSourcePackaging"></a>Bundle Source Packaging</h2> - -<p>Coming soon...</p> - -<p><a name="ApacheFelixOSGiBundleRepository-r3note"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-NoteonOSGiR3Bundles"></a>Note on OSGi R3 Bundles</h2> - -<p>In contrast to OSGi R4 the previous specifications, most notably R3, allowed bundles without the <tt>Bundle-SymbolicName</tt> -header. The Felix OSGi Bundle Repository implementation heavily relies -on the symbolic name being defined in bundles. As a consequence bundles -without a symbolic name are not fully supported by the Bundle -Repository:</p> - -<ul> - <li>Bundles installed in the framework are used by the Bundle -Repository implementation to resolve dependencies regardless of whether -they have a <tt>Bundle-SymbolicName</tt> header or not. Resolution of dependencies against the installed bundles takes place based on the <tt>Export-Package</tt> headers.</li> - <li>Bundles installed in the framework without a <tt>Bundle-SymbolicName</tt> -header cannot be updated by the Bundle Repository implementation -because updates from the bundle repository cannot be correlated to such -"anonymous" bundles.</li> -</ul> - - - -<p><a name="ApacheFelixOSGiBundleRepository-feedback"></a></p> - -<h2><a name="ApacheFelixOSGiBundleRepository-Feedback"></a>Feedback</h2> - -<p>Subscribe to the Felix users mailing list by sending a message to <a href="mailto:users-subscribe@felix.apache.org" rel="nofollow">users-subscribe@felix.apache.org</a>; after subscribing, email questions or feedback to <a href="mailto:users@felix.apache.org" rel="nofollow">users@felix.apache.org</a>.</p> - </div> - </body></html> diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache-felix-small.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache-felix-small.png deleted file mode 100644 index 95bfa5ef92556ed90958feac80a776520a368b75..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache-felix-small.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache.png deleted file mode 100644 index 5132f65ec1546b4b17e679dd0798f806138918c6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/apache.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button.html b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button.html deleted file mode 100644 index dc64b6cd10739dc7f0c2d1c2296bddc112932993..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button.html +++ /dev/null @@ -1,5 +0,0 @@ -<html><head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"><!-- ads start --> -</head><body><a href="http://www.us.apachecon.com/c/acus2009/" target="_blank"><img src="button_data/2009-usa-125x125.png" title="ApacheCon US 2009" border="0" height="125" width="125"></a> -<!-- ads end --> -</body></html> \ No newline at end of file diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button_data/2009-usa-125x125.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button_data/2009-usa-125x125.png deleted file mode 100644 index 117c6954ddf826f02457e7c4ef8b4fb6cf11c10c..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/button_data/2009-usa-125x125.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/linkext7.gif b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/linkext7.gif deleted file mode 100644 index f2dd2dcfa9bf3d89b543004a0f0e944ffd58bca7..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/linkext7.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/logo.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/logo.png deleted file mode 100644 index dccbddcc35cc1026359f25b7275e8f0a71c3b5a8..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/logo.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/mail_small.gif b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/mail_small.gif deleted file mode 100644 index a3b7d9f06f5cf22eef46cb6bd73a1dcc52be71b0..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/mail_small.gif and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-entities.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-entities.png deleted file mode 100644 index 81d37608e06e3d356eeab44ff6cfad5edb0f1636..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-entities.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-high-level.png b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-high-level.png deleted file mode 100644 index 566f171fd937d16f9ca31c45fa2685d5f85a23ea..0000000000000000000000000000000000000000 Binary files a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/obr-high-level.png and /dev/null differ diff --git a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/site.css b/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/site.css deleted file mode 100644 index 959ab0a592d698849640f882313195bde3f1bcb9..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/apache-felix-osgi-bundle-repository_files/site.css +++ /dev/null @@ -1,25 +0,0 @@ -/* @override http://felix.apache.org/site/media.data/site.css */ - -body { background-color: #ffffff; color: #3b3b3b; font-family: Tahoma, Arial, sans-serif; font-size: 10pt; line-height: 140% } -h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #000000; line-height: 100%; margin-top: 0px} -h1 { font-size: 200% } -h2 { font-size: 175% } -h3 { font-size: 150% } -h4 { font-size: 140% } -h5 { font-size: 130% } -h6 { font-size: 120% } -a { color: #1980af } -a:visited { color: #1980af } -a:hover { color: #1faae9 } -.title { position: absolute; left: 1px; right: 1px; top:25px; height: 81px; background: url(http://felix.apache.org/site/media.data/gradient.png) repeat-x; background-position: bottom; } -.logo { position: absolute; width: 15em; height: 81px; text-align: center; } -.header { text-align: right; margin-right: 20pt; margin-top: 30pt;} -.menu { border-top: 10px solid #f9bb00; position: absolute; top: 107px; left: 1px; width: 15em; bottom: 0px; padding: 0px; background-color: #fcfcfc } -.menu ul { background-color: #fdf5d9; list-style: none; padding-left: 4em; margin-top: 0px; padding-top: 2em; padding-bottom: 2em; margin-left: 0px; color: #4a4a43} -.menu a { text-decoration: none; color: #4a4a43 } -.main { position: absolute; border-top: 10px solid #cde0ea; top: 107px; left: 15em; right: 1px; margin-left: 2px; padding-right: 4em; padding-left: 1em; padding-top: 1em;} -.code { background-color: #eeeeee; border: solid 1px black; padding: 0.5em } -.code-keyword { color: #880000 } -.code-quote { color: #008800 } -.code-object { color: #0000dd } -.code-java { margin: 0em } \ No newline at end of file diff --git a/TestingEnv/doc/changelog.txt b/TestingEnv/doc/changelog.txt deleted file mode 100644 index f104752b8d610ab189cb4c244d388239a21459f3..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog.txt +++ /dev/null @@ -1,138 +0,0 @@ -Changes from 4.2.1 to 4.4.0 ---------------------------- -** Improvement - * Update to framework and main 4.4.0 - -Changes from 4.2.0 to 4.2.1 ---------------------------- - -** Improvement - * Update to framework and main 4.2.1 - -Changes from 4.0.3 to 4.2.0 ---------------------------- - -** Improvement - * Update to framework and main 4.2.0 - -Changes from 4.0.2 to 4.0.3 ---------------------------- - -** Improvement - * Update to framework and main 4.0.3 - -Changes from 4.0.1 to 4.0.2 ---------------------------- - -** Improvement - * Update to framework and main 4.0.2 - -Changes from 4.0.0 to 4.0.1 ---------------------------- - -** Improvement - * Update to framework and main 4.0.1 - -Changes from 3.2.2 to 4.0.0 ---------------------------- - -** Improvement - * Update to framework and main 4.0.0 - * Update to gogo command 0.12.0 - * Update to OBR 1.6.6 - -Changes from 3.2.1 to 3.2.2 ---------------------------- - -** Improvement - * Update to framework and main 3.2.2 - -Changes from 3.2.0 to 3.2.1 ---------------------------- - -** Improvement - * Update to framework and main 3.2.1 - -Changes from 3.0.9 to 3.2.0 ---------------------------- - -** Improvement - * Update to framework and main 3.2.0 - -Changes from 3.0.8 to 3.0.9 ---------------------------- - -** Improvement - * Update to framework and main 3.0.9 - - -Changes from 3.0.7 to 3.0.8 ---------------------------- - -** Improvement - * Update to framework and main 3.0.8 - * Update to gogo 0.8.0 - -Changes from 3.0.6 to 3.0.7 ---------------------------- - -** Improvement - * Update to framework and main 3.0.7 - -** Bug - * [FELIX-2695] - [Distro] Invalid settings in config.properties - -Changes from 3.0.5 to 3.0.6 ---------------------------- - -** Improvement - * Update to framework and main 3.0.6 - -Changes from 3.0.4 to 3.0.5 ---------------------------- - -** Improvement - * Update to framework and main 3.0.5 - -Changes from 3.0.3 to 3.0.4 ---------------------------- - -** Improvement - * Update to framework and main 3.0.4 - -Changes from 3.0.2 to 3.0.3 ---------------------------- - -** Improvement - * Update to framework and main 3.0.3 - * Update to gogo 0.6.1 - -Changes from 3.0.1 to 3.0.2 ---------------------------- - -** Improvement - * Update to framework and main 3.0.1 - -Changes form 3.0.0 to 3.0.1 ---------------------------- - -** Improvement - * Update to framework and main 3.0.1 - -Changes from 2.0.5 to 3.0.0 ---------------------------- - -** Improvement - ** Update to framework and main 3.0.0 - ** Replace shell with gogo 0.6.0 - -Changes from 2.0.4 to 2.0.5 ---------------------------- - -** Improvement - ** Update to framework and main 2.0.5 - -2.0.4 ------ - -** Initial release diff --git a/TestingEnv/doc/changelog_bundlerepository.txt b/TestingEnv/doc/changelog_bundlerepository.txt deleted file mode 100644 index e5dade4063112e92babe3256f985eebce30d6c91..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_bundlerepository.txt +++ /dev/null @@ -1,95 +0,0 @@ -Changes from 1.4.2 to 1.4.3 ---------------------------- - -** Bug - * [FELIX-1792] - Felix OBR seems to just randomly choose one of the satisifed bundles if more than one bundle meets the requirement - - -Changes from 1.4.1 to 1.4.2 ---------------------------- - -** Task - * [FELIX-1617] - Modify framework, main, shell, shell.tui, and obr to depend on official OSGi JAR files - -Changes from 1.4.0 to 1.4.1 ---------------------------- - -** Bug - * [FELIX-1000] - Updating an bundle which was installed via OBR fails - * [FELIX-1157] - NPE results in OBR if a resource does not have a presentation name - * [FELIX-1433] - java.lang.NumberFormatException in Bundle-Version (org.osgi.framework.Version) due to trailing whitespace - -Changes from 1.2.1 to 1.4.0 ---------------------------- -** Bug - * [FELIX-973] - FilterImpl from Felix Framework does not support none LDAP operators - * [FELIX-977] - Bundle resolving runs extreme long - * [FELIX-999] - The OBR ResolverImpl shouldn't try to start fragment bundles - -** Improvement - * [FELIX-884] - OBR should expose registered services as capabilities of local repository - * [FELIX-887] - Ensure BundleListeners are not forgotten about - * [FELIX-940] - Add support for execution environment - * [FELIX-986] - Include the symbolicname in the output of obr list -v - -** New Feature - * [FELIX-976] - OBR update-url shell command - -Changes from 1.2.0 to 1.2.1 ---------------------------- -* [2008-10-24] Fixed potential NPE when comparing resources. (FELIX-789) -* [2008-10-24] Removed the default repository URL from OBR, so now it must - be configured to have a repository. (FELIX-481) -* [2008-10-24] Print message if there are no matching bundles. (FELIX-785) -* [2008-10-23] Modified the OBR shell command to hide multiple versions of - available artifacts to cut down on noise. It is still possible to list - all versions by using a new "-v" switch. -* [2008-09-29] Adapt Bundle-DocURL header to modified URL - - -Changes from 1.0.3 to 1.2.0 ---------------------------- - -* [2008-08-30] Prevent issues when updating running bundles. (FELIX-701) -* [2008-08-28] Prevent NullPointerException if a locally installed bundle - does not have a Bundle-SymbolicName or version. (FELIX-108) -* [2008-08-12] Added OBR descriptor and updated to the newest bundle plugin. (FELIX-672) -* [2008-07-31] Use LogService instead of System.err. (FELIX-482) -* [2008-07-21] Modified OBR to correctly consider the namespace attribute - when matching capabilities to requirements. (FELIX-638) -* [2008-06-26] Implement referral with hop count support. (FELIX-399) -* [2008-05-09] Return an empty resource array when querying with a filter - with invalid syntax. (FELIX-480) -* [2008-05-09] Fixed improper synchronization with respect to visibility rules. -* [2008-05-09] Ignore resources with invalid filters. (FELIX-484) -* [2008-05-09] Move repository URL list initialization to a later time to - avoid the default repository URL if it is not desired. (FELIX-485) - -Changes from 1.0.2 to 1.0.3 ---------------------------- - -* [2008-04-21] Re-release to make bytecode executable on jre 1.3. - -Changes from 1.0.0 to 1.0.2 ---------------------------- - -* [2008-01-27] Change the default url from sf.net to sourceforge.net. -* [2007-10-25] Add support for zipped repository files. (FELIX-410) -* [2007-10-03] Updated OBR's VersionRange to match the Framework's VersionRange - and now accept whitespace in its version range. (FELIX-389) -* [2007-09-24] Extract OSGi OBR service API to a non-bundle jar to avoid - circular build problems. - -Changes from 0.8.0-incubator to 1.0.0 -------------------------------------- - -* [2007-03-16] Correctly initialized member fields to avoid incorrectly - assigning the source and license URLs. (FELIX-242) -* [2007-03-19] Parent POM extends Apache POM for Apache-wide policies. - (FELIX-260) -* [2007-05-18] Improved OBR dependency resolution by searching resolving - bundles before local bundles and to search through all available - candidates to find one that can resolve instead of picking one and failing - if it cannot be resolved. (FELIX-285) -* [2007-07-13] Fixed LDAP filter syntax bug when using inclusive version - ranges. (FELIX-327) diff --git a/TestingEnv/doc/changelog_framework.txt b/TestingEnv/doc/changelog_framework.txt deleted file mode 100644 index 72f9425a343bf840cf2fac874be967099dc3a88d..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_framework.txt +++ /dev/null @@ -1,910 +0,0 @@ -Changes from 4.2.1 to 4.4.0 ---------------------------- -** Bug - * [FELIX-1131] - ServiceReference.isAssignableTo fails when using a factory that can not see the exported class and the bundle exporting the service does not have a direct wire to this class - * [FELIX-3992] - Classloader access outside of a privileged block - * [FELIX-4190] - The framework should not hold any lock while calling ServiceFactory#unget - * [FELIX-4283] - actually throw exception if method not found - * [FELIX-4331] - [Core R5] Support BundleContext and Framework adaptations - * [FELIX-4353] - [Core R5] BundleWiringTests OSGi CT test failures - * [FELIX-4354] - [Core R5] ResolverHookTests OSGi CT test failures - * [FELIX-4355] - [Core R5] org.osgi.test.cases.framework.launch OSGi CT test failure - * [FELIX-4365] - Input stream not properly closed on org.apache.felix.framework.Felix.getFrameworkVersion - * [FELIX-4388] - Initial start level not considered when bundle.start() is called - * [FELIX-4462] - Classloader deadlock in Java6 between two bundles - -** Improvement - * [FELIX-4128] - [Core R5] Provide an OSGi R5 compliant framework implementation - * [FELIX-4284] - remove dead allocation - -** Task - * [FELIX-4080] - [Core R5] Add support for org.osgi.framework.UnfilteredServiceListener - * [FELIX-4082] - [Core R5] Update org.osgi.framework.bsnversion framework property - * [FELIX-4083] - [Core R5] Support for valueOf when evaluating a Filter - * [FELIX-4084] - [Core R5] Enhance Bundle.adapt() to provider AccessControlContext. - * [FELIX-4085] - [Core R5] Implement updates to the Bundle Hook Specification - * [FELIX-4324] - [Core R5] Implement osgi.identity namespace for fragments - -** Wish - * [FELIX-3868] - Adding osgi.identity namespace to bundles (resources) - -Changes from 4.2.0 to 4.2.1 ---------------------------- -** Bug - * [FELIX-3411] - The implementation of org.osgi.service.startlevel.StartLevel#setStartLevel(int) does not follow the spec - * [FELIX-3893] - Bundle in cache doesn't pass security check anymore. - * [FELIX-3907] - NullPointerException in BundleWiringImpl when m_disposed is true. - * [FELIX-3939] - IllegalArgumentException from ClassLoader.definePackage - * [FELIX-3950] - Permission check being done even when security manager is absent - * [FELIX-3957] - Error events can be thrown when refreshing fragment bundles - -** Improvement - * [FELIX-3961] - Add a fallback to the default java security policy if no security provider is present - -Changes from 4.0.3 to 4.2.0 ---------------------------- -** Bug - * [FELIX-2780] - Extension bundle implementation relies on urlhandlers service to start extension bundles - * [FELIX-3160] - NPE in BundleRevisionImpl.close() when uninstalling a bundle - * [FELIX-3242] - Concurrent modification problem in StatefulResolver$ResolverStateImpl.getCandidates - * [FELIX-3273] - Possible exception when accessing headers - * [FELIX-3306] - Lazy activation of bundles is not always working as expected - * [FELIX-3343] - Installing an fragment bundle without Bundle-ManifestVersion: 2 causes NPE in resolver - * [FELIX-3348] - StartLevel thread may terminate on uncaught exception - * [FELIX-3353] - The implementation of org.osgi.service.packageadmin.PackageAdmin#getExportedPackages(Bundle), does not follow the spec. - * [FELIX-3367] - getClassloader permission - * [FELIX-3397] - NPE when trying to resolve invalid fragments - * [FELIX-3411] - The implementation of org.osgi.service.startlevel.StartLevel#setStartLevel(int) does not follow the spec - * [FELIX-3413] - NPE and thread blocked in org.osgi.service.packageadmin.PackageAdmin#refreshPackages(Bundle[]) - * [FELIX-3455] - Framework JARs for JDK 7 - * [FELIX-3465] - Multi root resolve operations may cause duplicate blame chains to be created - * [FELIX-3618] - [Framework] Should not allow bundles to use generic cap/req headers for osgi.wiring.* namespaces - * [FELIX-3626] - Issue of felix on android 4.1 - * [FELIX-3632] - [Framework] Parsing of delimited strings in manifest parser collapses all consecutive escapes - * [FELIX-3670] - PackageAdmin.isBundleType throws NPE for uninstalled bundle - * [FELIX-3713] - Bundle.start() returns without starting the bundle - * [FELIX-3743] - Potential endless loop setting the active framework startlevel - * [FELIX-3753] - Felix crashes when embedded within Felix - * [FELIX-3761] - When a bundle registers a service, the bundle lock is obtained without any real purpose - * [FELIX-3766] - Slightly invalid logic for pre-checking dynamic imports which cause the framework the grab the lock with no real need - * [FELIX-3803] - Bundle#getResource always try to resolve the bundle - * [FELIX-3824] - Possible InvalidStateException thrown while unregistering bundle services - * [FELIX-3840] - problem with URLHandlers when running 2 frameworks in one jvm in separate class loaders - * [FELIX-3844] - Native bundles cannot be installed on Windows 8 and Windows Server 2012 - * [FELIX-3852] - InstallBundle throws ClassCastException: java.util.jar.Attributes$Name cannot be cast to java.lang.String - * [FELIX-3887] - ClassCastException during resolution of Require-Bundle: system.bundle - -** Improvement - * [FELIX-3344] - [Framework] Filter parsing treats ** as invalid syntax - * [FELIX-3372] - Add the ability to handle a blank on the property "org.osgi.framework.system.packages.extra" - * [FELIX-3394] - [Framework] Refactor internal resolver APIs to better align with upcoming OSGi resolver spec - * [FELIX-3447] - Optimize read only collections by using a specific class and not a wrapper which is slower - * [FELIX-3553] - Use of parallel class loading capability of JDK7 - * [FELIX-3609] - Small optimizations - * [FELIX-3611] - Bundle certificates are not added to the CodeSource when building the BundleProtectionDomain - * [FELIX-3807] - Refreshing bundles should first grab all the bundle locks to avoid concurrent modifications of those bundles - -** New Feature - * [FELIX-3504] - [Framework] Move to OSGi R5 packages - -** Task - * [FELIX-3786] - Create system package definintions for Java 8 - - -Changes from 4.0.2 to 4.0.3 ---------------------------- - -** Bug - * [FELIX-3003] - NPE in ResolverImpl.permutateIfNeeded - * [FELIX-3296] - URLHandlers caches null as values for common protocols - * [FELIX-3302] - Adapt the URLHandlers for the 4.0 refactoring - * [FELIX-3363] - Native bundles cannot be installed on Windows Server 2008 r2 with the tag win32 - * [FELIX-3393] - Possible deadlock with reentrant calls - * [FELIX-3572] - [Framework] Resolver is not checking package space consistency for dynamic imports - -** Improvement - * [FELIX-3262] - Startup delay due to URLHandlersBundleStreamHandler - -Changes from 4.0.1 to 4.0.2 ---------------------------- - -** Bug - * [FELIX-3178] - NPE in ResolverImpl - * [FELIX-3194] - [Framework] Manifest parser is not correctly handling escapes - * [FELIX-3205] - Error resolving system.bundle dependencies - * [FELIX-3207] - Improper handling of nulls and substring matching at CapabilitySet/SimpleFilter - * [FELIX-3211] - org.apache.felix.framework.cache.BundleCache.deleteDirectoryTreeRecursive throws NPE - * [FELIX-3220] - Multiple ClassCastException(s) when invoking OSGi Service-Hooks (EventHook, FindHook) - -** Improvement - * [FELIX-3166] - Make Felix compile within Eclipse - -** New Feature - * [FELIX-3156] - Implement Bundle::getDataFile and Bundle::compareTo - -Changes from 4.0.0 to 4.0.1 ---------------------------- - -** Bug - * [FELIX-3137] - [Framework] Capabilities from resolved singleton bundles are not indexed correctly - * [FELIX-3150] - Filter parameter is ignored at getServiceReferences - * [FELIX-3153] - [Framework] refreshPackages() should stop bundles in one pass and refresh them in a second pass - -** Improvement - * [FELIX-3138] - [Framework] Refactor some unnecessary code in the resolver - * [FELIX-3141] - [Framework] Framework should filter removal pending fragments not the resolver - -Changes from 3.2.2 to 4.0.0 ---------------------------- - -** Bug - * [FELIX-2762] - Substring parser incorrectly disallowing use of parentheses characters - * [FELIX-2990] - [Framework] Bug introduced into handling of native libraries during a fresh - * [FELIX-3015] - [Framework] Provide org.osgi.util.tracker version 1.5 - * [FELIX-3033] - [Framework] Service registry hooks are not correctly filtering bundle contexts for event hook - * [FELIX-3038] - Framework does not offer J2SE-1.2 Execution Environment - * [FELIX-3043] - [Framework] Resolver is not correctly resolving fragments in all cases - * [FELIX-3059] - Reexported packages are not calculate correctly leading to resolver and class loading bugs - * [FELIX-3062] - [Framework] Resolver gets into infinite loop in the face of a require-bundle cycle - * [FELIX-3082] - [Framework] Bundles not allowed to add listeners while in STOPPING state - * [FELIX-3085] - Importing/exporting "." should not be allowed - * [FELIX-3096] - Could not add FrameworkListener from ServiceListener - -** Improvement - * [FELIX-2467] - The framework extensions should be returned when invoking the method PackageAdmin#getFragments with the system bundle - * [FELIX-2572] - JRE system packages should include "uses" constraints - * [FELIX-2950] - [Framework] Adopt OSGi R4.3 API as framework internal API - * [FELIX-2998] - [Framework] OSGi R4.3 changed filter handling of exceptions when calling equals()/compare() to return false - * [FELIX-3000] - Move sending service registered event out of bundle lock - * [FELIX-3071] - [Framework] It should be possible to limit number of open JAR files - * [FELIX-3125] - [Framework] Use single file per bundle in bundle cache by default - -** New Feature - * [FELIX-2959] - [Framework] Implement OSGi R4.3 class loader byte-code weaving hook - * [FELIX-2969] - [Framework] Implement OSGi R4.3 framework wiring object - * [FELIX-2973] - [Framework] Implement OSGi R4.3 generic capabilities and requirements - * [FELIX-2975] - [Framework] Implement OSGi R4.3 framework start level object - * [FELIX-2986] - [Framework] Implement OSGi R4.3 resolver hooks - * [FELIX-2999] - [Framework] OSGi R4.3 now specifies that number types should be trimmed when evaluating filters - * [FELIX-3032] - [Framework] Implement OSGi R4.3 bundle hooks - * [FELIX-3052] - [Framework] Implement OSGi R4.3 system bundle generic capabilities - * [FELIX-3056] - [Framework] Implement OSGi R4.3 event listener service registry hook - * [FELIX-3122] - [Framework] Implement OSGi R4.3 framework UUID - * [FELIX-3124] - [Framework] Implement OSGi R4.3 property to allow installing bundles with the same BSN and version - -** Task - * [FELIX-3110] - [Framework] Implement 4.3 security checks - - -Changes from 3.2.1 to 3.2.2 ---------------------------- - -** Bug - * [FELIX-2935] - Bundle.getEntryPaths and findEntries are returning META-INF/ multiple times - * [FELIX-2941] - Felix Framework 3.2.0 and Framework Security 1.4.2 fails OSGI Conditional Permission Admin CT when running on IBM JVM 5 and 6. - * [FELIX-2942] - Bundles with higher start level get activated even before framework reaches that start level - - -Changes from 3.2.0 to 3.2.1 ---------------------------- - -* Bug - * [FELIX-2901] - [Framework] NPE from a host bundle during framework shutdown - * [FELIX-2917] - Constructor of SecurityExceptino() which is incompatible to 1.4 is used - * [FELIX-2924] - bundle stop hangs for http-2.2.0 in felix-3.2.0 - -** Improvement - * [FELIX-2909] - [Framework] Resolver could be more efficient if it detected if fragments were present - - -Changes from 3.0.9 to 3.2.0 ---------------------------- - -* Bug - * [FELIX-1816] - deadlock on SystemBundle.stop() - * [FELIX-2741] - NPE in ResolverImpl.calculatePackageSpaces - * [FELIX-2748] - Possible synchronization issue with BundleContext.getBundle() - * [FELIX-2877] - java6 update 24 breaks felix when used inside webstart - - -** Improvement - * [FELIX-2858] - [Framework] Modify resolver to be self-contained with respect to fragment handling - * [FELIX-2859] - [Framework] Modify resolver to be self-contained with respect to singleton handling - * [FELIX-2864] - [Framework] Add package profile for JDK7 to default properties - -Changes from 3.0.8 to 3.0.9 ---------------------------- - -** Bug - * [FELIX-1581] - Bundle#update, Bundle#uninstall and Bundle#stop should wait for a (configurable) timeout before throwing an exception if the bundle is starting or stopping - * [FELIX-2784] - When the framework try to grab the bundle lock, it ignores thread interruption - * [FELIX-2822] - [Framework] System bundle module's state not reset when framework restarted leading to NPE - * [FELIX-2832] - [Framework] It should not be possible to open an URLConnection to "/" for a bundle URL - * [FELIX-2840] - [Framework] Uninstalling an uninstalled bundle throws NoSuchElementException - * [FELIX-2849] - PackageAdmin is inconsistent between getFragments and getHosts - * [FELIX-2850] - PackageAdmin return fragments / hosts even if the host isn't resolved - * [FELIX-2851] - Resolution problems after a fragment can't be resolved - -** Improvement - * [FELIX-2841] - [Framework] Improve resolve exception messages - -Changes from 3.0.7 to 3.0.8 ---------------------------- - -** Bug - * [FELIX-2749] - Boolean.parseBoolean() newly defined in Java5 should not be used. - * [FELIX-2789] - Native library matching is not correctly checking additional extensions - * [FELIX-2800] - Logging will throw an NPE if no bundle is specified - * [FELIX-2802] - A failed update doesn't rollback properly - * [FELIX-2805] - Cache PackageAdmin.getBundle() result for system bundle classes - -Changes from 3.0.6 to 3.0.7 ---------------------------- - -** Bug - * [FELIX-2456] - Framework no longer fires UNRESOLVED event when a bundle is explicitly refreshed - * [FELIX-2693] - [Framework] Service registry should throw a ServiceException for factories resulting in a cycle - * [FELIX-2700] - Framework uses java.nio package which is not supported by CDC VM - * [FELIX-2710] - [Framework] For exploded bundles Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar") - * [FELIX-2717] - [Framework] Resolver treats multiple exports of same package as conflicting for fragment imports - * [FELIX-2725] - [Framework] Resolver is not correctly calculating exported packages for already resolved modules - * [FELIX-2728] - JarRevision does not close URLConnections which are instances of HttpURLConnection - * [FELIX-2736] - [Framework] Resolver is not correctly verifying package space consistency for dynamic imports - * [FELIX-2738] - [Framework] DirectoryContent does not handle security correctly - -** Improvement - * [FELIX-2703] - [Framework] Include OSGi/Minimum EEs in default properties - * [FELIX-2721] - [Framework] Implement custom manifest parser and avoid JarFile - * [FELIX-2737] - [Framework] Optimize resolver algorithm by not re-calculating uses constraints for resolved modules - -Changes from 3.0.5 to 3.0.6 ---------------------------- - -** Bug - * [FELIX-2670] - [Framework] Implicit boot delegation doesn't delegate for external code in all cases - * [FELIX-2683] - [Framework] Bundle last modified time is not persisted on deployment - -** Improvement - * [FELIX-2560] - Bundle URLs do not survive refreshes - -** New Feature - * [FELIX-2646] - [Framework] Locking could be used to prevent concurrent access to a single bundle cache - -Changes from 3.0.4 to 3.0.5 ---------------------------- - -** Bug - * [FELIX-2653] - LinkageError caused by duplicate class definition during implicit boot delegation - -** Improvement - * [FELIX-2645] - Add a (hidden) way to retrieve a local URL for a given bundle URL - * [FELIX-2654] - [Framework] Modify bundle cache to use a single file per bundle state - -Changes from 3.0.3 to 3.0.4 ---------------------------- - -** Bug - * [FELIX-2584] - No FrameworkEvent.ERROR on unchecked exception in event listener - * [FELIX-2629] - [Framework] Module class loader should return an empty enumeration for getResources() - -** Improvement - * [FELIX-2619] - [Framework] Bundle cache is rechecking nonexistent files again and again - * [FELIX-2626] - [Framework] Bundle cache is rewriting some files when restarting bundles - -Changes from 3.0.2 to 3.0.3 ---------------------------- - -** Bug - * [FELIX-2548] - Resolver should use case sensitive indexing for capabilities - * [FELIX-2569] - Felix bundle classloader always delegates to parent loader in getResources() - * [FELIX-2589] - SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set - * [FELIX-2598] - Hang in Felix: thread owing a bundle lock waits for ever to lock it again - * [FELIX-2599] - When specifying the packages exported by the system bundle, attributes and directives on packages do not show up in the system bundle headers - -** Improvement - * [FELIX-1022] - Classloader Exceptions should be more informative - * [FELIX-2549] - Fix some synchronization issues in content handling - * [FELIX-2555] - Log messages should contain the bundle id, when available - * [FELIX-2597] - Deadlock during delivery of resolved event - -Changes from 3.0.1 to 3.0.2 ---------------------------- - -** Bug - * [FELIX-2421] - Implicit bootdelegation doesn't ignore classloaders if they are inner classes - * [FELIX-2437] - Deadlock on refrsh Import and refresh - * [FELIX-2451] - Felix uses System.out to print debug messages related to resolver... - * [FELIX-2459] - Wrong error message on a missing package - * [FELIX-2466] - Unknown attributes are not stripped from Fragment-Host header - * [FELIX-2473] - Subtring matching is incorreclty matching against an empty string - * [FELIX-2479] - Required bundles not correctly re-exporting their substitutable exports - -** Improvement - * [FELIX-2528] - Potential performance issue in resolver when uses constraint conflict is detected - * [FELIX-2529] - In some scenarios the resolver will not backtrack on imported package decisions - -Changes from 3.0.0 to 3.0.1 ---------------------------- - -** Bug - * [FELIX-2401] - NPE in org.apache.felix.framework.FilterImpl.DictionaryCapability.getAttribute(String) - -Changes from 2.0.5 to 3.0.0 ---------------------------- -** Sub-task - * [FELIX-2036] - Improve resolver's generic capability/requirement model - * [FELIX-2037] - Improve resolver performance by making solution space searching smarter - -** Bug - * [FELIX-995] - JRE packages are exported with wrong version - * [FELIX-1967] - Freeze finding consistent class space - * [FELIX-2080] - Updating bundles when debugging switched on might result in a deadlock with 100% CPU usage - * [FELIX-2150] - URLStreamHandlerProxy.setURL may not set query component correctly - * [FELIX-2172] - Extremely long resolve stage when running CXF-DOSGi system test - * [FELIX-2177] - Fragment bundles not loaded after second start when using autodeploy - * [FELIX-2271] - CLONE -NPE "name can't be null" when trying to install a bundle in Felix 2.0.3 - * [FELIX-2273] - getClassLoader-permission required accessing classes from dynamically loaded class - * [FELIX-2281] - Bundle id order affects fragment resolution success - * [FELIX-2317] - Possible NPE for jars with null Manifest - * [FELIX-2321] - BundleException type should be properly set when installing a duplicate bundle - * [FELIX-2332] - Lots of contention on ExtensionManager.openConnection(URL) - * [FELIX-2335] - Bundle.loadClass() for system bundle doesn't obey boot delegation - * [FELIX-2356] - extension bundle cannot load class from embed jar - * [FELIX-2383] - Bundles are restarted during start level change - * [FELIX-2392] - Felix framework uses a Java5 method - -** Improvement - * [FELIX-1210] - Allow jars with missing intermediate entries to be handled as if they were present in Bundle.getEntryPaths - * [FELIX-1797] - Customizable Framework startup message - * [FELIX-2035] - Reimplement framework resolver - * [FELIX-2039] - Reimplement standard OSGi LDAP filter to use new filter solution for resolver - * [FELIX-2040] - Modify framework service registry to use resolver's new capability/requirement model - * [FELIX-2041] - Look into using generics in framework code - * [FELIX-2042] - Use Gogo as the default shell for the framework distribution - * [FELIX-2324] - Support execution environment so that OBR works properly - * [FELIX-2336] - Variable substitution in configuration files should ignore mismatched delimiters - -Changes from 2.0.4 to 2.0.5 ---------------------------- -** Bug - * [FELIX-1753] - The start level should check that the bundle still exists before starting it to avoid an ugly exception - * [FELIX-2087] - NPE "name can't be null" when trying to install a bundle in Felix 2.0.3 - * [FELIX-2107] - Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>' - * [FELIX-2195] - Using URLDecoder.decode on locations is wrong - * [FELIX-2222] - Failure to reinstall a cached bundle will corrupt the bundle cache - -Changes from 2.0.3 to 2.0.4 ---------------------------- - -** Bug - * [FELIX-2056] - URLHandlersStreamHandler not getting handlers from frameworks that are inside a different classloader - * [FELIX-2067] - Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name - * [FELIX-2073] - The System Bundle is not providing WS Addressing - -** Improvement - * [FELIX-2071] - Missing checks inside ModuleImpl (in Framework) which causes exceptions - -Changes from 2.0.2 to 2.0.3 ---------------------------- - -** Bug - * [FELIX-1838] - PackageAdmin.getExportedPackages() duplicates output for packages with different version - * [FELIX-1867] - ModuleImpl diagnoseClassLoadError throw NullPointerException for empty package name in debug mode - * [FELIX-1917] - A few minor bugs in the framework found while embedding Felix - * [FELIX-1919] - Fragment bundle cannot be linked to its host - * [FELIX-1920] - RequiredBundle.getRequiringBundles() incorrectly calculates result - * [FELIX-1929] - getStartLevel() always reports requested start level, not active start level - * [FELIX-1982] - Documented but uninterpreted felix.cache.* properties - * [FELIX-1998] - Use UTF-8 when decoding reference location URLs - * [FELIX-2002] - Uninstalled fragments are not properly detached - -** Improvement - * [FELIX-37] - Implement security for bundle resource URLs - * [FELIX-325] - Factor out security checks from the framework/system bundle code - * [FELIX-1973] - Implement all required security checks - -** New Feature - * [FELIX-30] - Implement extension bundles - * [FELIX-1991] - Allow boot delegation class loader to be configurable per bundle - - -Changes from 2.0.1 to 2.0.2 ---------------------------- - -** Bug - * [FELIX-1754] - Usage of BundleContext.getServiceReferences results in failure to activate components - * [FELIX-1782] - Errors during start-up on gnu/classpath based VMs (jamvm, kaffe, cacao) and mika - * [FELIX-1795] - Bundle version ignored in Fragment-Host header - * [FELIX-1834] - java.io.IOException: No framework context found when embedding felix frameworks as bundles - -** Improvement - * [FELIX-1534] - Improve fragment merging - * [FELIX-1781] - Try to reduce object allocations/usage in resolver algorithm - * [FELIX-1783] - Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter) - -Changes from 2.0.0 to 2.0.1 ---------------------------- - -** Bug - * [FELIX-1565] - Deadlock UrlHandlers - * [FELIX-1573] - Occasional NPE in URLHandlersBundleStreamHandler - * [FELIX-1580] - Regression with native library handling - * [FELIX-1586] - Framework reports org.osgi.framework.version as 1.3 - * [FELIX-1600] - ServiceReference.isAssignableTo() always returns true if requesting bundle has no wire - * [FELIX-1631] - Implicit bootdelegation causes hang on android - * [FELIX-1710] - Resolver still does not discard all partial results when a cyclical dependency fails - * [FELIX-1721] - Framework boot delegation has a bug due to extraneous code - * [FELIX-1731] - Native library extraction could be improved to help cases where there are dependencies among libraries - -** Improvement - * [FELIX-1619] - Change the default auto-deploy actions to be install and start only - * [FELIX-1625] - Refactor bundle cache to simplify management - * [FELIX-1679] - VersionRange class should use finals to be thread safe. - * [FELIX-1724] - Various module metadata should be cached - -** Task - * [FELIX-1617] - Modify framework, main, shell, shell.tui, and obr to depend on official OSGi JAR files - -Changes from 1.8.1 to 2.0.0 ---------------------------- - -** Bug - * [FELIX-893] - Felix fails to start using J9 JVM - * [FELIX-905] - Felix needs an RFC 126 FindHook - * [FELIX-906] - Felix needs an RFC 126 EventHook - * [FELIX-1122] - Extension bundles are not being removed from the bundle list when uninstalled - * [FELIX-1123] - System bundle does still not correctly handle (export) package attributes - * [FELIX-1124] - ResourceNotFoundException too verbose - * [FELIX-1130] - Bundle.getHeaders() returns a Dictionary<java.util.jar.Attribute.Name,String> - * [FELIX-1138] - URL Handlers performance regression due to service lookups - * [FELIX-1170] - MemoryLeak when stopping and restarting Felix - * [FELIX-1187] - BundleContext.ungetService() should return false only if the usage count is zero when the method is invoked - * [FELIX-1197] - Bundle Fragments not resolved correctly - * [FELIX-1198] - config.properties still refers to old org.osgi.framework.startlevel property - * [FELIX-1247] - BundleEvent.UNRESOLVED should be fired during update/uninstall not refresh - * [FELIX-1249] - Bundle.findEntries() should search fragments as well as the bundle itself - * [FELIX-1254] - Bundle#findEntries does not return resources from fragments - * [FELIX-1271] - Improve manifest localization to handle special cases - * [FELIX-1272] - Need to special case getResource()/getResources()/loadClass() for fragment bundles - * [FELIX-1273] - Bundle.getResources() should return null for a non-existent resource - * [FELIX-1277] - Fix Service Hooks Tests failures in RFC 126 TCK - * [FELIX-1279] - Framework.waitForStop() does not obey timeout - * [FELIX-1280] - Package Admin - getExportedPackages must return null instead of an empty array - * [FELIX-1285] - SecureAction captures the calling context incorrectly - * [FELIX-1286] - Module class loader should use secure action instead of a privileged block - * [FELIX-1287] - System bundle operations from RFC-132 (e.g., init(), start(), stop(), waitForStop()) are using wrong lock object - * [FELIX-1288] - System bundle context should be null after stopping the framework - * [FELIX-1292] - PackageAdmin.getBundle(Class) should return null if the bundle associated with the passed in class is from another framework - * [FELIX-1293] - StringMap used for case insensitive properties does not respect ordering if case sensitivity is changed - * [FELIX-1295] - ServiceRegistry increments/decrements service use count after/before getService/ungetService() is called on ServiceFactory - * [FELIX-1371] - Automatic parent class loader delegation does not correctly filter calls to Bundle.loadClass() - * [FELIX-1397] - Required execution environment verification should happen at resolve time, not install time - * [FELIX-1400] - bootdelegation and dynamic-import-packages are accepting invalid patterns - * [FELIX-1401] - Manifest localization with fragments not handled correctly - * [FELIX-1422] - Resolver does not always discard partial results when a cyclically dependency fails - * [FELIX-1435] - Resolver does not always resolve a dynamic import to a fragment export - * [FELIX-1527] - R4.2 spec errata now specifies uninstalling a bundle must transition through INSTALLED on its way to UNINSTALLED - * [FELIX-1551] - Start level service must synchronously persist bundle start level changes - * [FELIX-1556] - Bundle.getResource/s is not able to find resources if the package is not alraedy wired when I use DynamicImport-Package: * - -** Improvement - * [FELIX-712] - Ability to disable automatic parent classloader delegation - * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception - * [FELIX-1120] - Enable BundleCache customization - * [FELIX-1134] - Add support for native libraries in fragments - * [FELIX-1189] - Improve error message in main when there is an error processing auto-install/start bundles - * [FELIX-1246] - PackageAdmin.getBundle() is not implemented efficiently - * [FELIX-1260] - Make Bundle.findEntries() and Bundle.getEntryPaths() more thread safe - * [FELIX-1291] - Implement support for proper return type from Framework.waitForStop() - * [FELIX-1300] - Remove legacy bundle cache support when extracting embedded JAR files - * [FELIX-1360] - Improve native library matching algorithm (part 2) - * [FELIX-1404] - Use provided classes from OSGi R4.2 companion code - * [FELIX-1432] - Manifest parser doesn't return import package declarations in order of manifest - * [FELIX-1462] - Felix framework launcher should only use standard launching API - -** New Feature - * [FELIX-33] - Implement system bundle update - * [FELIX-749] - Add support for lazy activation of bundles - * [FELIX-1193] - Implement org.osgi.framework.bundle.parent from RFC 132 - * [FELIX-1205] - Update to the latest OSGi R4.2 API - * [FELIX-1244] - Add support for ServiceEvent.MODIFIED_ENDMATCH - * [FELIX-1250] - Support service exceptions for service factories - * [FELIX-1289] - Support for FrameworkUtil.getBundle() - * [FELIX-1297] - Implement support for new org.osgi.framework.command.execpermission configuration property - * [FELIX-1298] - Implement support for new org.osgi.framework.library.extensions configuration property - * [FELIX-1446] - Framework launcher should automatically deploy bundles in bundle directory - * [FELIX-1478] - Add shutdown hook to launcher to cleanly shutdown the framework if the process is killed - - - - -** Task - * [FELIX-1144] - The NOTICE file for Main subproject is not correctly copied into the source JAR - - -** Test - * [FELIX-1208] - Need migrate the EventDispatcherTest to newer version of EasyMock - -Changes form 1.6.1 to 1.8.0 ---------------------------- -** Bug - * [FELIX-1034] - bootdelegation property seems to be matching more packages than desired - * [FELIX-1059] - DynamicImport-Package matches more packages than desired - -** Improvement - * [FELIX-1060] - URLHandlers doesn't support URLStreamHandler.openConnection(proxy,url) method - -** New Feature - * [FELIX-29] - Implement bundle fragments - -Changes from 1.6.0 to 1.6.1 ---------------------------- -** Bug - * [FELIX-1027] - deadlock with felix 1.6.0 ? - * [FELIX-1028] - NPE in configuration view when running webconsole with Equinox - * [FELIX-1033] - Exceptions when Felix is started with security manager - * [FELIX-1035] - deadlock observed while using fileinstall to monitor multiple directories - * [FELIX-1045] - Felix 1.6.0 fails with ClassCircularityError - -Changes from 1.4.1 to 1.6.0 ---------------------------- - -** Bug - * [FELIX-737] - Resolver does not correctly discard export when module imports the same package (part 2) - * [FELIX-852] - Fragment support is currently limited to directly resolved hosts - * [FELIX-869] - SCR throws exception on invalidating a component with a reference to a service that was already unregistered - * [FELIX-891] - Bundle lock acquisition should not record lock until it verifies the bundle is lockable - * [FELIX-892] - ServiceReferenceImpl improper implementation of equals and hashcode - * [FELIX-893] - Felix fails to start using J9 JVM - * [FELIX-897] - Empty system package is exported when a semicolon is present in "extra" configuration - * [FELIX-902] - Empty bundle.state file produces NPE - * [FELIX-910] - Framework may ignore framework startlevel on startup - * [FELIX-911] - Potential deadlock between Bundle.stop() and BundleContext.registerService() - * [FELIX-915] - PackageAdmin returns null on getBundle(...) with system classes - * [FELIX-934] - Bootdelegation bug - * [FELIX-947] - Behaviour of startlevel comman doesn't adhere to spec - * [FELIX-948] - ServiceReferenceImpl.compareTo should handle other types than integer for service ranking - * [FELIX-951] - Deadlock in iPojo when stopping Felix - * [FELIX-952] - Exception thrown when unregistering services because the bundle is stopped - * [FELIX-953] - Bundle#loadClass sometimes return null instead of throwing a CNFE - * [FELIX-961] - 100% CPU looping inside uses calculation - * [FELIX-962] - Erroneous class loading delegation to the application launcher classloader in some cases - * [FELIX-969] - system bundle does not correctly handle (export) package attributes - * [FELIX-971] - Exception thrown in ServiceTracker at shutdown - * [FELIX-978] - Resolver does not clean up properly on a failed recursive attempt to resolve - * [FELIX-1004] - Extensionmanager openConnection(URL) method should be public - * [FELIX-1005] - Strange list of imported packages returned by the package admin - -** Improvement - * [FELIX-681] - Modify daemon threads to catch all exceptions and log them to avoid premature thread death - * [FELIX-851] - Refactor the module abstraction layer to align more closely to OSGi concepts - * [FELIX-872] - JarContent swallows exception when opening manifest, it should log it - * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception - * [FELIX-894] - Loosen locking when starting/stopping/uninstalling a bundle by firing event without holding a lock - * [FELIX-908] - Unsynchronize access to bundle state inside BundleInfo by making the variable volatile - -Changes from 1.4.0 to 1.4.1 ---------------------------- - -* [2008-12-19] Refactor the URLHandlers implementation to fix a possible - Linkage-Error when running embedded inside tomcat. Furthermore, make it possible - to dynamically set a SecurityManager, change the url we add to the framework - classloader to fix issues with rmi and make sure we restore the previous URLStreamHandlerFactory - after stopping. (FELIX-842, FELIX-837, FELIX-844, FELIX-827) -* [2008-12-19] Add missing javax.security.cert in JRE 1.4 and 1.5. (FELIX-854) -* [2008-12-19] Improve framework internal locking protocol. -* [2008-12-18] Fixed an issue where bundles with a non-existing native library - would not be removed correctly. (FELIX-835) -* [2008-11-21] Throw an exception when there is an attempt to start or stop a - fragment, as per the spec. (FELIX-820) -* [2008-11-20] Fixed a bug during shutdown where uninstalled fragments are not - properly closed. (FELIX-819) -* [2008-11-14] Added partial support for new service registry hooks as proposed - for OSGi R4.2; currently, only listener hooks are supported. (FELIX-804) -* [2008-11-08] Fixed Felix' delegation hack so that it correctly delegates to - the parent class loader for resources as appropriate; previously it was always - delegating for class loading, which was incorrect. (FELIX-808) - -Changes from 1.2.2 to 1.4.0 ---------------------------- - -* [2008-11-05] URLStreamHandlerService and ContentHandlerService override - built-in handlers and make it possible to use URLHandlers when extending the - Felix class. (FELIX-756, FELIX-800) -* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799) -* [2008-10-31] Fix some visibility issues in the LDAP operators which could - result in incorrect toString values. (FELIX-765) -* [2008-10-31] Fixed spec compliance issues around getting a service reference - from an invalid registration and throwing an exception when there are - duplicate property keys. (FELIX-798) -* [2008-10-21] Fixed an issue with extension bundles which would be installed - as fragments and fail to install extension bundles if they have incomplete - metadata. (FELIX-770) -* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748) -* [2008-10-16] Modified framework to have default values for the system - packages property, which also required modifying main to no longer expect to - set it. Now it is possible to start Felix with no configuration properties. - (FELIX-753) -* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android - sdk. -* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35) -* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved. - (FELIX-777) -* [2008-10-15] Modified the resolver to longer consider uninstalled fragments - and hosts when resolving dependencies; this required a new "stale" flag on - modules that gets set when their associated bundle is uninstalled. (FELIX-776) -* [2008-10-15] Modified the resolver to sort candidates when resolving - Require-Bundle dependencies. (FELIX-775) -* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include - bundles requiring the exporting bundle, in addition to those bundles - importing the package. Also tried to simplify dependency management code - by separating it out. (FELIX-764) -* [2008-10-14] Fix a NullPointerException in SecureAction when a - SecurityManager is used by keeping pointers on the local stack. (FELIX-766) -* [2008-10-13] Use System.gc to allow to update and uninstall bundles with - native libs on Windows. (FELIX-733) -* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier - garbage collection. (FELIX-762) -* [2008-10-10] Implements support for flushing the cache on framework - initialization. (FELIX-755) -* [2008-10-10] Improve exception messages. (FELIX-750) -* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754) -* [2008-10-08] Modified the Felix API to aligned with the proposed standard - OSGi framework API. The framework instance can now be stopped and restarted. - (FELIX-753) -* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713) -* [2008-09-25] Correctly discard exported packages when a bundle is chosen to - import a package it exports. (FELIX-736) -* [2008-09-24] Clearly distinguish between "resolved" and "unresolved" - capabilities, which is necessary since "resolved" capabilities have higher - priority than "unresolved" ones. (FELIX-730) -* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has - been used. (FELIX-712) -* [2008-09-23] Improve decoding of reference URLs. (FELIX-731) -* [2008-09-23] For completeness, added symbolic names to framework and main. -* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin. - (FELIX-728) -* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages - correctly. (FELIX-722) -* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports - was happening when it shouldn't. (FELIX-724) -* [2008-09-12] Added a configuration property to determine whether installing a - fragment that uses unimplemented features throws an exception or logs a - warning. (FELIX-725) -* [2008-09-12] Removed some experimental code for "implicit requirements", - since it was no longer needed. -* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721) - -Changes from 1.2.1 to 1.2.2 ---------------------------- - -* [2008-10-14] Fixed a NullPointer exception that could happen when - running with a SecurityManager as a backport of FELIX-766. - -Changes from 1.2.0 to 1.2.1 ---------------------------- - -* [2008-09-05] Fixed a performance regression that was caused by uncached - access to the bundle manifest headers. (FELIX-711) -* [2008-09-03] Fixed a bug in calculating the system bundle's exported - packages which added a null export package. - -Changes from 1.0.4 to 1.2.0 ---------------------------- - -* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682) -* [2008-08-29] Throw an exception when installing a fragment that uses - features that we do not support. -* [2008-08-20] Improve error reporting when loading bundle classes using - Bundle.loadClass. -* [2008-08-16] Fix attribute checking when resolving dynamic imports. - (FELIX-676) -* [2008-08-08] Implement singleton bundle support. (FELIX-102) -* [2008-08-06] Default to current security policy if no security extension is - installed in order to make Subject.doAs work. (FELIX-654) -* [2008-08-04] Return Bundle.getLastModified() for bundle URLs - lastModified(). (FELIX-582) -* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577) -* [2008-08-01] Add necessary stub methods to implement new R4.1 methods. - (FELIX-595) -* [2008-08-01] Applied patch to properly return symbolic name when it has - parameters. (FELIX-650) -* [2008-07-25] Fix some rollback issues after a bundle update throws an - exception. (FELIX-647) -* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641) -* [2008-07-07] Add support for the standard symbolic name for the system - bundle. (FELIX-602) -* [2008-06-01] Add initial fragment support for extending the host bundle - class path. (FELIX-29, FELIX-656) - -Changes from 1.0.3 to 1.0.4 -___________________________ - -* [2008-04-18] Check that the returned object from a service factory is an - instance of all classes named when the service was registered. (FELIX-540) -* [2008-04-13] Fix an issue when logging messages while holding framework - internal locks that could lead to a deadlock. For now we just disable - logging to log services inside the framework. (FELIX-536) -* [2008-04-13] Implemented various small performance improvments e.g., - we now cache filters and create an index for objectclass to improve - service lookup performance and don't use the BundleInfo to get the - bundle id but the BundleImpl directly. Furthermore, we added an index to - get bundles by id. -* [2008-04-04] Fix an NoClassDefFoundError when trying to query the - framework classloader for whether a class is available or not. -* [2008-03-19] Don't try to resolve extension bundles and fix a - classcastexception that could happen if more then one framework is around - and both have extensions installed. Furthermore, make extension bundles - use the system bundle context. -* [2008-03-07] Bundle.getResource does now check for AdminPermission. - (FELIX-150) -* [2008-03-06] Make urlhandlers work when a handler factory is already set. - Furthermore, it is now possible to have more then one framework running - in more then one classloader. (FELIX-38). -* [2008-03-05] Make LDAP filter reentrant. -* [2008-02-29] Refactored the IContent abstraction from the module loader - layer to provide more generic access to the content of the module. This - makes it possible that a bundle's class path could span multiple module's, - which will be necessary for fragments. (FELIX-29) -* [2008-02-27] Applied a patch to disable the class loading diagnostic message - when the logger is not at the DEBUG level. (FELIX-500) -* [2008-02-15] Modified the service registry to use more fine-grained locking - to avoid callbacks to service factories while holding locks. (FELIX-489) - -Changes from 1.0.1 to 1.0.3 ---------------------------- - -* [2008-01-27] Moved framework docs to main, since the launcher examples now - depend on main for the auto-property handling. -* [2008-01-25] Applied patches to improve how Felix finds resources when - getResources() is called. (FELIX-466, FELIX-467) -* [2008-01-25] Make FilterImpl.toString() add escape characters where needed. - (FELIX-471) -* [2008-01-16] Fix a NPE on framework restart when extension bundles are - installed. -* [2008-01-15] Try to fix a potential visibility issue on loading a class - form a bundle where it seems to be possible that we create two classloaders - instead of one. -* [2008-01-15] Modified boot delegation to not terminate when delegating to - parent class loader for non-java.* packages. (FELIX-463) -* [2008-01-04] Fix some issues related to directories on the bundle class - path. Specifically, leading slashes created an issue and are now stripped - and entries were not being properly filtered when enumerating the contents - of a class path directory. (FELIX-426) -* [2007-12-20] Modified logger to have all of its public methods be final to - avoid it from being extended in undesired ways via the constructor supplied - logger. (FELIX-428) -* [2007-12-20] The TCK has changed to verify that bundles do not depend on - themselves, so we filter that case now. -* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework - error event only when a bundle cannot be resolved. (FELIX-441) -* [2007-12-19] Modified framework to accept a Logger instance so that host - applications can do custom logging until the log service arrives. (FELIX-428) -* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440). -* [2007-12-18] Improve native code loading - bundle installation will now - fail in case a native library is not in the jar and we only use the first - library of a given name. Furthermore, we now support .dylib extensions on - the mac as well as others; should make it possible to use .netmodules as - well. (FELIX-439) -* [2007-12-17] Make the win32 alias match any version of windows for native - clauses. (FELIX-438) -* [2007-12-14] Removed auto-property processing out of the framework and - into the default launcher, i.e, main. (FELIX-393) -* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler() - when creating URL on jamvm and Mika. This patch resolves an unfortunate - interaction between our ExtensionManager and the URLHandlers by making the - URLHandlers aware of the extension protocol. Pretty much like we do already - for the bundle protocol. (FELIX-435) -* [2007-11-26] Fix a small oversight in the extension manager that could lead - to a null pointer exception and save some memory by creating less objects. -* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties - for some reason and avoid a null pointer in this case. -* [2007-11-08] Reorganized usage count methods to better handle null - reference checking in response to Karl Pauls seeing an NPE when trying to - get a service that was already unregistered while shutting down the - framework. -* [2007-11-06] Added a simple check to detect and work around a bug in J9. - (FELIX-416) -* [2007-10-30] Change how the extension manager url stream handler handles - request to the root path in order to make some tomcat issue go away. - (FELIX-414) -* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383) -* [2007-10-24] Use system bundle when firing a framework error event when an - install error occurs. -* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle. - (FELIX-394) -* [2007-10-16] Modifies bundle resource URL handling such that if a resource - URL points to a resource that does not exist, a bundle class path search - for the resource will be instigated and if any matching resource is found, - that one will be used instead. (FELIX-383) -* [2007-10-10] Auto-property handling now installs bundles into the default - bundle start level if a start level is not specified. (FELIX-359) -* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the - ExtensionManager to immediately return null to prevent DNS lookup. - (FELIX-388) -* [2007-09-30] Resolved a concurrency issue that could result in the same - bundle being resolved more than once; also tried to simplify locking in - the core search policy implementation. (FELIX-381) - -Changes from 1.0.0 to 1.0.1 ---------------------------- - -* [2007-07-23] Fixed a bug in the framework shutdown process which was - causing threads calling Felix.stopAndWait() to not get notified that - the framework had shutdown. (FELIX-329) -* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe - on execution. (FELIX-338) -* [2007-08-17] Added support for persistent last used bundle ID to avoid - re-use of bundle identifiers. (FELIX-339) -* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null - locale. (FELIX-346) -* [2007-09-11] Added support to handle external termination of Felix - which was not handled or detected and prevented a restart of future - Felix instances in the same VM. (FELIX-363) -* [2007-09-12] Add support for Collection values in the LDAP filter to - match the 4.1 spec. -* [2007-09-12] Fixed a bug in the LDAP filter where attributes where - limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361) -* [2007-09-13] Enable support for exporting the same package more than - once (FELIX-101). -* [2007-09-13] Returns the system bundle from a call to - PackageAdmin.getBundle(Class) in case the class comes from the - classloader (or one of its parents) that loaded Felix and the system - bundle exports the package. -* [2007-09-16] Fixed a bug in class space filtering in the service registry - that could result in class cast exceptions for service clients. -* [2007-09-16] Fixed a bug that prevented extension bundle exports to be - usable. - -Changes from 0.8.0-incubator to 1.0.0 -------------------------------------- - -* [2007-01-18] Added support for bundle header localization. (FELIX-27) -* [2007-01-22] Modified framework resolver to support a generic - capability/requirement model. -* [2007-01-22] Reorganized and centralized manifest parsing code and added - support for resolver's generic capability/requirement model. (FELIX-98) -* [2007-01-22] Improved native library naming normalization. (FELIX-26) -* [2007-01-23] No longer eagerly resolving classes loaded from modules - since this was causing verification errors with IBM J9. -* [2007-01-25] Added some support for execution environment checking. - (FELIX-23) -* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32) -* [2007-01-31] Added Require-Bundle support to resolve using the generic - capability/requirement model of the resolver. (FELIX-28) -* [2007-02-05] Fixed a bug in processor type normalization for x86-64 - processors. -* [2007-02-09] The resolver previously ignored packages that were pending - removal when resolving new bundles, now it does not. -* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled - if none of their exported packages are in use. -* [2007-02-13] Added support for extension bundles. (FELIX-30) -* [2007-03-02] Added a Bundle.getBundleContext() method until actual - support for OSGi R4.1. -* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory - entries as well as file entries. -* [2007-05-06] Modified LDAP evaluator to special case the fact that - BigDecimal is not available in Foundation profile. -* [2007-05-21] Made some performance improvements in LDAP evaluation. -* [2007-05-22] Modified JAR file to include Service Tracker package. -* [2007-05-22] Improved concurrency handling around checking for already - loaded classes and defining classes. -* [2007-06-05] Modified resource URLs to use port number rather than - prepend information to the resource path. -* [2007-06-13] Improved dynamic imports to cycle through all available - candidates when checking for class space consistency. -* [2007-06-18] Improved service registry filtering based on class versions - to allow a bundle to register a service for a different version of class - that it can access. -* [2007-06-21] Modified our "last ditch effort" to guess when to delegate - to the system bundle to make it a little more robust. -* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous - events to not be fired after stopping the framework instance and creating - a new instance. (FELIX-314) -* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly - update a listener when it implemented multiple listener interfaces. -* [2007-07-04] Modified Felix framework class to implement the Bundle - interface to improve the startup/shutdown sequence and to provide a - simplified API for creating framework instances. -* [2007-07-11] Removed the PropertyResolver-related classes and now only - use Maps for configuration properties. (FELIX-324) diff --git a/TestingEnv/doc/changelog_gogo.command.txt b/TestingEnv/doc/changelog_gogo.command.txt deleted file mode 100644 index 6adf626f817df32aba57248fb8241f63d7d504da..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_gogo.command.txt +++ /dev/null @@ -1,63 +0,0 @@ -Changes from 0.10.0 to 0.12.0 ------------------------------ - -** Improvement - * [FELIX-3050] - [Gogo Command] Update "inspect" command to work with OSGi R4.3 generic capabilities/requirements - * [FELIX-3088] - [Gogo Command] The "resolve" command should print some message if not all bundles could be resolved - * [FELIX-3118] - obr:deploy should allow user to specify whether optional bundles are deployed or not - -Changes from 0.8.0 to 0.10.0 ----------------------------- - -** Bug - * [FELIX-2937] - [Gogo Command] OBR commands do not output anything - when nothing is found - * [FELIX-2938] - [Gogo Command] The "info" command throws an NPE if - the specified bundle identifier doesn't exist - * [FELIX-3001] - [gogo] help command throws ClassCastException if any - osgi.command.function service property is not String[] - -Changes from 0.6.1 to 0.8.0 ---------------------------- - -** Bug - * [FELIX-2676] - bundlelevel gogo command will never work for modifying - bundle level - -Changes from 0.6.0 to 0.6.1 ---------------------------- - -* Import Gogo packages with mandatory attribute. - -Gogo Command 0.6.0 ------------------- - -** Bug - * [FELIX-1473] - [gogo] The syntax does not provide a way to call - methods on a string - * [FELIX-1474] - [gogo] result of commands is implicitly written to pipe - * [FELIX-1493] - [gogo] automatic expansion of $args in Closure stops - direct access to $args list - * [FELIX-2337] - [gogo] no way to access array[] elements produced by - assignment - * [FELIX-2375] - [gogo] when supplied args can't be coerced, the error - message prints the arg values, rather than their types - * [FELIX-2380] - [gogo] lock contention in piped writer when reader - doesn't read all input - -** Improvement - * [FELIX-1487] - Support for commands on multiple lines - * [FELIX-2328] - [gogo] tidy-up runtime to remove optional code etc - * [FELIX-2339] - [gogo] add support for running scripts - * [FELIX-2342] - [gogo] remove old felix command adaptor - -** New Feature - * [FELIX-2363] - [Gogo] Add annotations for creating commands with - optional and out-of-order arguments - -** Task - * [FELIX-1670] - [gogo] launcher bundle not required - * [FELIX-1889] - Gogo should depend on the official OSGi jars - * [FELIX-2334] - [Gogo] Use org.apache.felix as Maven groupId - * [FELIX-2367] - [Gogo] Use org.apache.felix namespace to avoid any - perceived legal issues diff --git a/TestingEnv/doc/changelog_gogo.runtime.txt b/TestingEnv/doc/changelog_gogo.runtime.txt deleted file mode 100644 index 6e06728c8676b09b3e51babb87eb0f55e90e25cc..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_gogo.runtime.txt +++ /dev/null @@ -1,62 +0,0 @@ -Changes 0.6.1 to 0.8.0 ----------------------- - -** Bug - * [FELIX-2723] - When the execution of a closure with pipes is - interrupted, pipes should be interrupted too - -** New Feature - * [FELIX-2761] - Add a way to listen to execution of command lines - * [FELIX-2764] - Publish OSGi EventAdmin events when executing a command - line - -Changes 0.6.0 to 0.6.1 ----------------------- - -** Bug - * [FELIX-1473] - [gogo] The syntax does not provide a way to call - methods on a string - * [FELIX-2432] - [gogo] NPE/coercion failure when null first parameter - to method expecting arry - * [FELIX-2545] - [gogo] runtime should close all open sessions when it - is stopped - * [FELIX-2606] - Gogo isn't decoupled from OSGi anymore - -** Improvement - * [FELIX-2396] - Ability to have callbacks when accessing session variables - * [FELIX-2433] - [gogo] allow command expansion inside double quotes - * [FELIX-2607] - Introduce a specific exception when a command is not - foundGogo Runtime 0.6.1 - -Gogo Runtime 0.6.0 ------------------- - -** Bug - * [FELIX-1473] - [gogo] The syntax does not provide a way to call methods - on a string - * [FELIX-1474] - [gogo] result of commands is implicitly written to pipe - * [FELIX-1493] - [gogo] automatic expansion of $args in Closure stops - direct access to $args list - * [FELIX-2337] - [gogo] no way to access array[] elements produced by - assignment - * [FELIX-2375] - [gogo] when supplied args can't be coerced, the error - message prints the arg values, rather than their types - * [FELIX-2380] - [gogo] lock contention in piped writer when reader - doesn't read all input - -** Improvement - * [FELIX-1487] - Support for commands on multiple lines - * [FELIX-2328] - [gogo] tidy-up runtime to remove optional code etc - * [FELIX-2339] - [gogo] add support for running scripts - * [FELIX-2342] - [gogo] remove old felix command adaptor - -** New Feature - * [FELIX-2363] - [Gogo] Add annotations for creating commands with - optional and out-of-order arguments - -** Task - * [FELIX-1670] - [gogo] launcher bundle not required - * [FELIX-1889] - Gogo should depend on the official OSGi jars - * [FELIX-2334] - [Gogo] Use org.apache.felix as Maven groupId - * [FELIX-2367] - [Gogo] Use org.apache.felix namespace to avoid any - perceived legal issues diff --git a/TestingEnv/doc/changelog_gogo.shell.txt b/TestingEnv/doc/changelog_gogo.shell.txt deleted file mode 100644 index 9ee5b649636ad5fd14211c9ff0e6ec49bcb59ece..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_gogo.shell.txt +++ /dev/null @@ -1,60 +0,0 @@ -Changes from 0.6.1 to 0.8.0 ---------------------------- - -** Bug - * [FELIX-2651] - [Gogo] MOTD formatting is broken under Windows - -** Improvement - * [FELIX-2661] - [Gogo] It should be easier to start Gogo shell - non-interactively - -** New Feature - * [FELIX-2767] - gogo telnet IP address - -Changes from 0.6.0 to 0.6.1 ---------------------------- - -** Bug - * [FELIX-2446] - [Gogo] The bundle context command is not used with a - scope in gosh_profile - * [FELIX-2477] - [gogo] shell procedural commands don't inherit closure - arguments - -** Improvement - * [FELIX-2445] - [Gogo] Default gosh_profile should be updated to use - system bundle to load java.lang.System - * [FELIX-2543] - [Gogo] Should avoid using System.getProperty() to get - configuration properties - -Gogo Shell 0.6.0 ----------------- - -** Bug - * [FELIX-1473] - [gogo] The syntax does not provide a way to call methods - on a string - * [FELIX-1474] - [gogo] result of commands is implicitly written to pipe - * [FELIX-1493] - [gogo] automatic expansion of $args in Closure stops - direct access to $args list - * [FELIX-2337] - [gogo] no way to access array[] elements produced by - assignment - * [FELIX-2375] - [gogo] when supplied args can't be coerced, the error - message prints the arg values, rather than their types - * [FELIX-2380] - [gogo] lock contention in piped writer when reader - doesn't read all input - -** Improvement - * [FELIX-1487] - Support for commands on multiple lines - * [FELIX-2328] - [gogo] tidy-up runtime to remove optional code etc - * [FELIX-2339] - [gogo] add support for running scripts - * [FELIX-2342] - [gogo] remove old felix command adaptor - -** New Feature - * [FELIX-2363] - [Gogo] Add annotations for creating commands with - optional and out-of-order arguments - -** Task - * [FELIX-1670] - [gogo] launcher bundle not required - * [FELIX-1889] - Gogo should depend on the official OSGi jars - * [FELIX-2334] - [Gogo] Use org.apache.felix as Maven groupId - * [FELIX-2367] - [Gogo] Use org.apache.felix namespace to avoid any - perceived legal issues diff --git a/TestingEnv/doc/changelog_main.txt b/TestingEnv/doc/changelog_main.txt deleted file mode 100644 index 15192487c22e7c9b9a81f06048621f0e9407b02b..0000000000000000000000000000000000000000 --- a/TestingEnv/doc/changelog_main.txt +++ /dev/null @@ -1,289 +0,0 @@ -Changes from 4.2.1 to 4.4.0 ---------------------------- - -** Improvement - * Update to latest framework version 4.4.0 - -Changes form 4.2.0 to 4.2.1 ---------------------------- - -** Improvement - * Update to latest framework version 4.2.1 - -Changes from 4.0.3 to 4.2.0 ---------------------------- - -** Improvement - * Update to latest framework version 4.2.0 - -Changes from 4.0.2 to 4.0.3 ---------------------------- - -** Improvement - * Update to latest framework version 4.0.3 - -Changes from 4.0.1 to 4.0.2 ---------------------------- - -** Improvement - * Update to latest framework version 4.0.2 - -Changes from 4.0.0 to 4.0.1 ---------------------------- - -** Improvement - * Update to latest framework version 4.0.1 - -Changes from 3.2.2 to 4.0.0 ---------------------------- - -** Improvement - * [FELIX-3094] - [Main] Launcher should attempt to restart framework if the system bundle was updated - * [FELIX-3123] - [Main] Integrate OBR 1.6.6 - * [FELIX-3125] - Update to latest framework version 4.0.0 - -** Task - * [FELIX-3051] - [Main] Integrate latest Gogo Command bundle to support inspecting generic capabilities/requirements - - -Changes from 3.2.1 to 3.2.2 ---------------------------- - -** Improvement - * Update to latest framework version 3.2.2 - -Changes from 3.2.0 to 3.2.1 ---------------------------- - -** Improvement - * Update to latest framework version 3.2.1 - - -Changes from 3.0.9 to 3.2.0 ---------------------------- - -** Improvement - * Update to latest framework version 3.2.0 - -Changes from 3.0.8 to 3.0.9 ---------------------------- - -** Bug - * [FELIX-2796] - felix.auto.deploy.action throws NPE with only "update" action - -** Improvement - * Update to latest framework version 3.0.9 - -Changes from 3.0.7 to 3.0.8 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.8 - * Update to gogo version 0.8.0 - -Changes from 3.0.6 to 3.0.7 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.7 - -Changes from 3.0.5 to 3.0.6 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.6 - -** New Feature - * [FELIX-2678] - Startlevel for bundles in auto.deploy.dir - -Changes from 3.0.4 to 3.0.5 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.5 - -Changes from 3.0.3 to 3.0.4 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.4 - -Changes from 3.0.2 to 3.0.3 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.3 - * Update to gogo 0.6.1 - -Changes from 3.0.1 to 3.0.2 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.2 - -Changes from 3.0.0 to 3.0.1 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.1 - -Changes from 2.0.5 to 3.0.0 ---------------------------- - -** Improvement - * Update to latest framework version 3.0.0 - * [FELIX-1797] - Customizable Framework startup message - * [FELIX-2042] - Use Gogo as the default shell for the framework distribution - * [FELIX-2336] - Variable substitution in configuration files should ignore mismatched delimiters - -Changes from 2.0.4 to 2.0.5 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.5 - -Changes from 2.0.3 to 2.0.4 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.4 - -Changes from 2.0.2 to 2.0.3 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.3 - -Changes from 2.0.1 to 2.0.2 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.2 - -Changes from 2.0.0 to 2.0.1 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.1 - -Changes from 1.8.1 to 2.0.0 ---------------------------- - -** Improvement - * Update to latest framework version 2.0.0 - -Changes form 1.6.1 to 1.8.0 ---------------------------- - -** Improvement - * Update to latest framework version 1.8.0 - -Changes from 1.6.0 to 1.6.1 ---------------------------- - -** Improvement - * Update to latest framework version 1.6.1 - -Changes from 1.4.1 to 1.6.0 ---------------------------- - -** Improvement - * Update to latest framework version 1.6.0 - -Changes from 1.4.0 to 1.4.1 ---------------------------- - -* [2008-12-20] Update to latest framework version 1.4.0 -* [2008-11-18] Modified the pom file to export the OSGi packages; this can be - helpful for tools trying to determine what the JAR file provides. -* [2008-11-07] Align log level property name in pom.xml and config.properties - -Changes from 1.2.2 to 1.4.0 ---------------------------- - -* [2008-10-31] Fixed a possible NPE when no configuration file is found. -* [2008-10-23] Change the name of the SystemBundle interface to be Framework. - (FELIX-753) -* [2008-10-22] Hide wire messages in felix releases. (FELIX-707) -* [2008-10-16] Modified framework to have default values for the system packages - property. Now it is really possible to start Felix with no configuration - properties. (FELIX-753) -* [2008-10-10] Implements support for flushing the cache on framework - initialization. (FELIX-755) -* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754) -* [2008-10-08] Modified the Felix API to aligned with the proposed standard OSGi - framework API. (FELIX-753) -* [2008-09-23] Added symbolic names to framework and main. -* [2008-09-12] Added a configuration property to determine whether installing a - fragment that uses unimplemented features throws an exception or logs a - warning. (FELIX-725) - -Changes form 1.2.1 to 1.2.2 ---------------------------- - -* [2008-10-14] Update to latest framework version 1.2.2. - -Changes from 1.2.0 to 1.2.1 ---------------------------- - -* [2008-09-07] Hide WIRE log messages. (FELIX-707) -* [2008-09-07] Use the new Felix releases obr repository URL. - (FELIX-708) - -Changes from 1.0.3 to 1.2.0 ---------------------------- - -* [2008-08-03] Change to the R4.1 version of the spec. (FELIX-514) -* [2008-05-08] Fixed a NPE. (FELIX-525) - -Changes from 1.0.3 to 1.0.4 ---------------------------- - -* [2008-04-22] Update to framework version 1.0.4. - -Changes from 1.0.1 to 1.0.3 ---------------------------- - -* [2008-01-27] Added launching and embedding docs to main project. -* [2008-01-22] Update to maven-bundle-plugin version 1.2.0. -* [2008-01-07] Modifed default launcher in Main to separate out - auto-property processing so that it is easier to reuse the code in - custom launchers. (FELIX-448) -* [2007-12-14] Removed auto-property processing out of the framework and - into the default launcher. (FELIX-393) -* [2007-10-16] Use variable substitution via BND to define the properties - in default.properties from the properties in config.properties. - (FELIX-380) -* [2007-10-03] Added support to the Main launcher to use a default - embedded resource for setting the framework configuration properties - if the actual config.properties file cannot be loaded. (FELIX-380) -* [2007-09-20] Remove some packages for jre1.3 profile and add/remove a - few for 1.4, 1.5, and 1.6 (javax.crypto.*). (FELIX-371) - - -Changes from 1.0.0 to 1.0.1 ---------------------------- - -* [2007-09-16] Update to framework version 1.0.1. - - -Changes from 0.8.0-incubator to 1.0.0 -------------------------------------- - -* [2007-01-31] Changed how the system packages property is calculated to - make it more robust; previously it was leaving a dangling comma if the - execution platform was not known. -* [2007-02-05] Added system package support for Java 6. (FELIX-201) -* [2007-02-13] Removed support for trusted certificate authorities; this - will be added later as an extension. -* [2007-03-16] Felix configuration properties can now be set as system - properties when using the standard launcher. (FELIX-250) -* [2007-03-28] No longer including config.properties in the JAR file. -* [2007-04-13] The javax.net and javax.net.ssl packages were missing - from the system packages properties. -* [2007-04-13] Fixed a bug where the launcher was not correctly calculating - the installation directory correctly. -* [2007-05-07] Was accidentally including OBR service interface package - in main JAR. -* [2007-05-22] Now includes the Service Tracker package in main JAR. -* [2007-07-04] Modified to use the new Felix embedding API. diff --git a/TestingEnv/felix-cache/bundle0/bundle.id b/TestingEnv/felix-cache/bundle0/bundle.id deleted file mode 100644 index c24b6ae77df02a87472b208f251fad88382a2e55..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle0/bundle.id +++ /dev/null @@ -1 +0,0 @@ -38 \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle1/bundle.info b/TestingEnv/felix-cache/bundle1/bundle.info deleted file mode 100644 index 42a0fc910115af1c25a96cac73f0bf90dd937066..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle1/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -1 -file:/home/costea/workspace_sally4/TestingEnv/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar -32 -1 -1397167801122 -0 diff --git a/TestingEnv/felix-cache/bundle1/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle1/version0.0/bundle.jar deleted file mode 100644 index ccf445845757d2f14b6079de7809929d854c9360..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle1/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle1/version0.0/revision.location b/TestingEnv/felix-cache/bundle1/version0.0/revision.location deleted file mode 100644 index f68bc1bdb1c84726fd5d678c19468313f3a8b827..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle1/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/MathHubWorker-0.0.1-SNAPSHOT.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle10/bundle.info b/TestingEnv/felix-cache/bundle10/bundle.info deleted file mode 100644 index 6b210f4c1ef96571ee66331f641967d4dd8482d1..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle10/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -10 -file:/home/costea/workspace_sally4/TestingEnv/bundle/commons-codec-1.8.jar -32 -1 -1397167801290 -0 diff --git a/TestingEnv/felix-cache/bundle10/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle10/version0.0/bundle.jar deleted file mode 100644 index 32f84c92b7bda2904ae0ff464351e2016438774d..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle10/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle10/version0.0/revision.location b/TestingEnv/felix-cache/bundle10/version0.0/revision.location deleted file mode 100644 index 89534394417579525381c56d75bd61d898d7f0a7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle10/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/commons-codec-1.8.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle11/bundle.info b/TestingEnv/felix-cache/bundle11/bundle.info deleted file mode 100644 index bfe043477c2a09629ed67e36e0fa8f9333cea3fc..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle11/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -11 -file:/home/costea/workspace_sally4/TestingEnv/bundle/core-0.0.1-SNAPSHOT.jar -32 -1 -1397167801297 -0 diff --git a/TestingEnv/felix-cache/bundle11/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle11/version0.0/bundle.jar deleted file mode 100644 index 6dd66264ac52b82cef216de9838fe46c96f76a40..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle11/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle11/version0.0/revision.location b/TestingEnv/felix-cache/bundle11/version0.0/revision.location deleted file mode 100644 index a11d232b55870560cf4ef999de36cf765d3f3718..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle11/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/core-0.0.1-SNAPSHOT.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle12/bundle.info b/TestingEnv/felix-cache/bundle12/bundle.info deleted file mode 100644 index a18755e768961179ddf0dc398a4bc28baf8f937e..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle12/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -12 -file:/home/costea/workspace_sally4/TestingEnv/bundle/docmanager-0.0.1-SNAPSHOT.jar -32 -1 -1397167801306 -0 diff --git a/TestingEnv/felix-cache/bundle12/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle12/version0.0/bundle.jar deleted file mode 100644 index 264a3eb08945805d2ceb4681db174987b54c315a..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle12/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle12/version0.0/revision.location b/TestingEnv/felix-cache/bundle12/version0.0/revision.location deleted file mode 100644 index 88a650cb0e3367e35fe5190d69b0d05e7802323f..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle12/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/docmanager-0.0.1-SNAPSHOT.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle13/bundle.info b/TestingEnv/felix-cache/bundle13/bundle.info deleted file mode 100644 index b260f4faa993462d96291d8165d0d9a187ad2c32..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle13/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -13 -file:/home/costea/workspace_sally4/TestingEnv/bundle/freemarker-2.3.20.jar -32 -1 -1397167801310 -0 diff --git a/TestingEnv/felix-cache/bundle13/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle13/version0.0/bundle.jar deleted file mode 100644 index 91390441f03590164cb998780c92f6cdae7ae135..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle13/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle13/version0.0/revision.location b/TestingEnv/felix-cache/bundle13/version0.0/revision.location deleted file mode 100644 index 5eb9ef70b08a7a2cc27f598b4538aed496a375ae..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle13/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/freemarker-2.3.20.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle14/bundle.info b/TestingEnv/felix-cache/bundle14/bundle.info deleted file mode 100644 index 1134c3ad901e661a8418601c1fdbd241de4639ec..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle14/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -14 -file:/home/costea/workspace_sally4/TestingEnv/bundle/javax.servlet-api-3.1.0.jar -32 -1 -1397167801328 -0 diff --git a/TestingEnv/felix-cache/bundle14/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle14/version0.0/bundle.jar deleted file mode 100644 index 6b14c3d267867e76c04948bb31b3de18e01412ee..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle14/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle14/version0.0/revision.location b/TestingEnv/felix-cache/bundle14/version0.0/revision.location deleted file mode 100644 index e0e19aeb85775086a65afcb8f7d1aea56531a15b..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle14/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/javax.servlet-api-3.1.0.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle15/bundle.info b/TestingEnv/felix-cache/bundle15/bundle.info deleted file mode 100644 index c453302c9d91ab427a75e8806592369d1b081d4e..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle15/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -15 -file:/home/costea/workspace_sally4/TestingEnv/bundle/jaxb-impl-2.2.6.jar -32 -1 -1397167801333 -0 diff --git a/TestingEnv/felix-cache/bundle15/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle15/version0.0/bundle.jar deleted file mode 100644 index cd249e7c6775839df7a9317aa24b637a175f604c..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle15/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle15/version0.0/revision.location b/TestingEnv/felix-cache/bundle15/version0.0/revision.location deleted file mode 100644 index 779d503c1ab62e5db9b9f1f65f49e1eb2fb6a360..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle15/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/jaxb-impl-2.2.6.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle16/bundle.info b/TestingEnv/felix-cache/bundle16/bundle.info deleted file mode 100644 index 7597330152845f5fa9b0902c0ff85fd7eae939ba..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle16/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -16 -file:/home/costea/workspace_sally4/TestingEnv/bundle/mysql-connector-java-5.1.30.jar -32 -1 -1397167801340 -0 diff --git a/TestingEnv/felix-cache/bundle16/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle16/version0.0/bundle.jar deleted file mode 100644 index d147d1a04b62dfd231946776b65557c7d65dae0c..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle16/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle16/version0.0/revision.location b/TestingEnv/felix-cache/bundle16/version0.0/revision.location deleted file mode 100644 index cc169811c34f5d58666590eb8ebf0aef4adc8aad..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle16/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/mysql-connector-java-5.1.30.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle17/bundle.info b/TestingEnv/felix-cache/bundle17/bundle.info deleted file mode 100644 index 55e691721d2cd6dfd521355fe20035aea5c50409..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle17/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -17 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.bundlerepository-1.6.6.jar -32 -1 -1397167801355 -0 diff --git a/TestingEnv/felix-cache/bundle17/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle17/version0.0/bundle.jar deleted file mode 100644 index 218330e3fc01b0998f8a6732eb48fa8a2eb6fad1..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle17/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle17/version0.0/revision.location b/TestingEnv/felix-cache/bundle17/version0.0/revision.location deleted file mode 100644 index 97bc80ca53082deab4c8c1af3cb9941e07d25cb5..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle17/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.bundlerepository-1.6.6.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle18/bundle.info b/TestingEnv/felix-cache/bundle18/bundle.info deleted file mode 100644 index efd8ac4448c8395c3a9c1405e4c9df0cba965bcd..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle18/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -18 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.command-0.12.0.jar -32 -1 -1397167801361 -0 diff --git a/TestingEnv/felix-cache/bundle18/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle18/version0.0/bundle.jar deleted file mode 100644 index dfd8ae3d6dc84cc1f5a40b752155765c88ab052e..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle18/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle18/version0.0/revision.location b/TestingEnv/felix-cache/bundle18/version0.0/revision.location deleted file mode 100644 index 67cecbec23ef5586b7cd155f8f27a089184803ac..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle18/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.command-0.12.0.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle19/bundle.info b/TestingEnv/felix-cache/bundle19/bundle.info deleted file mode 100644 index 74b5057eb266e9ffa038f064e2431f061a7bc7ad..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle19/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -19 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.runtime-0.10.0.jar -32 -1 -1397167801366 -0 diff --git a/TestingEnv/felix-cache/bundle19/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle19/version0.0/bundle.jar deleted file mode 100644 index d3ccb4bdc5e751dad451066a7c6d93a4bfc471a1..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle19/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle19/version0.0/revision.location b/TestingEnv/felix-cache/bundle19/version0.0/revision.location deleted file mode 100644 index 0c59bf0fdd79dc57c9130b92eda8a2cee4d6b466..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle19/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.runtime-0.10.0.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle2/bundle.info b/TestingEnv/felix-cache/bundle2/bundle.info deleted file mode 100644 index bbf52a3749c545937109a2b6456c5d8797be4af7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle2/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -2 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-core-2.12.3.jar -32 -1 -1397167801144 -0 diff --git a/TestingEnv/felix-cache/bundle2/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle2/version0.0/bundle.jar deleted file mode 100644 index 2a54f18e4a6f18ebd610b24c259a19f8e2031df0..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle2/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle2/version0.0/revision.location b/TestingEnv/felix-cache/bundle2/version0.0/revision.location deleted file mode 100644 index 8b35323ac586cb206e67ae13fe55a3700afeae5d..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle2/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-core-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle20/bundle.info b/TestingEnv/felix-cache/bundle20/bundle.info deleted file mode 100644 index 4282be4c83d5c89060e89a44f58b52414fe8deae..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle20/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -20 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.shell-0.10.0.jar -32 -1 -1397167801371 -0 diff --git a/TestingEnv/felix-cache/bundle20/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle20/version0.0/bundle.jar deleted file mode 100644 index f74e68e5bba35d49146573ef0b80c5e1b7f9d5d0..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle20/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle20/version0.0/revision.location b/TestingEnv/felix-cache/bundle20/version0.0/revision.location deleted file mode 100644 index f0ddd81f9d5dbed06213b720508d14eb1196c590..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle20/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.gogo.shell-0.10.0.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle21/bundle.info b/TestingEnv/felix-cache/bundle21/bundle.info deleted file mode 100644 index ddf6f90a4819b4872cf7ce97d5bddea88337dd85..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle21/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -21 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.http.jetty-2.2.2.jar -32 -1 -1397167801375 -0 diff --git a/TestingEnv/felix-cache/bundle21/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle21/version0.0/bundle.jar deleted file mode 100644 index 5fae320ff3cdcfe83910f491ee6268e273aa1ac7..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle21/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle21/version0.0/revision.location b/TestingEnv/felix-cache/bundle21/version0.0/revision.location deleted file mode 100644 index 06f31b0ea313c8502be9844ca220abff59200180..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle21/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.http.jetty-2.2.2.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle22/bundle.info b/TestingEnv/felix-cache/bundle22/bundle.info deleted file mode 100644 index be1f240ce5069849fa316e8981ffe025adb1c839..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle22/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -22 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo-1.11.2.jar -32 -1 -1397167801388 -0 diff --git a/TestingEnv/felix-cache/bundle22/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle22/version0.0/bundle.jar deleted file mode 100644 index e6641677cea3ad09aef3ef830902baeb2bca3333..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle22/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle22/version0.0/revision.location b/TestingEnv/felix-cache/bundle22/version0.0/revision.location deleted file mode 100644 index f776c0de1a7ef1d9fd955cf6b957c39be11c5d79..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle22/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo-1.11.2.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle23/bundle.info b/TestingEnv/felix-cache/bundle23/bundle.info deleted file mode 100644 index 7ce0aead8fc64f8c78d8e68fe12807ca247f2d04..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle23/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -23 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar -32 -1 -1397167801397 -0 diff --git a/TestingEnv/felix-cache/bundle23/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle23/version0.0/bundle.jar deleted file mode 100644 index c203ade550658033ba11634e8bab285648775529..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle23/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle23/version0.0/revision.location b/TestingEnv/felix-cache/bundle23/version0.0/revision.location deleted file mode 100644 index 942c3bd6182c718c8916f52b48729c0f839e3d3a..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle23/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo.annotations-1.11.2.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle24/bundle.info b/TestingEnv/felix-cache/bundle24/bundle.info deleted file mode 100644 index 4b1f0313058a482b38ed08f56865a756b77ac45a..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle24/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -24 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar -32 -1 -1397167801400 -0 diff --git a/TestingEnv/felix-cache/bundle24/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle24/version0.0/bundle.jar deleted file mode 100644 index 7354a59547a90f0affeb9077bc90267aa630d490..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle24/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle24/version0.0/revision.location b/TestingEnv/felix-cache/bundle24/version0.0/revision.location deleted file mode 100644 index 7d4ed9f03654dc0db6dbf08c3a301c22514b6bea..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle24/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.felix.ipojo.gogo-1.11.2.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle25/bundle.info b/TestingEnv/felix-cache/bundle25/bundle.info deleted file mode 100644 index c6b62891effbf3839b6dcabcbe2647f3a95be528..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle25/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -25 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar -32 -1 -1397167801405 -0 diff --git a/TestingEnv/felix-cache/bundle25/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle25/version0.0/bundle.jar deleted file mode 100644 index 086b8ee632a00a182c08525f1b191e0d037428c1..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle25/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle25/version0.0/revision.location b/TestingEnv/felix-cache/bundle25/version0.0/revision.location deleted file mode 100644 index b2a2b43e4700d4d054ce1af43b7f65528c4f7049..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle25/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.commons-httpclient-3.1_7.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle26/bundle.info b/TestingEnv/felix-cache/bundle26/bundle.info deleted file mode 100644 index 549bf14a9340dc49be72313d7c092d73b557a4ee..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle26/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -26 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar -32 -1 -1397167801412 -0 diff --git a/TestingEnv/felix-cache/bundle26/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle26/version0.0/bundle.jar deleted file mode 100644 index c0f86b095e913c810198a8979d1ba23acfb5b993..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle26/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle26/version0.0/revision.location b/TestingEnv/felix-cache/bundle26/version0.0/revision.location deleted file mode 100644 index f94d66713dc6760c3e44eb49c0eeb0154ad4162a..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle26/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-beans-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle27/bundle.info b/TestingEnv/felix-cache/bundle27/bundle.info deleted file mode 100644 index 6174e08565493858190e9016af825849885c5593..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle27/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -27 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar -32 -1 -1397167801423 -0 diff --git a/TestingEnv/felix-cache/bundle27/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle27/version0.0/bundle.jar deleted file mode 100644 index e19603023d7fef8dfb00a63869aaac6cbb8289b6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle27/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle27/version0.0/revision.location b/TestingEnv/felix-cache/bundle27/version0.0/revision.location deleted file mode 100644 index d86f893cf1b6868ec50b95e0d90081ec22503317..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle27/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-context-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle28/bundle.info b/TestingEnv/felix-cache/bundle28/bundle.info deleted file mode 100644 index 25157d72ee1aae1f790fe16200edfed023f68329..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle28/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -28 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar -32 -1 -1397167801452 -0 diff --git a/TestingEnv/felix-cache/bundle28/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle28/version0.0/bundle.jar deleted file mode 100644 index 6bd774ce8692a52f7123e4227020f9dd71f5cfc9..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle28/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle28/version0.0/revision.location b/TestingEnv/felix-cache/bundle28/version0.0/revision.location deleted file mode 100644 index 55ee2aa51bd7d53f8c415312b4baf42214f3dbda..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle28/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-core-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle29/bundle.info b/TestingEnv/felix-cache/bundle29/bundle.info deleted file mode 100644 index 1bba5319f18d3f2510f808d5e580c31dbdc9b83b..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle29/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -29 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar -32 -1 -1397167801467 -0 diff --git a/TestingEnv/felix-cache/bundle29/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle29/version0.0/bundle.jar deleted file mode 100644 index 0ef64705ab27786e2ea9b23e0222296f871de4e6..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle29/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle29/version0.0/revision.location b/TestingEnv/felix-cache/bundle29/version0.0/revision.location deleted file mode 100644 index fd636fe33357fae9b79e1cce3fefffc6f38b2503..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle29/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-expression-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle3/bundle.info b/TestingEnv/felix-cache/bundle3/bundle.info deleted file mode 100644 index 6bd822a16d6127190528e5edad274e8c501b2783..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle3/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -3 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-core-osgi-2.12.3.jar -32 -1 -1397167801195 -0 diff --git a/TestingEnv/felix-cache/bundle3/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle3/version0.0/bundle.jar deleted file mode 100644 index 59ca19badac370c5b0a4ec7d5046e55142f1172a..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle3/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle3/version0.0/revision.location b/TestingEnv/felix-cache/bundle3/version0.0/revision.location deleted file mode 100644 index a9d4c1a9ccea95ffc0e3ba2a5e7799d367ea844e..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle3/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-core-osgi-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle30/bundle.info b/TestingEnv/felix-cache/bundle30/bundle.info deleted file mode 100644 index 468e3b1bd7cc5254e520f7c05a564e07bb4f9fcb..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle30/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -30 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar -32 -1 -1397167801473 -0 diff --git a/TestingEnv/felix-cache/bundle30/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle30/version0.0/bundle.jar deleted file mode 100644 index 36d49e3d3cfd72adec6840d9d8a51c37aec45869..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle30/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle30/version0.0/revision.location b/TestingEnv/felix-cache/bundle30/version0.0/revision.location deleted file mode 100644 index 8cff83b09a32ef62d9b48a6fc777735742645766..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle30/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-jdbc-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle31/bundle.info b/TestingEnv/felix-cache/bundle31/bundle.info deleted file mode 100644 index 9f89e082b3c1fc82cefaf4cfa3a092e61dbd17c7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle31/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -31 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar -32 -1 -1397167801485 -0 diff --git a/TestingEnv/felix-cache/bundle31/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle31/version0.0/bundle.jar deleted file mode 100644 index 8ef35bd6bc994b3dfd0af7898c4145e763127a00..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle31/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle31/version0.0/revision.location b/TestingEnv/felix-cache/bundle31/version0.0/revision.location deleted file mode 100644 index 9f6625cf7ce35bcff683ceea471d8406510f4651..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle31/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.apache.servicemix.bundles.spring-tx-3.2.7.RELEASE_1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle32/bundle.info b/TestingEnv/felix-cache/bundle32/bundle.info deleted file mode 100644 index c2d463f0fd35148599ec471b9364e9e2b3101139..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle32/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -32 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.osgi.compendium-4.3.1.jar -32 -1 -1397167801498 -0 diff --git a/TestingEnv/felix-cache/bundle32/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle32/version0.0/bundle.jar deleted file mode 100644 index 31383bcc1ef985f3ff7d585af1e3cae855999070..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle32/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle32/version0.0/revision.location b/TestingEnv/felix-cache/bundle32/version0.0/revision.location deleted file mode 100644 index b200165bb6fa38e1ea26f6e11ca3ea62a2d7bf82..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle32/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.osgi.compendium-4.3.1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle33/bundle.info b/TestingEnv/felix-cache/bundle33/bundle.info deleted file mode 100644 index 1285510ca8d484013d7a1bc7695aa5c439bdd27c..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle33/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -33 -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.osgi.core-4.3.1.jar -32 -1 -1397167801510 -0 diff --git a/TestingEnv/felix-cache/bundle33/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle33/version0.0/bundle.jar deleted file mode 100644 index d280bd9e85e3fc7b0e09434aac10331430fe32b4..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle33/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle33/version0.0/revision.location b/TestingEnv/felix-cache/bundle33/version0.0/revision.location deleted file mode 100644 index 37e7cde26b88fab6648d7075ae39d22beec69571..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle33/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/org.osgi.core-4.3.1.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle34/bundle.info b/TestingEnv/felix-cache/bundle34/bundle.info deleted file mode 100644 index a0069b124d8eaa4beebb421f8782e8d66bcfb1f7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle34/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -34 -file:/home/costea/workspace_sally4/TestingEnv/bundle/pax-logging-api-1.7.2.jar -32 -1 -1397167801516 -0 diff --git a/TestingEnv/felix-cache/bundle34/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle34/version0.0/bundle.jar deleted file mode 100644 index 7c1ade926c9200584e92ffe16da06532a95e6bef..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle34/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle34/version0.0/revision.location b/TestingEnv/felix-cache/bundle34/version0.0/revision.location deleted file mode 100644 index b56b1916ff8a1e7676f5e8dfb1cd4ea3da2da058..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle34/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/pax-logging-api-1.7.2.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle35/bundle.info b/TestingEnv/felix-cache/bundle35/bundle.info deleted file mode 100644 index 329698f97a10f2d40b6ed21ff2d89a435746d9a3..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle35/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -35 -file:/home/costea/workspace_sally4/TestingEnv/bundle/planetary-0.0.1-SNAPSHOT.jar -32 -1 -1397167801523 -0 diff --git a/TestingEnv/felix-cache/bundle35/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle35/version0.0/bundle.jar deleted file mode 100644 index 9adfa2b1965da82cbfc8e3d1962c2ab0b4d6f9cd..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle35/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle35/version0.0/revision.location b/TestingEnv/felix-cache/bundle35/version0.0/revision.location deleted file mode 100644 index 77615e459559d00adff613c89ece60c117815d91..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle35/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/planetary-0.0.1-SNAPSHOT.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle36/bundle.info b/TestingEnv/felix-cache/bundle36/bundle.info deleted file mode 100644 index 3964ce2de68728949f5c49d84d8e9c38434de5f7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle36/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -36 -file:/home/costea/workspace_sally4/TestingEnv/bundle/servlet-0.0.1-SNAPSHOT.jar -32 -1 -1397167801528 -0 diff --git a/TestingEnv/felix-cache/bundle36/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle36/version0.0/bundle.jar deleted file mode 100644 index 2fbb28c4bf80ef431a206eeb5f8cd871628084c3..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle36/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle36/version0.0/revision.location b/TestingEnv/felix-cache/bundle36/version0.0/revision.location deleted file mode 100644 index 44dda4f3c724e5c906bff380a7e4af23cd9897d8..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle36/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/servlet-0.0.1-SNAPSHOT.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle37/bundle.info b/TestingEnv/felix-cache/bundle37/bundle.info deleted file mode 100644 index 3ecaca69c8578de104b6502f2ace4a2c218a9bd0..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle37/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -37 -file:/home/costea/workspace_sally4/TestingEnv/bundle/servlet-api-2.5.jar -32 -1 -1397167801532 -0 diff --git a/TestingEnv/felix-cache/bundle37/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle37/version0.0/bundle.jar deleted file mode 100644 index fb5249346847105c26d30da1048d8e2c364e7d6f..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle37/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle37/version0.0/revision.location b/TestingEnv/felix-cache/bundle37/version0.0/revision.location deleted file mode 100644 index c6cdf5098a7c3403166a9f31d982cffad6037e2f..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle37/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/servlet-api-2.5.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle4/bundle.info b/TestingEnv/felix-cache/bundle4/bundle.info deleted file mode 100644 index 0fac1e8291d32ee7372a1649fdd03ef003f86b53..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle4/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -4 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-freemarker-2.12.3.jar -32 -1 -1397167801207 -0 diff --git a/TestingEnv/felix-cache/bundle4/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle4/version0.0/bundle.jar deleted file mode 100644 index 27316ed71f283b15b646adc47f8b4f676c89916d..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle4/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle4/version0.0/revision.location b/TestingEnv/felix-cache/bundle4/version0.0/revision.location deleted file mode 100644 index 3be1d387069d740f832cf6ce2b824328ed8a31aa..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle4/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-freemarker-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle5/bundle.info b/TestingEnv/felix-cache/bundle5/bundle.info deleted file mode 100644 index e2802c2a8eae9ccc89ac5ecdb36dcc4300eb8110..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle5/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -5 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-http-2.12.3.jar -32 -1 -1397167801218 -0 diff --git a/TestingEnv/felix-cache/bundle5/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle5/version0.0/bundle.jar deleted file mode 100644 index 8fb95d799597621f567684e491f783898e0f646a..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle5/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle5/version0.0/revision.location b/TestingEnv/felix-cache/bundle5/version0.0/revision.location deleted file mode 100644 index 6d811be01a3703a59ea227463d140b1ef6ce3717..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle5/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-http-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle6/bundle.info b/TestingEnv/felix-cache/bundle6/bundle.info deleted file mode 100644 index 1dea3a2592c7450d1a921cfa7a984d135a6bb5d4..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle6/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -6 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-jaxb-2.12.3.jar -32 -1 -1397167801232 -0 diff --git a/TestingEnv/felix-cache/bundle6/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle6/version0.0/bundle.jar deleted file mode 100644 index 384c6f000b0231d28c248e788dc0ead05a90872b..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle6/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle6/version0.0/revision.location b/TestingEnv/felix-cache/bundle6/version0.0/revision.location deleted file mode 100644 index d302b29ff2ea1724f6740b1f41a6f1ad5259a52f..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle6/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-jaxb-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle7/bundle.info b/TestingEnv/felix-cache/bundle7/bundle.info deleted file mode 100644 index 52161c08ff931f8170e8eca1c2e3174c9d853da3..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle7/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -7 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-servlet-2.12.3.jar -32 -1 -1397167801241 -0 diff --git a/TestingEnv/felix-cache/bundle7/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle7/version0.0/bundle.jar deleted file mode 100644 index dfd97f04c375a49654facb6a44f766f73f00a289..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle7/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle7/version0.0/revision.location b/TestingEnv/felix-cache/bundle7/version0.0/revision.location deleted file mode 100644 index 6ce98e6cfcadd66c3136cfbcaab1b8dcb3dd38f7..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle7/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-servlet-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle8/bundle.info b/TestingEnv/felix-cache/bundle8/bundle.info deleted file mode 100644 index 4420ef0e57d6b8a914d7285cc993f27e5da5b481..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle8/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -8 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-spring-2.12.3.jar -32 -1 -1397167801250 -0 diff --git a/TestingEnv/felix-cache/bundle8/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle8/version0.0/bundle.jar deleted file mode 100644 index 7935e2d6a87f7428642c116a616eca0e531f3d04..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle8/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle8/version0.0/revision.location b/TestingEnv/felix-cache/bundle8/version0.0/revision.location deleted file mode 100644 index c7865853ada1cbd86854decc4be27602fef4b66f..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle8/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-spring-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/bundle9/bundle.info b/TestingEnv/felix-cache/bundle9/bundle.info deleted file mode 100644 index e05876f09b7a1cb05d35a69705782cd0d7c60ecb..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle9/bundle.info +++ /dev/null @@ -1,6 +0,0 @@ -9 -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-sql-2.12.3.jar -32 -1 -1397167801279 -0 diff --git a/TestingEnv/felix-cache/bundle9/version0.0/bundle.jar b/TestingEnv/felix-cache/bundle9/version0.0/bundle.jar deleted file mode 100644 index 1ccd7799a15c18b8efa906abb4a18f251fdc8328..0000000000000000000000000000000000000000 Binary files a/TestingEnv/felix-cache/bundle9/version0.0/bundle.jar and /dev/null differ diff --git a/TestingEnv/felix-cache/bundle9/version0.0/revision.location b/TestingEnv/felix-cache/bundle9/version0.0/revision.location deleted file mode 100644 index 7aa558eabee31890d57a4e0cdb4f23203cbd9027..0000000000000000000000000000000000000000 --- a/TestingEnv/felix-cache/bundle9/version0.0/revision.location +++ /dev/null @@ -1 +0,0 @@ -file:/home/costea/workspace_sally4/TestingEnv/bundle/camel-sql-2.12.3.jar \ No newline at end of file diff --git a/TestingEnv/felix-cache/cache.lock b/TestingEnv/felix-cache/cache.lock deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/core/.classpath b/core/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..9ae7bca0fcb3390675e369adc223fabd87bf8b08 --- /dev/null +++ b/core/.classpath @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/core/.settings/org.eclipse.jdt.core.prefs b/core/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..abec6ca389ac6331e1f6466d9f67c8dd3406fb5a --- /dev/null +++ b/core/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/core/.settings/org.eclipse.m2e.core.prefs b/core/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65 --- /dev/null +++ b/core/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/docmanager/.classpath b/docmanager/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..395dbde027f67aca1db4bd4d077783059afb3acd --- /dev/null +++ b/docmanager/.classpath @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/docmanager/.settings/org.eclipse.jdt.core.prefs b/docmanager/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..abec6ca389ac6331e1f6466d9f67c8dd3406fb5a --- /dev/null +++ b/docmanager/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/docmanager/.settings/org.eclipse.m2e.core.prefs b/docmanager/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65 --- /dev/null +++ b/docmanager/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/planetary/.classpath b/planetary/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..395dbde027f67aca1db4bd4d077783059afb3acd --- /dev/null +++ b/planetary/.classpath @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry including="**/*.java" kind="src" path="src/main/resources"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/planetary/.settings/org.eclipse.jdt.core.prefs b/planetary/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..abec6ca389ac6331e1f6466d9f67c8dd3406fb5a --- /dev/null +++ b/planetary/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/planetary/.settings/org.eclipse.m2e.core.prefs b/planetary/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65 --- /dev/null +++ b/planetary/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1