diff --git a/doc/install.html b/doc/install.html index 6f5091d39..f30964629 100644 --- a/doc/install.html +++ b/doc/install.html @@ -350,6 +350,22 @@ /usr/local/vitro/home + + + Languages (in addition to American English) that will be built into your + Vitro site. The languages must be found in the + languages directory of the Vitro distribution. + See + the VIVO Wiki for more information. + + + + + languages.addToBuild + + + es_MX + diff --git a/webapp/build.xml b/webapp/build.xml index 0387483af..e8c5320cb 100644 --- a/webapp/build.xml +++ b/webapp/build.xml @@ -170,7 +170,7 @@ echo(e, "Adding language: " + languages[i]) } } else { - ps.appendExcludes(["**/*"]) + ps.setExcludes(["**/*"]) } ]]> diff --git a/webapp/config/example.build.properties b/webapp/config/example.build.properties index cd1a293ff..ed1b16b39 100644 --- a/webapp/config/example.build.properties +++ b/webapp/config/example.build.properties @@ -1,29 +1,36 @@ -# ----------------------------------------------------------------------------- -# -# Vitro build properties -# -# This file is provided as example.build.properties. -# -# Save a copy of this file as build.properties, and edit the properties as -# needed for your installation. -# -# ----------------------------------------------------------------------------- - -# -# The base install directory for your Tomcat server. The Vitro application -# will be deployed in the /webapps directory below this base. -# -tomcat.home = /usr/local/tomcat - -# -# The name of the Vitro application. This will be used as the name of the -# subdirectory within your Tomcat server's /webapps directory. It also appears -# in the URL for the application. For example, http://my.vitro.server/vitro -# -webapp.name = vitro - -# -# The location where the Vitro application will store the data that it creates. -# This includes uploaded files (usually images) and the search index. -# -vitro.home = /usr/local/vitro/home +# ----------------------------------------------------------------------------- +# +# Vitro build properties +# +# This file is provided as example.build.properties. +# +# Save a copy of this file as build.properties, and edit the properties as +# needed for your installation. +# +# ----------------------------------------------------------------------------- + +# +# The base install directory for your Tomcat server. The Vitro application +# will be deployed in the /webapps directory below this base. +# +tomcat.home = /usr/local/tomcat + +# +# The name of the Vitro application. This will be used as the name of the +# subdirectory within your Tomcat server's /webapps directory. It also appears +# in the URL for the application. For example, http://my.vitro.server/vitro +# +webapp.name = vitro + +# +# The location where the Vitro application will store the data that it creates. +# This includes uploaded files (usually images) and the search index. +# +vitro.home = /usr/local/vitro/home + +# +# Additional languages to be built into your VIVO site. The locales specified +# here must appear as sub-directories of [vivo]/languages in the distribution. +# Find more information on the VIVO Wiki (https://wiki.duraspace.org/display/VIVO). +# +#languages.addToBuild = diff --git a/webapp/test/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyStatementDaoJenaTest.java b/webapp/test/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyStatementDaoJenaTest.java index 9493c3691..fe79e90f0 100644 --- a/webapp/test/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyStatementDaoJenaTest.java +++ b/webapp/test/edu/cornell/mannlib/vitro/webapp/dao/jena/ObjectPropertyStatementDaoJenaTest.java @@ -1,3 +1,5 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + package edu.cornell.mannlib.vitro.webapp.dao.jena; import static org.junit.Assert.*;