> > <property name="default.config.path" location="${basic.config.path}" /> > I'm assuming this means absolute path to the config folder under tomcat - In > my case that would then be > /usr/share/tomcat6/webapps/fedoragsearch/WEB-INF/classes/configBasic - is > that correct?
"Select the default config in configDefault" means setting the three properties here: <target name="configDefault" description="select the default config, by setting these three properties"> <property name="default.config.path" location="${basic.config.path}" /> <property name="default.config.prefix" value="${basic.config.prefix}" /> <property name="default.index.1" value="${basic.index.1}" /> The three properties basic.config.path, basic.config.prefix, and basic.index.1 are defined here: <target name="configBasic" description="set values for configBasic"> <property name="basic.config.name" value="configBasic" /> <property name="basic.config.path" value="${configs.path}/${basic.config.name}" /> <property name="basic.config.prefix" value="basic" /> <property name="basic.mimetypes" value="text/plain text/xml text/html application/pdf" /> <property name="basic.index.1" value="BasicIndex" /> <property name="basic.index.1.indexdir" value="${fedora.home}/gsearch/${basic.index.1}" /> <property name="basic.index.names" value="${basic.index.1}" /> <property name="basic.repos.1" value="BasicRepos" /> <property name="basic.repos.1.fedorasoap" value="http://localhost:8080" /> <property name="basic.repos.1.fedorauser" value="fedoraAdmin" /> <property name="basic.repos.1.fedorapass" value="fedoraAdmin" /> <property name="basic.repos.1.fedoraobjectdir" value="${fedora.home}/data/objects" /> <property name="basic.repos.1.fedoraversion" value="${fedora.version}" /> <property name="basic.repos.names" value="${basic.repos.1}" /> So if you want to select configBasic as default, you do not have to modify in the target configDefault. > > <property name="default.config.prefix" value="${basic.config.prefix}" /> > Not sure what kind of value is required for this - is it the name of the > repository I want to configure or something else? (My repository here is > called Repository1) The property basic.config.prefix is set to "basic" in configBasic (see above), it is used later in the target to name some files. The repository name is set in basic.repos.1. You may set it to "Repository1". > > <property name="default.index.1" value="${basic.index.1}" /> > Should this be the same as the name of the repository or should I be creating > a specific index name? (I was assuming I would use Index1 as an index name > for Repository1). The index name is set in basic.index.1. You may set it to "Index1". > > Finally, when you say "Save this edited file outside of the web server" do > you mean outside of tomcat? Or outside of Apache? It is to save the file from being overwritten, if you should upgrade fedoragsearch, so outside of tomcat. Best, Gert On 26/05/2011, at 22.16, Menk, Robert - 1150 - MITLL wrote: > Thanks for your reply! > > I discovered that I had installed gsearch 1.1 by mistake which accounts for > the differences. Downloading the right version and dropping the war file into > webapps rebuilt as expected. > > However, I now have a couple of new questions about settings in > configvalues.xml. Basically, your direction to "Select the default config in > configDefault" is a bit unclear to me. > > Looking at the section of configvalues.xml I have these questions. > > <property name="default.config.path" location="${basic.config.path}" /> > I'm assuming this means absolute path to the config folder under tomcat - In > my case that would then be > /usr/share/tomcat6/webapps/fedoragsearch/WEB-INF/classes/configBasic - is > that correct? > > <property name="default.config.prefix" value="${basic.config.prefix}" /> > Not sure what kind of value is required for this - is it the name of the > repository I want to configure or something else? (My repository here is > called Repository1) > > <property name="default.index.1" value="${basic.index.1}" /> > Should this be the same as the name of the repository or should I be creating > a specific index name? (I was assuming I would use Index1 as an index name > for Repository1). > > Finally, when you say "Save this edited file outside of the web server" do > you mean outside of tomcat? Or outside of Apache? (I'm running this as a > tomcat app but plan to connect it to the webserver using Islandora/Drupal) > > Thanks again for any help you can offer. > > Bobb Menk > > > -----Original Message----- > From: Gert Schmeltz Pedersen [mailto:g...@dtic.dtu.dk] > Sent: Thursday, May 26, 2011 5:23 AM > To: Support and info exchange list for Fedora users. > Subject: Re: [fcrepo-user] gSearch installation questions for Fedora 3.4.2 > > The configvalues.xml file will be in .../webapps/fedoragsearch/ when > fedoragsearch.war has been unpacked by tomcat. > > The instructions that live locally is in ../webapps/fedoragsearch/index.html > . They are identical to the contents of > https://wiki.duraspace.org/display/FCSVCS/Generic+Search+Service+2.2 . > > If the above does not match your installation, please, delete your > installation of fedoragsearch and drop fedoragsearch.war into tomcat again to > get it unpacked. If it still does not match the above, please download > fedoragsearch.war again and reinstall. If it still does not match the above, > please give me more details about the resulting installation. > > Best, > Gert > > > > > On 25/05/2011, at 22.08, Menk, Robert - 1150 - MITLL wrote: > >> I'm trying to get gsearch installed preparatory to exploring Islandora and >> have run into some trouble. >> >> The install page for fedoragsearch 2.2 >> (https://wiki.duraspace.org/display/FCSVCS/Generic+Search+Service+2.2) says >> to edit "property values in the configvalues.xml file in >> .../webapps/<WEBAPPNAME>/" but when I drop the fedoragsearch.war file into >> my tomcat server's webapps directory, it doesn't create a configvalues.xml >> file anywhere that I can find. So I'm stuck at step 1. >> >> However, when I look at the installation/configuration instructions that >> live locally once you deploy the war file, I get a different set of >> instructions. According to these instructions one should be editing quite a >> few files in the /webapps/fedoragsearch/WEB-INF/classes/config part of the >> tomcat tree. The files referenced by these instructions all exist, which is >> a plus ;), but I'm not sure what to fill in for some of the information in >> those files either. >> >> So before I go any further I thought perhaps it was time to see which >> instructions I should be following and then try to get answers when I know >> I'm actually working on the right stuff. >> >> Thanks for your help. >> >> Bobb Menk >> MIT Lincoln Laboratory Library >> bm...@ll.mit.edu >> >> >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Fedora-commons-users mailing list >> Fedora-commons-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users