You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Achim Nierbeck <bc...@googlemail.com> on 2011/07/03 00:27:48 UTC

Re: Custom exploded artifact

Hi Thomas,

you might want to take a look at the war deployer of the pax-web project
it also supports exploded war archives.

https://github.com/ops4j/org.ops4j.pax.web

regards, Achim

Am 28.06.2011 22:30, schrieb thomasrynne:
> I am trying to add support for a custom artifact. Our code is broken into
> modules which have a well defined structure so I would like to be able to
> point fileinstall at the directory containing the modules and generate the
> manifest based on some rules (probably using bnd).
>
> I have tried registering an implementation of ArtifactTransformer and
> ArtifactUrlTransformer but I am confused about which I should use, and
> confused about weather exploded artifacts are supported (as changes outside
> the top directory do not always trigger the canHandle method. Also, the path
> I get is to data/generated-bundles, not deploy.
>
> I have also looked at the fileinstall source and karaf source but everything
> I have found relates to single files, not exploded directories.
>
> Can anyone give me pointers on how exploded artifacts in karaf work and what
> hooks I should use to generate the manifest?
>
> thanks,
> Thomas
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Custom-exploded-artifact-tp3119292p3119292.html
> Sent from the Karaf - User mailing list archive at Nabble.com.


-- 
-----

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer & Project Lead