cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@apache.org>
Subject Re: Package samples as jars in 2.1
Date Wed, 25 Jan 2006 12:00:32 GMT
* Upayavira:

> Jean-Baptiste Quenot wrote:

> > * Upayavira:

> > > Jean-Baptiste Quenot wrote:

> > > > Any  hint  on how  to  add  this  location to  the  loader
> > > > classpath?

> > > The  loader  source is  in  tools/src/loader/Loader.java. It
> > > seems    that     the    loader    doesn't     load    class
> > > directories. However, a  brief look at the  code suggests to
> > > me that it wouldn't be too hard to add.

> > We  could  hack  the  Loader.   But  we  could  also  packages
> > our  samples   as  jars.   That   would  ease  to   merge  the
> > Cocoon  build with  an  existing  application.  Currently,  it
> > is  quite  difficult  to  mix  Cocoon's  WEB-INF/classes  with
> > My  App's   WEB-INF/classes  because   the  latter   is  often
> > cleaned/regenerated on a regular basis.

> Yup. Makes sense to  me. I often wondered why  that stuff wasn't
> jarred up.

OK, I  intend to do this  modification in 2.1 (if  everyone's OK).
For trunk,  it is not very  clear to me how  samples are packaged,
but perhaps  if it's not  already the case,  we should do  that as
well with Maven.
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

Mime
View raw message