Robert,

well, if I were you I'd tweak the build.xml to tailor it to your needs, and just tell 
the readers to: 

1) replace the native build.xml with yours
2) run it
3) deploy the resulting WAR.

I have no idea of alternative approaches... sorry :(

Regards,

--------------------------------------------- 
               Luca Morandini 
               GIS Consultant 
              [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Robert Simmons [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 26, 2003 9:57 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Single JAR with all the libs?
> 
> 
> Ya I know that. I'm not talking about the prebuilt, distributed web
> application. I am trying to develop a strategy for other users to be able to
> use cocoon from within JBoss without having to leap through 15 hoops. So I
> basically want a way I can build cocoon libs and then in each war file I make
> that uses cocoon, I merely need the config files and only things pertaining
> to my stuff and not to cocoon in general.
> 
> Getting the kitchen sink build working was a matter of just dropping it in
> JBoss. Now I want to go further and make other applications with the product.
> Right now Id have to resort to telling readers to download cocoon, unpack it,
> rewrite their manifests to include the Cocoon-Libs section, then run the
> build which should convert the old libs to the new location and then install
> cocoon.
> 
> Picture this scenario. You want to use cocoon for a front end to a powerful
> EJB based system. Your readers of your book want to download your source code
> and install it and get it running. They need a simple process. Right now the
> process is "download the kitchen sink version, figure out what the hell you
> don't need, repack everything and deploy it." Not functional for users of the
> product.
> 
> Therefore I keep rolling back around to having a single jar that I can drop
> in JBoss like an oversized golf ball and call cocoon "installed" and ready
> for users to deploy their OWN war files that use cocoon rather than asking
> them to modify cocoon's war.
> 
> I'm not sure if I'm making sense here.
> 
> -- Robert
> 
> 
> ----- Original Message -----
> From: "Luca Morandini" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, January 26, 2003 9:41 AM
> Subject: RE: Single JAR with all the libs?
> 
> 
> > Robert,
> >
> > I'm not sure I've understood your question, but I like to give it a try.
> >
> > When you build Cocoon, it produces a WAR file, you just:
> >
> > 1) put the WAR under the webapps of your servlet container
> > 2) re-start the container
> >
> > The you can deploy your Cocoon app under the "mount" directory, hence avoid
> editing the general sitemap.xmap (the one in
> > "webapps/cocoon").
> >
> > Regards,
> >
> > ---------------------------------------------
> >                Luca Morandini
> >                GIS Consultant
> >               [EMAIL PROTECTED]
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> > -----Original Message-----
> > From: Robert Simmons [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, January 26, 2003 9:07 AM
> > To: Cocoon Users
> > Subject: Single JAR with all the libs?
> >
> >
> > Is there a way to compress all the cocoon jars into one jar so I can just
> drop in my application server like a golf ball and all
> > cocoon deployments will have access to it ?
> >
> > -- Robert
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to