Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Getting rid of Import-Package and Export-Package

RE: Custom log4j appenders and fragments
(19 lines)
Missing Constraint: Import-Package
(75 lines)
Jul 20, 2010
Sudhir Dharmadhikari
Sudhir Dharmadhikari
I am trying simple osgi bundle which has every dependency embedded 
inside my bundle. By default, bundle-plugin creates several entries in 
Import-Package and Export-Package . I want to get rid of them 
completely. I tried several ways . If I try giving empty Import-Package 
, it fails at build. I tried blank _exportcontents, does not work too !

Any clue ?


Reply
Tags: bundleways
Messages in this thread
Getting rid of Import-Package and Export-Package
Similar Threads
Missing Constraint: Import-Package
I am trying to build my maven project into a bundle using the
maven-bundle-plugin with all its dependencies (it depends on
guice-2.0.jar). In my pom file I have:

   <build>
    <plugins>
        <plugin>
        	<groupId>org.apache.felix</groupId>
        	<artifactId>maven-bundle-plugin</artifactId>
        	<version>2.1.0</version>
           <extensions>true</extensions>
           <configuration>
              <instructions>

<Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
                  <Bundle-Name>${pom.name}</Bundle-Name>
                 
<Bundle-Version>${pom.version}</Bundle-Version>
                 
<Bundle-Activator>com.generator.Activator</Bundle-Activator>
                 
<Private-Package>com.generator</Private-Package>
                  <Embed-Transitive>true</Embed-Transitive>
	         
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
              </instructions>
           </configuration>         	
        </plugin>
    </plugins>
   </build>

After building the project using mvn install I get a jar file with all
the dependencies. I then try to run it through the OSGI console after
installing it but I get the error:

osgi> start 15
org.osgi.framework.BundleException: The bundle
"com.generator_1.1.1.SNAPSHOT [15]" could not be resolved. Reason:
Missing Constraint: Import-Package:
com.google.inject.internal.asm.util; version="0.0.0"
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:252)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:156)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:141)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:105)
        at java.lang.Thread.run(Unknown Source)

osgi>

The problem seems to be related to the
com.google.inject.internal.asm.util package but I have not been able
to find that package anywhere (not even in  guice-2.0.jar). Any ideas
on how to solve this problem?


Created: (FELIX-2481) Renaming a package via refactoring should update any workspace package exports
Renaming a package via refactoring should update any workspace package
exports/imports

Created: (CXF-2885) Wrong import package version for javax.servlet
Wrong import package version for javax.servlet

Unresolved constraint package; (&(package=org.osgi.framework)(version>=1.5.0))
hello,

i am very new to osgi so maybe my issue is something trivial, but i did
not find solution for it while googling.

i have basic webapp that works fine if i install there felix osgi log
implementation and other felix bundles. i decided to try to code my own
implementation of osgi log service. i think i did all correctly, but
when i try to start my webapp with my implementation of log service, i
get this error:

ERROR: Error starting
jndi:/localhost/webapp/WEB-INF/bundles/commons-logservice-osgi-1.0-SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
cz.startnet.commons-logservice-osgi [2]: package;
(&(package=org.osgi.framework)(version>=1.5.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
cz.startnet.commons-logservice-osgi [2]: package;
(&(package=org.osgi.framework)(version>=1.5.0))
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3299)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1657)
        at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1128)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)

manifest of commons-logservice-osgi contains this (and ofc other lines):
Export-Package: cz.startnet.commons.org.osgi.service.log,org.osgi.serv
 ice.log;uses:="org.osgi.framework";version="1.3"
Import-Package: cz.startnet.commons.org.osgi.service.log,org.osgi.fram
 ework;version="1.5",org.osgi.service.log;version="1.3"

manifest was generated by maven-bundle-plugin.

this is structure of my webapp:

