Hi Mengying, Thanks for the questions and for pushing through with this. Responses below:
>> (1) In 2(a), it says "Create a new directory under webapps, with the >> following directory structure:" >> bash-3.2$ tree >> . >> ├── pom.xml >> └── src >> └── main >> ├── assembly >> │ └── assembly.xml >> └── webapp >> ├── META-INF >> │ └── context.xml >> └── WEB-INF >> └── web.xml >> However, according to the development trunk: >> >> http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/r >> esources/archetype-resources/ >> <http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/ >> resources/archetype-resources/>, there is no "assembly" directory under >> the "main" folder. Instead, the "assembly" directory should be in the >> "[RADiX project home]/solr/src/main/" directory. The article you are reading “Integrating Solr with OODT RADiX” is a bit out of date, because the integration process has been automated to be part of OODT RADiX. Were you still having problems running OODT RADiX via the -Pfm-solr-catalog flag? That being said, you shouldn’t need an “assembly” directory under the solr-webapp. I’ve updated the wiki to reflect this incorrect suggestion. Thanks for spotting it. >> (2) The content of the assembly.xml file is a little different from that >> in the development trunk. For example: >> In the confluence tutorial: >> <includeBaseDirectory>false</includeBaseDirectory> >> <baseDirectory>solr</baseDirectory> >> <includeSiteDirectory>false</includeSiteDirectory> >> <fileSets> >> <fileSet> >> <directory>${basedir}/bin</directory> >> <outputDirectory>solr/bin</outputDirectory> >> <includes/> >> <fileMode>775</fileMode> >> </fileSet> >> </fileSets> >> >> While in the development trunk: >> <includeBaseDirectory>false</includeBaseDirectory> >> <baseDirectory>solr</baseDirectory> >> <includeSiteDirectory>false</includeSiteDirectory> >> <fileSets> >> <fileSet> >> <directory>${basedir}/src/main/resources/bin</directory> >> <outputDirectory>solr/bin</outputDirectory> >> <includes> >> <include>**.*</include> >> </includes> >> <fileMode>775</fileMode> >> </fileSet> >> </fileSets> Use the latter, it is more explicit - all files under solr/src/main/resources/bin will be included in the solr tar-ball (and final OODT RADiX tar ball). Thanks much, keep us posted on your progress, Rishi On Oct 23, 2014, at 11:23 PM, Mattmann, Chris A (3980) <[email protected]> wrote: > CC’ing dev@oodt > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Chris Mattmann, Ph.D. > Chief Architect > Instrument Software and Science Data Systems Section (398) > NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > Office: 168-519, Mailstop: 168-527 > Email: [email protected] > WWW: http://sunset.usc.edu/~mattmann/ > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Adjunct Associate Professor, Computer Science Department > University of Southern California, Los Angeles, CA 90089 USA > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > > -----Original Message----- > From: MengYing Wang <[email protected]> > Date: Thursday, October 23, 2014 at 11:21 PM > To: Chris Mattmann <[email protected]>, "Mcgibbney, Lewis J (398M)" > <[email protected]>, "Bryant, Ann C (398G-Affiliate)" > <[email protected]>, "Ramirez, Paul M (398M)" > <[email protected]>, Chris Mattmann > <[email protected]>, Tyler Palsulich <[email protected]> > Subject: Two Questions about the "Integrating Solr with OODT RADiX" > tutorial page > >> Dear Rishi, >> >> >> Following the steps in the tutorial >> https://cwiki.apache.org/confluence/display/OODT/Integrating+Solr+with+OOD >> T+RADiX >> <https://cwiki.apache.org/confluence/display/OODT/Integrating+Solr+with+OO >> DT+RADiX>, I have successfully integrated Solr with OODT RADiX. However, >> there are two quick questions about this confluence page. >> >> >> (1) In 2(a), it says "Create a new directory under webapps, with the >> following directory structure:" >> bash-3.2$ tree >> . >> ├── pom.xml >> └── src >> └── main >> ├── assembly >> │ └── assembly.xml >> └── webapp >> ├── META-INF >> │ └── context.xml >> └── WEB-INF >> └── web.xml >> However, according to the development trunk: >> >> http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/r >> esources/archetype-resources/ >> <http://svn.apache.org/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/ >> resources/archetype-resources/>, there is no "assembly" directory under >> the "main" folder. Instead, the "assembly" directory should be in the >> "[RADiX project home]/solr/src/main/" directory. >> (2) The content of the assembly.xml file is a little different from that >> in the development trunk. For example: >> In the confluence tutorial: >> <includeBaseDirectory>false</includeBaseDirectory> >> <baseDirectory>solr</baseDirectory> >> <includeSiteDirectory>false</includeSiteDirectory> >> <fileSets> >> <fileSet> >> <directory>${basedir}/bin</directory> >> <outputDirectory>solr/bin</outputDirectory> >> <includes/> >> <fileMode>775</fileMode> >> </fileSet> >> </fileSets> >> >> While in the development trunk: >> <includeBaseDirectory>false</includeBaseDirectory> >> <baseDirectory>solr</baseDirectory> >> <includeSiteDirectory>false</includeSiteDirectory> >> <fileSets> >> <fileSet> >> <directory>${basedir}/src/main/resources/bin</directory> >> <outputDirectory>solr/bin</outputDirectory> >> <includes> >> <include>**.*</include> >> </includes> >> <fileMode>775</fileMode> >> </fileSet> >> </fileSets> >> >> >> >> I am wondering are they the same? Thanks. >> >> >> -- >> Best, >> Mengying (Angela) Wang >> > --- Rishi Verma NASA Jet Propulsion Laboratory California Institute of Technology
