It really depends on the level you edited you dspace.cfg at (sorry if
this seems confusing)...I'll give you a longwinded description of the
build process, then tell you the simplier way to get your index built.

The build process has two stages

1.) Maven build

cd [dspace-source]/dspace
mvn package

This builds the target distribution in
[dspace-source]/dspace/target/dspace-1.5.2-SNAPSHOT-build.dir/

2.) Ant install

cd [dspace-source]/dspace/target/dspace-1.5.2-SNAPSHOT-build.dir/
ant update init_config  <!--- critical to copy over the files

This deploys the distribution in
[dspace-source]/dspace/target/dspace-1.5.2-SNAPSHOT-build.dir/ to the
[dspace] directory where everything is running from

So, if you want to retain the dspace.cfg change you made in stage (1)
you need to edit the dspace.cfg in
[dspace-source]/dspace/conf/dspace.cfg.  If you just make your change
in [dspace-source/dspace/target/dspace-1/5/2-SNAPSHOT-build.dir/conf/dspace.cfg
it may get overwritten if you ever run mvn package in sstage (1)
again..

So now the easy way to update your indexes (just remember the above
and add the same dspace.cfg changes in your original source dir if
your maintaining them there).

A.) Edit [dspace]/conf/dspace.cfg directly with the changes you want
to your indexes.

B.) execute [dspace]/bin/index-init to create (recreate) the browse
indexes in your deployed instance.

Cheers,
Mark




On Fri, Mar 20, 2009 at 11:30 AM, Jeffrey Trimble <[email protected]> wrote:
> Would someone give me a completely lucid explanation between
> index-init and index-update?
>
> I want to add a new browse index to the existing indexes.
> So, I add it to dspace.cfg --> ant update -->  and then which one
> of the above?
>
> TIA,
>
> Jeff
>
>
> Jeffrey Trimble
> System LIbrarian
> William F.  Maag Library
> Youngstown State University
> 330.941.2483 (Office)
> [email protected]
> http://www.maag.ysu.edu
> http://digital.maag.ysu.edu
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
Mark R. Diggory
@mire

http://purl.org/net/mdiggory/homepage - Bio
http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to