You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cl...@apache.org on 2008/10/17 18:56:02 UTC

svn commit: r705670 - in /felix/sandbox/clement/ipojo-tutorials/annotation.tutorial: ./ felix/ felix/bin/ felix/bundle/ felix/conf/ felix/ipojo/ hello.client.annotation/ hello.client.annotation/src/ hello.client.annotation/src/main/ hello.client.annota...

Author: clement
Date: Fri Oct 17 09:56:01 2008
New Revision: 705670

URL: http://svn.apache.org/viewvc?rev=705670&view=rev
Log:
Commit the sources of the annotation tutorial

Added:
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/build.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE.kxml2
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/NOTICE
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bin/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bin/felix.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.bundlerepository-1.0.3.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell-1.0.1.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell.tui-1.0.1.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/config.properties
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo-0.8.0.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.arch-0.8.0.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.composite-0.8.1.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.log-0.9.0-SNAPSHOT.jar   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/script.txt
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/metadata.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/pom.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/resources/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/pom.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/metadata.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/   (with props)
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/metadata.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/pom.xml
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/Hello.java
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/resources/
    felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/pom.xml

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Oct 17 09:56:01 2008
@@ -0,0 +1,4 @@
+.classpath
+.project
+bin
+dist

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/build.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/build.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/build.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/build.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+
+<project name="annotation.tutorial" default="dist" basedir=".">
+
+
+	<target name="clean">
+		<!-- clean Felix cache -->
+		<delete dir="felix/cache"/>
+	</target>
+
+	<target name="dist" depends="clean">
+		<delete dir="dist"/>
+		<mkdir dir="dist"/>
+		<zip destfile="dist/annotation-tutorial.zip">
+			<fileset dir=".">
+				<exclude name="dist/"/>
+				<exclude name="build.xml"/>
+				<exclude name="*/target/"/>
+				<exclude name=".*"/>
+				<exclude name="*/_*"/>
+				<exclude name="bin/"/>
+			</fileset>
+		</zip>
+	</target>
+
+</project>

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE Fri Oct 17 09:56:01 2008
@@ -0,0 +1,202 @@
+
+                                 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.

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE.kxml2
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE.kxml2?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE.kxml2 (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/LICENSE.kxml2 Fri Oct 17 09:56:01 2008
@@ -0,0 +1,19 @@
+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. 

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/NOTICE
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/NOTICE?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/NOTICE (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/NOTICE Fri Oct 17 09:56:01 2008
@@ -0,0 +1,30 @@
+Apache Felix Main
+Copyright 2008 The Apache Software Foundation
+
+
+I. Included Software
+
+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 2006 The OSGi Alliance.
+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 Software
+
+This product uses software developed at
+The OSGi Alliance (http://www.osgi.org/).
+Copyright 2006 The OSGi Alliance.
+Licensed under the Apache License 2.0.
+
+
+III. License Summary
+- Apache License 2.0
+- BSD License

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bin/felix.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bin/felix.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bin/felix.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.bundlerepository-1.0.3.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.bundlerepository-1.0.3.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.bundlerepository-1.0.3.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell-1.0.1.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell-1.0.1.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell-1.0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell.tui-1.0.1.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell.tui-1.0.1.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/bundle/org.apache.felix.shell.tui-1.0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/config.properties
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/config.properties?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/config.properties (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/conf/config.properties Fri Oct 17 09:56:01 2008
@@ -0,0 +1,478 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#
+# Framework config properties.
+#
+org.osgi.framework.system.packages=org.osgi.framework; version=1.4.0, \
+ org.osgi.service.packageadmin; version=1.2.0, \
+ org.osgi.service.startlevel; version=1.0.0, \
+ org.osgi.service.url; version=1.0.0, \
+ org.osgi.util.tracker; version=1.3.2 \
+ ${jre-${java.specification.version}}
+
+#org.osgi.framework.bootdelegation=sun.*,com.sun.*
+#felix.cache.profile=foo
+felix.cache.dir=cache
+felix.auto.start.1= \
+ file:bundle/org.apache.felix.shell-1.0.1.jar \
+ file:bundle/org.apache.felix.shell.tui-1.0.1.jar \
+ file:bundle/org.apache.felix.bundlerepository-1.0.3.jar \
+ file:ipojo/org.apache.felix.ipojo-0.8.0.jar
+felix.log.level=4
+felix.startlevel.framework=1
+felix.startlevel.bundle=1
+#felix.service.urlhandlers=false
+
+#
+# Bundle config properties.
+#
+org.osgi.service.http.port=8080
+osgi.shell.telnet=on
+#obr.repository.url=http://bundles.osgi.org/obr/browse?_xml=1&cmd=repository
+
+
+#
+# Java platform package export properties.
+#
+jre-1.3=, \
+ javax.accessibility; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ version="1.3.0"
+
+jre-1.4=, \
+ javax.accessibility; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.4.0"
+
+jre-1.5=, \
+ javax.accessibility; \
+ javax.activity; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version="1.5.0"
+
+jre-1.6=, \
+ javax.accessibility; \
+ javax.activation; \
+ javax.activity; \
+ javax.annotation; \
+ javax.annotation.processing; \
+ javax.crypto; \
+ javax.crypto.interfaces; \
+ javax.crypto.spec; \
+ javax.imageio; \
+ javax.imageio.event; \
+ javax.imageio.metadata; \
+ javax.imageio.plugins.bmp; \
+ javax.imageio.plugins.jpeg; \
+ javax.imageio.spi; \
+ javax.imageio.stream; \
+ javax.jws; \
+ javax.jws.soap; \
+ javax.lang.model; \
+ javax.lang.model.element; \
+ javax.lang.model.type; \
+ javax.lang.model.util; \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
+ javax.naming; \
+ javax.naming.directory; \
+ javax.naming.event; \
+ javax.naming.ldap; \
+ javax.naming.spi; \
+ javax.net; \
+ javax.net.ssl; \
+ javax.print; \
+ javax.print.attribute; \
+ javax.print.attribute.standard; \
+ javax.print.event; \
+ javax.rmi; \
+ javax.rmi.CORBA; \
+ javax.rmi.ssl; \
+ javax.script; \
+ javax.security.auth; \
+ javax.security.auth.callback; \
+ javax.security.auth.kerberos; \
+ javax.security.auth.login; \
+ javax.security.auth.spi; \
+ javax.security.auth.x500; \
+ javax.security.cert; \
+ javax.security.sasl; \
+ javax.sound.midi; \
+ javax.sound.midi.spi; \
+ javax.sound.sampled; \
+ javax.sound.sampled.spi; \
+ javax.sql; \
+ javax.sql.rowset; \
+ javax.sql.rowset.serial; \
+ javax.sql.rowset.spi; \
+ javax.swing; \
+ javax.swing.border; \
+ javax.swing.colorchooser; \
+ javax.swing.event; \
+ javax.swing.filechooser; \
+ javax.swing.plaf; \
+ javax.swing.plaf.basic; \
+ javax.swing.plaf.metal; \
+ javax.swing.plaf.multi; \
+ javax.swing.plaf.synth; \
+ javax.swing.table; \
+ javax.swing.text; \
+ javax.swing.text.html; \
+ javax.swing.text.html.parser; \
+ javax.swing.text.rtf; \
+ javax.swing.tree; \
+ javax.swing.undo; \
+ javax.tools; \
+ javax.transaction; \
+ javax.transaction.xa; \
+ javax.xml; \
+ javax.xml.bind; \
+ javax.xml.bind.annotation; \
+ javax.xml.bind.annotation.adapters; \
+ javax.xml.bind.attachment; \
+ javax.xml.bind.helpers; \
+ javax.xml.bind.util; \
+ javax.xml.crypto; \
+ javax.xml.crypto.dom; \
+ javax.xml.crypto.dsig; \
+ javax.xml.crypto.dsig.dom; \
+ javax.xml.crypto.dsig.keyinfo; \
+ javax.xml.crypto.dsig.spec; \
+ javax.xml.datatype; \
+ javax.xml.namespace; \
+ javax.xml.parsers; \
+ javax.xml.soap; \
+ javax.xml.stream; \
+ javax.xml.stream.events; \
+ javax.xml.stream.util; \
+ javax.xml.transform; \
+ javax.xml.transform.dom; \
+ javax.xml.transform.sax; \
+ javax.xml.transform.stax; \
+ javax.xml.transform.stream; \
+ javax.xml.validation; \
+ javax.xml.ws; \
+ javax.xml.ws.handler; \
+ javax.xml.ws.handler.soap; \
+ javax.xml.ws.http; \
+ javax.xml.ws.soap; \
+ javax.xml.ws.spi; \
+ javax.xml.xpath; \
+ org.ietf.jgss; \
+ org.omg.CORBA; \
+ org.omg.CORBA_2_3; \
+ org.omg.CORBA_2_3.portable; \
+ org.omg.CORBA.DynAnyPackage; \
+ org.omg.CORBA.ORBPackage; \
+ org.omg.CORBA.portable; \
+ org.omg.CORBA.TypeCodePackage; \
+ org.omg.CosNaming; \
+ org.omg.CosNaming.NamingContextExtPackage; \
+ org.omg.CosNaming.NamingContextPackage; \
+ org.omg.Dynamic; \
+ org.omg.DynamicAny; \
+ org.omg.DynamicAny.DynAnyFactoryPackage; \
+ org.omg.DynamicAny.DynAnyPackage; \
+ org.omg.IOP; \
+ org.omg.IOP.CodecFactoryPackage; \
+ org.omg.IOP.CodecPackage; \
+ org.omg.Messaging; \
+ org.omg.PortableInterceptor; \
+ org.omg.PortableInterceptor.ORBInitInfoPackage; \
+ org.omg.PortableServer; \
+ org.omg.PortableServer.CurrentPackage; \
+ org.omg.PortableServer.POAManagerPackage; \
+ org.omg.PortableServer.POAPackage; \
+ org.omg.PortableServer.portable; \
+ org.omg.PortableServer.ServantLocatorPackage; \
+ org.omg.SendingContext; \
+ org.omg.stub.java.rmi; \
+ org.omg.stub.javax.management.remote.rmi; \
+ org.w3c.dom; \
+ org.w3c.dom.bootstrap; \
+ org.w3c.dom.css; \
+ org.w3c.dom.events; \
+ org.w3c.dom.html; \
+ org.w3c.dom.ls; \
+ org.w3c.dom.ranges; \
+ org.w3c.dom.stylesheets; \
+ org.w3c.dom.traversal; \
+ org.w3c.dom.views; \
+ org.w3c.dom.xpath; \
+ org.xml.sax; \
+ org.xml.sax.ext; \
+ org.xml.sax.helpers; \
+ version=\"1.6.0\"

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo-0.8.0.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo-0.8.0.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo-0.8.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.arch-0.8.0.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.arch-0.8.0.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.arch-0.8.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.composite-0.8.1.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.composite-0.8.1.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.ipojo.composite-0.8.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.log-0.9.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.log-0.9.0-SNAPSHOT.jar?rev=705670&view=auto
==============================================================================
Binary file - no diff available.

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/ipojo/org.apache.felix.log-0.9.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/script.txt
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/script.txt?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/script.txt (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/felix/script.txt Fri Oct 17 09:56:01 2008
@@ -0,0 +1,6 @@
+start file:../hello.service/target/hello.service-0.8.0-SNAPSHOT.jar
+start file:../hello.impl.annotation/target/hello.impl.annotation-0.8.0-SNAPSHOT.jar
+start file:../hello.client.annotation/target/hello.client.annotation-0.8.0-SNAPSHOT.jar
+
+
+

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Oct 17 09:56:01 2008
@@ -0,0 +1,3 @@
+.classpath
+.project
+.settings

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/metadata.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/metadata.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/metadata.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/metadata.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<iPOJO>
+  <instance component="AnnotatedHelloClient" name="HelloClient"/>
+</iPOJO>
\ No newline at end of file

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/pom.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/pom.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/pom.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/pom.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,58 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <packaging>bundle</packaging>
+  <groupId>ipojo.examples</groupId>
+  <artifactId>hello.client.annotation</artifactId>
+   <version>0.8.0-SNAPSHOT</version>
+  <name>Hello Service Client using Annotations</name>
+  
+  <dependencies>
+    <dependency>
+      <groupId>ipojo.examples</groupId>
+      <artifactId>hello.service</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.ipojo.annotations</artifactId>
+      <version>0.8.0</version>
+    </dependency>
+  </dependencies>
+  
+  
+  <build>
+    <plugins>
+     <plugin>
+		<groupId>org.apache.maven.plugins</groupId>
+		<artifactId>maven-compiler-plugin</artifactId>
+		<configuration>
+		<source>1.5</source>
+		<target>1.5</target>
+		</configuration>
+	  </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+            <Private-Package>ipojo.example.hello.client</Private-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+	      <groupId>org.apache.felix</groupId>
+	      <artifactId>maven-ipojo-plugin</artifactId>
+		  <version>0.8.0</version>
+		  <executions>
+          	<execution>
+            	<goals>
+	              <goal>ipojo-bundle</goal>
+               </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.client.annotation/src/main/java/ipojo/example/hello/client/HelloClient.java Fri Oct 17 09:56:01 2008
@@ -0,0 +1,90 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package ipojo.example.hello.client;
+
+import ipojo.example.hello.Hello;
+
+import org.apache.felix.ipojo.annotations.Component;
+import org.apache.felix.ipojo.annotations.Invalidate;
+import org.apache.felix.ipojo.annotations.Requires;
+import org.apache.felix.ipojo.annotations.Validate;
+
+/**
+ * A simple Hello service client. This client use annotation instead of XML metadata.
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
+ */
+@Component(name = "AnnotatedHelloClient", architecture = true)
+public class HelloClient implements Runnable {
+    
+    /** Delay between two invocations. */
+    private static final int DELAY = 10000;
+
+    /**
+     * Hello services. Injected by the container.
+     */
+    @Requires
+    private Hello[] m_hello;
+
+    /**
+     *  End flag.
+     */
+    private boolean m_end;
+
+    /**
+     * Run method.
+     * @see java.lang.Runnable#run()
+     */
+    public void run() {
+        while (!m_end) {
+            try {
+                invokeHelloServices();
+                Thread.sleep(DELAY);
+            } catch (InterruptedException ie) {
+                /* will recheck end */
+            }
+        }
+    }
+
+    /**
+     * Invoke hello services.
+     */
+    public void invokeHelloServices() {
+        for (int i = 0; i < m_hello.length; i++) {
+            System.out.println(i + " :" + m_hello[i].sayHello("Clement"));
+        }
+    }
+
+    /**
+     * Starting.
+     */
+    @Validate
+    public void starting() {
+        Thread thread = new Thread(this);
+        m_end = false;
+        thread.start();
+    }
+
+    /**
+     * Stopping.
+     */
+    @Invalidate
+    public void stopping() {
+        m_end = true;
+    }
+}

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Oct 17 09:56:01 2008
@@ -0,0 +1,3 @@
+.classpath
+.project
+.settings

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/pom.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/pom.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/pom.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/pom.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,80 @@
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you under the Apache License, Version 2.0 (the
+	"License"); you may not use this file except in compliance
+	with the License.  You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing,
+	software distributed under the License is distributed on an
+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+	KIND, either express or implied.  See the License for the
+	specific language governing permissions and limitations
+	under the License.
+-->
+<project>
+	<modelVersion>4.0.0</modelVersion>
+	<packaging>bundle</packaging>
+	<groupId>ipojo.examples</groupId>
+	<artifactId>hello.impl.annotation</artifactId>
+	<version>0.8.0-SNAPSHOT</version>
+	<name>Hello Service Provider using Annotations</name>
+
+
+	<dependencies>
+		<dependency>
+			<groupId>ipojo.examples</groupId>
+			<artifactId>hello.service</artifactId>
+			<version>0.8.0-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.ipojo.annotations</artifactId>
+			<version>0.8.0</version>
+		</dependency>
+	</dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>
+							${pom.artifactId}
+						</Bundle-SymbolicName>
+						<Private-Package>
+							ipojo.example.hello.impl
+						</Private-Package>
+					</instructions>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-ipojo-plugin</artifactId>
+				<version>0.8.0</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>ipojo-bundle</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/java/ipojo/example/hello/impl/HelloImpl.java Fri Oct 17 09:56:01 2008
@@ -0,0 +1,42 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package ipojo.example.hello.impl;
+
+import ipojo.example.hello.Hello;
+
+import org.apache.felix.ipojo.annotations.Component;
+import org.apache.felix.ipojo.annotations.Provides;
+
+/**
+ * Component implementing the Hello service.
+ * This class used annotations to describe the component type. 
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
+ */
+@Component
+@Provides
+public class HelloImpl implements Hello {
+    
+    /**
+     * Returns an 'Hello' message.
+     * @param name : name
+     * @return Hello message
+     * @see ipojo.example.hello.Hello#sayHello(java.lang.String)
+     */
+    public String sayHello(String name) { return "hello " + name + " @";  }
+}

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/metadata.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/metadata.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/metadata.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.impl.annotation/src/main/resources/metadata.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<iPOJO>
+	<instance component="ipojo.example.hello.impl.HelloImpl"
+		name="HelloService2" />
+</iPOJO>
\ No newline at end of file

Propchange: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Oct 17 09:56:01 2008
@@ -0,0 +1,2 @@
+.classpath
+.project

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/metadata.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/metadata.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/metadata.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/metadata.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<iPOJO>
+  <component className="ipojo.example.hello.impl.HelloImpl" name="HelloProvider" architecture="true">
+    <provides/>
+  </component>
+  <instance component="HelloProvider" name="HelloService"/>
+</iPOJO>
\ No newline at end of file

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/pom.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/pom.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/pom.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/pom.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,47 @@
+<!--
+	Licensed to the Apache Software Foundation (ASF) under one
+	or more contributor license agreements.  See the NOTICE file
+	distributed with this work for additional information
+	regarding copyright ownership.  The ASF licenses this file
+	to you under the Apache License, Version 2.0 (the
+	"License"); you may not use this file except in compliance
+	with the License.  You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing,
+	software distributed under the License is distributed on an
+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+	KIND, either express or implied.  See the License for the
+	specific language governing permissions and limitations
+	under the License.
+-->
+<project>
+	<modelVersion>4.0.0</modelVersion>
+	<packaging>bundle</packaging>
+	<groupId>ipojo.examples</groupId>
+	<artifactId>hello.service</artifactId>
+	<version>0.8.0-SNAPSHOT</version>
+	<name>Hello Service</name>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<version>1.4.3</version>
+				<extensions>true</extensions>
+				<configuration>
+					<instructions>
+						<Bundle-SymbolicName>
+							${pom.artifactId}
+						</Bundle-SymbolicName>
+						<Export-Package>
+							ipojo.example.hello
+						</Export-Package>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/Hello.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/Hello.java?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/Hello.java (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/hello.service/src/main/java/ipojo/example/hello/Hello.java Fri Oct 17 09:56:01 2008
@@ -0,0 +1,33 @@
+/* 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package ipojo.example.hello;
+
+/**
+ * Hello Interface.
+ * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
+ */
+public interface Hello {
+
+    /**
+     * Returns a message like: "Hello $user_name".
+     * @param name the name
+     * @return the hello message
+     */
+    String sayHello(String name);
+}

Added: felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/pom.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/pom.xml?rev=705670&view=auto
==============================================================================
--- felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/pom.xml (added)
+++ felix/sandbox/clement/ipojo-tutorials/annotation.tutorial/pom.xml Fri Oct 17 09:56:01 2008
@@ -0,0 +1,52 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>ipojo.tutorial</artifactId>
+  <groupId>ipojo.examples</groupId>
+  <version>0.8.0-SNAPSHOT</version>
+  <name>Apache Felix iPOJO Annotation Tutorial</name>
+  <packaging>pom</packaging>
+  <modules>
+	<module>hello.service</module>
+  </modules>
+  
+  <profiles>
+	<profile>
+		<id>java5</id>
+		<activation>
+			<jdk>1.5</jdk>
+		</activation>
+		<modules>
+			<module>hello.impl.annotation</module>
+			<module>hello.client.annotation</module>
+		</modules>
+	</profile>
+	<profile>
+		<id>java6</id>
+		<activation>
+			<jdk>1.6</jdk>
+		</activation>
+		<modules>
+			<module>hello.impl.annotation</module>
+			<module>hello.client.annotation</module>
+		</modules>
+	</profile>
+  </profiles>
+</project>
\ No newline at end of file