karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Custom exploded artifact
Date Sat, 02 Jul 2011 22:27:48 GMT
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


Mime
View raw message