I'm surprised that works, but I'm not really familiar with the pax web
extender. In any case, I've submitted the patch. The issue is
SLING-1157.
Justin
On Oct 20, 2009, at 5:31 PM, "Carl F. Hall" <[email protected]>
wrote:
For the meantime, I've added a couple of ant tasks to my maven build
that copies the war to a jar and installs it to my maven repo. This
jar copy of the war is included in my build and is working fine.
----- "carl hall" <[email protected]> wrote:
I've added Pax Web Extender to my build and have maven generating the
proper manifest for my WAR. I'm definitely able to install it using
the web console but need to include it in my build.
My bundle is an interesting case. It wraps the ActiveMQ web console
WAR, so that it can add the proper manifest. Maven needs the project
type to be WAR so that it can overlay the ActiveMQ WAR though the
bundle is both an OSGi bundle and a WAR.
Let me know if there's anything I can help with to get your patch
merged in.
----- "Justin Edelson" <[email protected]> wrote:
Sling's BootstrapInstaller doesn't support WAR files yet. I'm 90% of
the
way done with the patch to add this; just running into some broken
tests.
You can install/start bundles at runtime via the web console (or the
sling:install Maven goal).
Note that even when this patch is applied, it doesn't necessarily
mean
that a standard WAR file will work, just that if a WAR file is a
valid
bundle, it will be installed and started.
Justin
-----Original Message-----
From: Carl F. Hall [mailto:[email protected]]
Sent: Tuesday, October 20, 2009 10:10 AM
To: [email protected]
Subject: Deploying a WAR at startup
I have a WAR (activemqweb.war) that is included in my Sling
standalone
build but Felix doesn't see it when it loads other bundles. Is this
something in Felix or does Sling influence what files are loaded?