Changeset 5104


Ignore:
Timestamp:
04/30/14 13:22:08 (10 years ago)
Author:
Twan Goosen
Message:

Added a profile 'local-solr-data' to vlo-solr that configures a fixed location for the Solr data directory in the build output (target) directory

Location:
vlo/trunk/vlo-solr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo-solr/pom.xml

    r5090 r5104  
    5858        <netbeans.hint.deploy.server>Tomcat</netbeans.hint.deploy.server>
    5959    </properties>
     60   
     61    <profiles>
     62        <profile>
     63            <!--
     64                Profile that configures a fixed Solr data directory
     65               
     66                By default, the data dir property is not set so that it can be
     67                configured run time (via the solr.data.dir system property),
     68                however this profile hardwires a location in the project's
     69                build output.
     70            -->
     71            <id>local-solr-data</id>
     72            <properties>
     73                <!-- this ends up in solrconfig.xml and tells Solr where to store its data -->
     74                <solr.data.dir>${project.build.directory}/${vlo.solr.conf}/collection1/data</solr.data.dir>
     75            </properties>
     76        </profile>
     77    </profiles>
    6078
    6179    <build>
  • vlo/trunk/vlo-solr/src/main/assembly/vlo_solr_install_dir.xml

    r2815 r5104  
    1010        <fileSet>
    1111            <directory>src/main/solr_conf</directory>
     12            <filtered>true</filtered>
    1213                    <outputDirectory></outputDirectory>
    1314        </fileSet>
Note: See TracChangeset for help on using the changeset viewer.