Thor Heinrichs-Wolpert wrote:
I see knopflerfish in the trunk, but to compile it I have to copy the knopflerfish jars from core to /lib/osgi/knopflerfish.

I have fixed the build system and init.xargs so that it should work without any manual work now.

Ihave built it using
  build osgi
  cocoon osgi or ./cocoon.sh osgi
as described in the README.osgi

When I try and run it I get an error in this line:

Error: Command "-install build/osgi/org.apache.cocoon_1.0.0.jar" failed, Failed to install bundle: java.util.zip.ZipException: No such file or directory

The file is there, and the template right beside it loads fine, so I'm assuming there is a missed dependency somewhere.

Any hints?

The error message wasn't that instructive, the problem was that a number on of libraries was updated without updating the Bundle-Classpath in the manifest file (http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=112462358231398&w=2). The Bundle-Classpath should be created automatically to avoid such problems. But as we are switching build system to Maven2 and most of the libraries inside the Cocoon core bundle should be own bundles, I didn't found it worthwhile to fix right now.

The OSGi stuff should work now, you probably have to do a clean build first though.

/Daniel

Reply via email to