Hi....I have this configuration:

    @Configuration

    public static Option[] configuration() {

        return options(felix(),

                       mavenConfiguration(),

                       provision(newBundle()

                            .add( ProvaService.class )

                            .add( RepositoryProvaService.class )

                                .set(Constants.BUNDLE_SYMBOLICNAME,
"SimpleTestBundle")

                                .set(Constants.EXPORT_PACKAGE,

                                      "com.sourcesense.example"
).build(withBnd()))

                       /*if[DEBUG]


,vmOption("-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005")

                       end[DEBUG]*/

                       );

    }



ProvaService is an interface implemented by the RepositoryProvaService. Here
the codes:


package com.sourcesense.example;

public interface ProvaService {

}



package com.sourcesense.example;

/**

 * @scr.component

 * @scr.service

 *

 * @scr.property name="service.vendor" value="Sourcesense"

 * @scr.property name="service.description" value="*Test*"

 */

public class SlingRepositoryProvaService implements ProvaService {


}




It creates a bundle that I show you , unzipping the temporary bundle from
folders/3V:


jar tvf
/var/folders/3V/3VaEooaVEmW0ku5CXLdzck+++TI/-Tmp-/tb/tinybundles_9e1f48a45cb2b6737370ea3a982a03ce971ba102.bin

   593 Fri Jan 28 14:45:58 CET 2011 META-INF/MANIFEST.MF

     0 Fri Jan 28 14:45:58 CET 2011 com/

     0 Fri Jan 28 14:45:58 CET 2011 com/sourcesense/

     0 Fri Jan 28 14:45:58 CET 2011 com/sourcesense/stone/

     0 Fri Jan 28 14:45:58 CET 2011 com/sourcesense/stone/jcr/

     0 Fri Jan 28 14:45:58 CET 2011 com/sourcesense/stone/jcr/modeshape/

     0 Fri Jan 28 14:45:58 CET 2011
com/sourcesense/stone/jcr/modeshape/server/

   150 Fri Jan 28 14:45:58 CET 2011
com/sourcesense/stone/jcr/modeshape/server/ProvaService2.class

   459 Fri Jan 28 14:45:58 CET 2011
com/sourcesense/stone/jcr/modeshape/server/SlingRepositoryProvaService2.class


So, the question is: where is the OSGI-INF directory generated by scr?
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to