cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Simmons" <deri...@arcor.de>
Subject Re: Single JAR with all the libs?
Date Sun, 26 Jan 2003 12:22:43 GMT
Ok I yanked the manifest file from WEB-INF and it all still seems to work,
though I don't know about in the full cocoon deployment. Is there any JUnit
built into this sucker?

-- Robert
----- Original Message -----
From: "Robert Simmons" <derisor@arcor.de>
To: <cocoon-users@xml.apache.org>; <lmorandini@ieee.org>
Sent: Sunday, January 26, 2003 1:12 PM
Subject: Re: Single JAR with all the libs?


> Hmm .... one question though. This huge manifest attribute called
> Cocoon-Libs. Where is it used in the application? Can I leave it out ?
>
> ----- Original Message -----
> From: "Luca Morandini" <luca.morandini1@tin.it>
> To: "Cocoon-users" <cocoon-users@xml.apache.org>
> Sent: Sunday, January 26, 2003 10:45 AM
> Subject: RE: Single JAR with all the libs?
>
>
> > 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
> >               lmorandini@ieee.org
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> >
> > > -----Original Message-----
> > > From: Robert Simmons [mailto:derisor@arcor.de]
> > > Sent: Sunday, January 26, 2003 9:57 AM
> > > To: cocoon-users@xml.apache.org; lmorandini@ieee.org
> > > 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" <luca.morandini1@tin.it>
> > > To: <cocoon-users@xml.apache.org>
> > > 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
> > > >               lmorandini@ieee.org
> > > > http://utenti.tripod.it/lmorandini/index.html
> > > > ---------------------------------------------
> > > >
> > > > -----Original Message-----
> > > > From: Robert Simmons [mailto:derisor@arcor.de]
> > > > 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:     <cocoon-users-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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:     <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> >
>
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message