Would you document maven-project way for the wiki page as another
option?  That was the whole point of starting a Build Cookbook page, so
people would add their own favorite recipes.  It's much easier for
people to learn from a wiki page that gives step-by-step instructions
and examples with your code highlighted, than from an existing source
hierarchy.

Anyway, chucking files under the modules directories is more expedient
for research and prototyping.  The end result is equivalent, since each
webapp has private copies of all jars and class files anyway.

    -- Larry

> I rather recommend you outline how to add the plugins to more than
> one webapplication by
>
> 1.) creating a separate (jar) maven project in the [dspace-source]/my-
> plugin directory,
> 2.) add ../my-plugin as a module in [dspace-source]/pom.xml
> 2.) add my-plugin as a dependency in any of the [dspace-source]/
> dspace/modules/*/pom.xml that you require it to be added to.
>
> This reduces the replication of the codebase implementing your plugin
> in each separate webapp module.
>
> See for example our build for dspace.mit.edu here (note "dspace" is
> replaced with "dome" in this customization).
>
> http://libstaff.mit.edu/svn/repos/distributions/dspace.mit.edu/trunk/
>
> and the strongest example is dome-ocw with houses the packager for
> the OCW-IMSCP you recently so graciously engineered for the
> libraries. It is included into the dome/modules/xmlui and dome/
> modules/lni as a dependency, rather the replicating code in each webapp.
>
> Cheers and great work documenting your process,
> Mark
>
> On Jun 20, 2008, at 1:55 PM, Larry Stone wrote:
>
> > I've added a page of cookbook-style instructions for integrating
> > local modificatiosn with the new build system, see:
> >
> > http://wiki.dspace.org/index.php/BuildCookbook
> >
> > it builds on the OR08 presentation "Customizing DSpace 1.5 with Basic
> > Overlays"; in fact, that has other useful examples which might well
> > be added to the wiki page for easier access.
> >
> >     -- Larry
> >
> > ----------------------------------------------------------------------
> > ---
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to