target/
|-- bundles
|   |-- commons-logservice-osgi-1.0-SNAPSHOT.jar
|   |-- org.apache.felix.http.bridge-2.0.4.jar
|   `-- org.apache.felix.webconsole-3.0.0.jar
|-- classes
|   `-- cz
|       `-- startnet
|           `-- webapp
|               |-- FrameworkService.class
|               |-- ProvisionActivator.class
|               `-- StartupListener.class
|-- felix-cache
|   |-- bundle0
|   |   `-- bundle.id
|   |-- bundle1
|   |   |-- bundle.id
|   |   |-- bundle.lastmodified
|   |   |-- bundle.location
|   |   |-- bundle.startlevel
|   |   |-- bundle.state
|   |   `-- version0.0
|   |       |-- bundle.jar
|   |       |-- bundle.jar-embedded
|   |       |   |-- commons-fileupload-1.1.1.jar
|   |       |   |-- commons-io-1.4.jar
|   |       |   `-- json-20070829.jar
|   |       `-- revision.location
|   |-- bundle2
|   |   |-- bundle.id
|   |   |-- bundle.lastmodified
|   |   |-- bundle.location
|   |   |-- bundle.startlevel
|   |   |-- bundle.state
|   |   `-- version0.0
|   |       |-- bundle.jar
|   |       `-- revision.location
|   `-- bundle3
|       |-- bundle.id
|       |-- bundle.lastmodified
|       |-- bundle.location
|       |-- bundle.startlevel
|       |-- bundle.state
|       `-- version0.0
|           |-- bundle.jar
|           `-- revision.location
|-- maven-archiver
|   `-- pom.properties
|-- war
|   `-- work
|       `-- webapp-cache.xml
|-- webapp
|   |-- META-INF
|   |   `-- context.xml
|   `-- WEB-INF
|       |-- bundles
|       |   |-- commons-logservice-osgi-1.0-SNAPSHOT.jar
|       |   |-- org.apache.felix.http.bridge-2.0.4.jar
|       |   `-- org.apache.felix.webconsole-3.0.0.jar
|       |-- classes
|       |   `-- cz
|       |       `-- startnet
|       |           `-- webapp
|       |               |-- FrameworkService.class
|       |               |-- ProvisionActivator.class
|       |               `-- StartupListener.class
|       |-- framework.properties
|       |-- lib
|       |   |-- org.apache.felix.framework-2.0.5.jar
|       |   |-- org.apache.felix.http.proxy-2.0.4.jar
|       |   |-- org.osgi.compendium-4.2.0.jar
|       |   `-- org.osgi.core-4.2.0.jar
|       `-- web.xml
`-- webapp.war

26 directories, 47 files


anyone knows what i am doing wrong that commons-logservice-osgi cannot
be started? thx for any hints.

Miroslav


jackrabbit 1.6.2 import/export
Hi everyone,

my export/import method as follow:

    /**
     * 
     * @param path node path
     * @param xmlfileName xml file name eg:"systemview.xml"
     */
    public void exportData(final String path, final String xmlfileName){
        jcrTemplate.execute(new JcrCallback(){
            public Object doInJcr(Session session) throws IOException,
                    RepositoryException {
                File outputFile = new File(xmlfileName);
                FileOutputStream out = new FileOutputStream(outputFile);
                session.exportSystemView(CMSUtil.normalizedPath(path),
out, false, false);
                return null;
            }
        });
    }

    /**
     * 
     * @param path node path
     * @param xmlfileName xml file name eg:"systemview.xml"
     */
    public void importData(final String path, final String xmlfileName){
        jcrTemplate.execute(new JcrCallback(){
            public Object doInJcr(Session session) throws IOException,
                    RepositoryException {
                File inputFile = new File(xmlfileName);
                FileInputStream in = new FileInputStream(inputFile);
                session.importXML
                         (CMSUtil.normalizedPath(path), in,
ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
                return null;
            }
        });
        jcrTemplate.save();
    }

I do exportData("/","file.xml"), then changed the repository.xml of
jackrabbit 1.6.2, (add datastore, change
org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager to
org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager ) and
drop the db tables jackrabbit use,( also the workspace.xml in repo home
directory). and I got follow error info when i importData("/", "file.xml").

org.springframework.dao.DataIntegrityViolationException: Constraint has
been violated; nested exception is
javax.jcr.nodetype.ConstraintViolationException: Unable to perform
operation. Node is protected.
at
org.springmodules.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:182)
at
org.springmodules.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:82)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
at
com.tingup.cms.service.impl.JcrNodeServiceOcmImpl.importData(JcrNodeServiceOcmImpl.java:101)
[..............................]
Caused by: javax.jcr.nodetype.ConstraintViolationException: Unable to
perform operation. Node is protected.
at
org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:300)
at
org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:274)
at
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:805)
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1646)
at
org.apache.jackrabbit.core.xml.SessionImporter.createNode(SessionImporter.java:95)
at
org.apache.jackrabbit.core.xml.SessionImporter.startNode(SessionImporter.java:230)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:86)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.startElement(SysViewImportHandler.java:127)
at
org.apache.jackrabbit.core.xml.ImportHandler.startElement(ImportHandler.java:166)
at
org.apache.jackrabbit.commons.xml.DefaultContentHandler.startElement(DefaultContentHandler.java:162)
[..............................]


I also tried create a new node "/test" in the jackrabbit root node, and
importData("/test", "file.xml"). get the follow error:
2010-07-12 23:27:06,019 [http-8080-1] ERROR
com.tingup.cms.portlet.CmsImportExportPortlet - Constraint has been
violated; nested exception is
javax.jcr.nodetype.ConstraintViolationException: no definition found in
parent node's node type for new node: no matching child node definition
found for {http://www.jcp.org/jcr/1.0}root:" rel="nofollow" target="_blank">http://www.jcp.org/jcr/1.0}root: no matching child node
definition found for {http://www.jcp.org/jcr/1.0}root
org.springframework.dao.DataIntegrityViolationException: Constraint has
been violated; nested exception is
javax.jcr.nodetype.ConstraintViolationException: no definition found in
parent node's node type for new node: no matching child node definition
found for {http://www.jcp.org/jcr/1.0}root:" rel="nofollow" target="_blank">http://www.jcp.org/jcr/1.0}root: no matching child node
definition found for {http://www.jcp.org/jcr/1.0}root
at
org.springmodules.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:182)
at
org.springmodules.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:82)
at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
at
com.tingup.cms.service.impl.JcrNodeServiceOcmImpl.importData(JcrNodeServiceOcmImpl.java:101)
[..................................]
Caused by: javax.jcr.nodetype.ConstraintViolationException: no definition
found in parent node's node type for new node: no matching child node
definition found for {http://www.jcp.org/jcr/1.0}root:" rel="nofollow" target="_blank">http://www.jcp.org/jcr/1.0}root: no matching child
node definition found for {http://www.jcp.org/jcr/1.0}root
at
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:775)
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1646)
at
org.apache.jackrabbit.core.xml.SessionImporter.createNode(SessionImporter.java:95)
at
org.apache.jackrabbit.core.xml.SessionImporter.startNode(SessionImporter.java:230)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:86)
at
org.apache.jackrabbit.core.xml.SysViewImportHandler.startElement(SysViewImportHandler.java:127)
at
org.apache.jackrabbit.core.xml.ImportHandler.startElement(ImportHandler.java:166)
at
org.apache.jackrabbit.commons.xml.DefaultContentHandler.startElement(DefaultContentHandler.java:162)
[..................................]
Caused by: javax.jcr.nodetype.ConstraintViolationException: no matching
child node definition found for {http://www.jcp.org/jcr/1.0}root
at
org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicableChildNodeDef(EffectiveNodeType.java:732)
at
org.apache.jackrabbit.core.NodeImpl.getApplicableChildNodeDefinition(NodeImpl.java:886)
at
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:771)
... 117 more


Help me! thanks very much.

Regards, 
tingup 


Created: (AVRO-567) add tools for text file import and export
add tools for text file import and export

Created: (FELIX-2483) Removing an export should prompt to remove corresponding import
Removing an export should prompt to remove corresponding import

Centos 5 package
I'm having a hard time getting activemq-cpp built on Centos 5.  Sadly,
there
is not a package available for it in any of the various repositories out
there, though I can find Fedora and Ubuntu builds in the wild.

I don't want to have to build all of these packages from source as I'm
building 32 bit versions on a 64 bit machine and cross-compiler issues
complicate things.


rpm -ivh activemq-cpp-3.1.2-1.fc14.i686.rpm 
error: Failed dependencies:
	libdb-4.8.so is needed by activemq-cpp-3.1.2-1.fc14.i686
	libexpat.so.1 is needed by activemq-cpp-3.1.2-1.fc14.i686
	liblber-2.4.so.2 is needed by activemq-cpp-3.1.2-1.fc14.i686
	libldap-2.4.so.2 is needed by activemq-cpp-3.1.2-1.fc14.i686
	libstdc++.so.6(GLIBCXX_3.4.11) is needed by
activemq-cpp-3.1.2-1.fc14.i686
	libstdc++.so.6(GLIBCXX_3.4.9) is needed by activemq-cpp-3.1.2-1.fc14.i686
	rpmlib(FileDigests) <= 4.6.0-1 is needed by
activemq-cpp-3.1.2-1.fc14.i686
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by
activemq-cpp-3.1.2-1.fc14.i686

Any tips on a where I can find a prebuilt package?  




Re: ZkClient package
Jun Rao:
 Hi,
 
 ZkClient (http://github.com/sgroschupf/zkclient) provides a nice
wrapper
 around the ZooKeeper client and handles things like retry during
 ConnectionLoss events, and auto reconnect. Does anyone (other than
Katta)
 use it? Would people recommend using it? Thanks,
 
 Jun
Hi Jun,

I have some ideas for an alternative Zk Client design, but haven't had the

time yet to hack it together:
http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-
dev/201005.mbox/%3C20100526150### @koch.ro%3E

I don't like zkClient very much, but it's the best thing available by now 
AFAIK. Also have a look at this bug:
http://oss.101tec.com/jira/browse/KATTA-137

Best regards,

Thomas Koch, http://www.koch.ro


all-in-one package distribution
We're days away from the release (It will happen this week, I promise).

Our all-in-one package is jruby+buildr, using a script put together by
Alex.
It delivers well: we get to have tight integration with jruby which gives
us
a ant-like solution.

However we cannot, I think, make it available from the Apache downloads,
for
licensing reasons.

I think a minima we should make it available from the rubyforge website.
Is
everybody ok with that ?
I also contacted the jruby maintainers to give them a heads up. Maybe
they'd
like to host on jruby.org ?

So I'd like to open an informal vote here. I'm ok with making this
all-in-one package available in both places if possible.

What's your take ?

Antoine


Re: ZkClient package
I use it at my job at kaChing. Generally it is just fine for the job,
doing what you'd expect.

My criticisms are that it is very thin on documentation (javadoc),
which may have been improved, and I don't like how it makes every zk
exception into a RuntimeException.

But I'm thumbs up.

.. Adam

On Mon, Jul 12, 2010 at 4:10 PM, Jun Rao <jun### @gmail.com> wrote:
 Hi,

 ZkClient (http://github.com/sgroschupf/zkclient) provides a nice
wrapper
 around the ZooKeeper client and handles things like retry during
 ConnectionLoss events, and auto reconnect. Does anyone (other than
Katta)
 use it? Would people recommend using it? Thanks,

 Jun



Re: do X if package Y is installed?
On 6/25/2010 12:03 AM, Bill Weiss wrote:
 My problem is, in this case, there are machines that need X but not
 Y, Y but not X, X and Y, or neither.  I can obviously write all of
 those cases out separately, but that means duplication of code for
 setting up the parts of X and Y that aren't dependant.

 Custom facts are probably the best way for me to do this, but I'd
 love to hear that there's a simpler way.


If you can decide in your node source (site.pp or external) which 
components are needed, this is very easy:


   node a { include X }
   node b { include Y }
   node c { include X,Y }
   node d { }


If you **cannot** decide in your node source, you're probably doing 
something wrong[1] and need to explain your problem better.



Best Regards, David

[1] I know, converting legacy systems is a pain, but IMHO you're still 
better off doing a manual survey and nailing it down instead of trying 
to make automatic decisions that'll backfire down the road.


        FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg





apt-rpm package downgrade
Hi,

I am using apt-rpm provider and have following manifest for keeping some
package 
at particular version

  package { "somepackage":
    ensure => "1.0.0"
  }

however if from some reason the package gets upgraded to some higher
version, 
puppet can't downgrade it because of following error:

Jul 13 11:32:25 server puppetd[14095]:
(//module/Package[somepackage]/ensure) 
change from 1.0.1 to 1.0.0 failed: Could not update: Execution of 
'/usr/bin/apt-get -q -y install somepackage=1.0.0' returned 100: Reading
Package 
Lists... Building Dependency Tree... The following packages will be
DOWNGRADED   
somepackage E: There are problems and -y was used without --force-yes 0 
upgraded, 0 newly installed, 1 downgraded, 0 removed and 2 not upgraded.
Need to 
get 0B/8361B of archives. After unpacking 50B disk space will be freed. 
at 
/etc/puppet/modules/module/manifests/somepackage.pp:12

is it possible to use the standard 'Package' resource for downgrading some

package with apt-rpm provider?

cheers, Antony.


      





Package requires....
If I have a package { "foo": ensure => installed; require =>
something
} in a module, AND I also have a Package { require =>
Class['yum::client']} in site.pp, what happens in the module? Does the
package in the module require both 'something' and the yum::client
class, or does the fact I specified a package{} with a require in the
module mean that only the yum::client class is required?

Doug.





Re: Possible split package issue
On 7/20/2010 1:51 PM, Rick McGuire wrote:
 On 7/6/2010 3:38 AM, David Jencks wrote:
> In the last couple days I've started seeing major problems
running 
> the tck here.  Generally tests subclass
com.sun.ts.lib.harness.EETest 
> which is not included in tsharness.jar, instead it's in each test

> ear.   However there are plenty of other classes in 
> com.sun.ts.lib.harness that are in tsharness.jar and are needed
for 
> tests to work.
>
> I've seen this after upgrading the cts bundles to the latest tck,
but 
> don't see any change in them  to explain this new behavior.
>
> I don't see why it wouldn't have been a problem previously, but
it 
> just started for me.
>
> Does anyone else see this?  Anyone have an idea what might be
causing 
> this problem now?
>
> I'm wondering if we could create a tsharness bundle that does
include 
> all the classes in the packages it supplies.
>
> thanks
> david jencks
>
>
 I was able to create a very simple test to demonstrate this problem 
 and opened a Jira against Felix.  The should be able to recreate this

 fairly easily now, so hopefully we'll see a fix in 3.1.0.  The Jira
is 
 here:

 https://issues.apache.org/jira/browse/FELIX-2479

Richard Hall's come up with a fix for this, so I'll bump the felix 
version to 3.1.0-SNAPSHOT.  I'm not sure when this will be deployed, so 
we should keep the TCK runs using equinox for now.

Rick


 and includes a full maven project for running the tests.

 For the curious, this was sort of an interesting problem.  I created
a 
 series of jars/bundles that recreated the class/package structure of 
 the test case, then used the following method calls:

         Class cls = 
 bundle1.loadClass("org.apache.geronimo.embedded.TestClass");
         // this will force the fields classes to be resolved.
         cls.getDeclaredFields();

 This worked without error on all framework versions I ran it against.
 
 However, if I changed this to:

        // if this line is commented out, then the second loadClass() 
 call will succeed. If
         // this load occurs first, then a NoClassDefFound error 
 results on the load for TestClass.
         Class cls1 = 
 bundle1.loadClass("org.apache.geronimo.harness.EETestDummy");

         Class cls = 
 bundle1.loadClass("org.apache.geronimo.embedded.TestClass");
         // this will force the fields classes to be resolved.
         cls.getDeclaredFields();

 The getDeclaredFields() call gave the same NoClassDefFound error as 
 the TCK.  The class resolution result has been altered by first 
 loading a class that gets pulled in from the Require-Bundle
reference.

 Rick



puppet-users] apt and gem package with the same name
I'm building a puppet manifest for an Ubuntu machine that needs to
have both of these on it:

  package { "memcached":
    provider => gem,
    ensure => "0.18.0"
  }

  package { "memcached":
    provider => apt,
    ensure => installed
  }

This fails with the following error:

err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed
with error ArgumentError: Duplicate definition: Package[memcached] is
already defined in file /etc/puppet/manifests/site.pp at line 313;
cannot redefine at /etc/puppet/manifests/site.pp:221 on node mynode

How do I get around this?

thanks!
Hernan





conditional execution of package
Hi,

I have been installing couchdb from source thorough " make/make
install " using puppet's exec.
The problem I am facing is when ever i run the configuration for the
second time its not recognizing tat its already installed.
couchdb is being installed all over again.
is it the problem becoz , im not using puppet's package resource type
I thought of a plan in which i can check whether a particular file
exists. so if the file doesnt exists, I'll ask puppet to install it
right away.

Please help me in this regard.

Regards,
Bhaskar.





Click Jquery Package
The Click Jquery Project on http://click-jquery.appspot.com
is very interesting ! 
It is based on the Apache Click 2.3.0 M1 isn't it ?
Is it possible to have the war/jar files 
of the last release to test and integrate it ? 

Thanks



Package not visible (exported)
I have a minimal maven2 parent project with a single submodule that
only contains one package com.test with a single class. I am trying to
use Felix to build the submodule as a bundle:

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>logTest</artifactId>
		<groupId>com.minimal</groupId>
		<version>1.0.0</version>
	</parent>
	<groupId>com.minimal</groupId>
	<artifactId>logTest-sub</artifactId>
	<version>1.0.0</version>
	<name>Log test submodule</name>
	<packaging>bundle</packaging>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<version>1.4.0</version>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Export-Package>com.test</Export-Package>
						<Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
						<Bundle-Name>${pom.name}</Bundle-Name>
						<Bundle-Version>1.0.0</Bundle-Version>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.osgi.core</artifactId>
			<version>1.0.0</version>
		</dependency>
	</dependencies>
</project>


After running mvn clean install I get the following MANIFEST file in
the jar file:

Manifest-Version: 1.0
Export-Package: com.test
Bundle-Version: 1.0.0
Build-Jdk: 1.6.0_21
Built-By: mort
Tool: Bnd-0.0.238
Bnd-LastModified: 1279883880970
Bundle-Name: Log test submodule
Bundle-ManifestVersion: 2
Created-By: Apache Maven Bundle Plugin
Import-Package: com.test
Bundle-SymbolicName: com.minimal.logTest-sub


which looks fine. But when I add it to the target platform in eclipse
and create a PDE project the package com.test is not visible.

Any ideas why this bundle (actually the package com.test) does not
show up in the Plug-in Dependencies?