Commit graph

59 commits

Author SHA1 Message Date
j2blake
86b6555efe Test if the build script is using an old version of Ant or Java
If not, print out some diagnostic information.
2013-04-22 11:30:51 -04:00
j2blake
3997440944 Require Java 7 2013-04-10 17:04:46 -04:00
j2blake
e1f2832fbd VIVO-25 Check that web.xml is container-neutral
Create an Ant target that checks web.xml against the assembled webapp, looking for conditions that violate the Servlet spec or the JSP spec, but that Tomcat does not complain about. This will not be a main-stream target, but must be specifically invoked by developers or by Jenkins in order to be effective.
2013-03-11 13:29:20 -04:00
j2blake
c2a1195fec VIVO-2 Modify the build so installers can create a container-neutral VIVO.
Split deploy.properties into build.properties and runtime.properties, with runtime.properties going into the Vitro home directory. Modify ConfigurationProperties to locate the Vitro home directory, either by System property or JNDI Environment variable, or from build.properties, and to read from both build.properties and runtime.properties. Revise the install and upgrade documents for VIVO and Vitro. Change comments and error messages that referred to deploy.properties by name. Change vitro.home.directory to vitro.home
2013-01-16 14:54:33 -05:00
Stephen V. Williams
28be94dd16 upgrade apache solr from 3.1 to 3.6.2 2013-01-08 14:02:42 -07:00
j2blake
7095f0ea09 NIHVIVO-3721 Improve the build process for OpenSocial, including an Ant script to set up the config files. 2012-06-19 16:43:31 +00:00
tworrall
733c45e330 NIHVIVO-3665 - vitro components for new class hierarchy 2012-05-08 19:18:10 +00:00
tworrall
79cd09e2fa NIHVIVO-3665 - vitro components for new class hierarchy 2012-05-08 19:04:32 +00:00
j2blake
06fbfcbb87 NIHVIVO-3439 Test to insure that the vitro.home.directory is writable by the build script. If it is not, the Solr installation will fail. REQUIRES ANT 1.8 2012-03-08 17:09:41 +00:00
j2blake
cd64830dd5 NIHVIVO-3597 Use a <FileSet> with a <present> selector instead of the home-brewed DirDifferenceFileSet 2012-03-02 21:22:28 +00:00
j2blake
51a2eee34b Merge 9383 from 1.4 maint branch 2011-12-13 17:01:26 +00:00
j2blake
2a05f4e2ca NIHVIVO-2774 improve the "jarlist" target in the build so known required JARs are listed in a file, and not hardcoded. 2011-10-19 20:47:05 +00:00
j2blake
422e321a8f NIHVIVO-3141 Rename exmapleSolr directory to homeDirectoryTemplate 2011-10-18 21:09:22 +00:00
j2blake
946eb33363 NIHVIVO-2757 Change the name of the Solr context template. 2011-10-18 20:36:39 +00:00
j2blake
4444b9b21b NIHVIVO-2757 Change the way the Solr is deployed, so it is only re-deployed if something has changed. 2011-10-18 20:29:21 +00:00
j2blake
fbf2f04d86 NIHVIVO-2774 add a static analysis utility that will allow us to look for unused JARs in the distribution. 2011-10-12 20:54:34 +00:00
j2blake
0e4441935e NIHVIVO-2811 Restructure the build utilities into a single directory, and compile them all at the beginning. 2011-09-12 19:44:32 +00:00
j2blake
60e92e9bf0 NIHVIVO-2811 Rewrite the build for vivoCornell; minor tweaks for the others. 2011-09-12 16:55:39 +00:00
j2blake
52104e2e77 NIHVIVO-2811 product-build.xml will import build.xml, instead of duplicating its targets. Condense licenser and revisionInfo using macros. 2011-09-11 16:48:21 +00:00
j2blake
f00cfd677a NIHVIVO-2811 Move the Vitro themes to correspond to the VIVO themes. 2011-09-11 15:45:04 +00:00
j2blake
19dfde675c NIHVIVO-2811 getting closer - themes work - revision info is busted for 2nd-level, and of course no 3rd-level stuff works. 2011-09-09 19:38:57 +00:00
j2blake
a29d85db04 NIHVIVO-2811 getting closer - working except for themes. 2011-09-09 19:11:51 +00:00
j2blake
11239bf040 NIHVIVO-2811 getting closer - need a way of "copying" a directory that may not exist. 2011-09-09 17:13:35 +00:00
j2blake
def608dcda NIHVIVO-2811 Make the webapp directory more closely resemble the product base directory - move tlds, filegraph, ontologies, dwr.xml and web.xml into web/WEB-INF. Adjust the build script accordingly. 2011-09-08 17:17:16 +00:00
briancaruso
fa8b6db07e Adding JAR task to vitro. Changing visibility levels on IndividualToSolrDocument. 2011-07-28 22:22:00 +00:00
j2blake
479c7b6e6e submodels directory has been replaced by the filegraphs directory. 2011-07-18 13:51:18 +00:00
j2blake
5a03e842be NIHVIVO-2757 Unpack the Solr WAR file directly into Tomcat. Not the optimum solution. 2011-07-14 15:14:41 +00:00
j2blake
50dd167b3b NIHVIVO-2437 Make the Solr security mask a configurable property. 2011-07-13 21:32:50 +00:00
j2blake
c749a9c9aa NIHVIVO-2757 Set solr logging properties so it logs to a file 2011-07-13 17:18:49 +00:00
j2blake
d9ea4c915f NIHVIVO-2757 Make solr deploy part of the main build process. 2011-07-11 18:32:46 +00:00
j2blake
f88be755cf NIHVIVO-2299 Create the root user policy and changes to deploy.properties 2011-06-08 21:21:59 +00:00
j2blake
2763d14c6d NIHVIVO-2279 Implement FreemarkerEmailFactory and standardize on it. Change the parameters used to enable e-mail. 2011-05-24 19:28:18 +00:00
j2blake
ca03a6ec48 Allow user to disable Javac deprecated messages with -Djava.deprecated=false 2011-04-22 16:40:49 +00:00
j2blake
08770c8bd0 NIHVIVO-2450 combine upload.directory and LuceneSetup.indexDir under vitro.home.directory 2011-04-04 16:35:22 +00:00
jeb228
b81d26044e delete references to the vestigial vitro/services tree 2011-03-03 18:33:15 +00:00
jeb228
43fce69d50 NIHVIVO-2188 add a "war" target to both build.xml and product-build.xml, to create a WAR file of Vivo or Vitro. 2011-03-03 15:53:41 +00:00
jeb228
22a2dc75d9 Merge 7470 from the branch 2011-02-11 21:55:15 +00:00
jeb228
07972a7826 Add the "includeantruntime" option to the compile steps, to make the build a little quieter. 2010-12-17 19:17:04 +00:00
jeb228
f98d3342f7 NIHVIVO-1445 modify all "javac" steps in the build script to enforce UTF-8 interpretation of the source files, instead of letting it default to whatever the OS decides. 2010-12-15 17:07:49 +00:00
jeb228
593ce19e13 Modify the build so you can specify -Dskipinfo=true to supress revisionInfo gathering. 2010-11-09 18:13:44 +00:00
jeb228
bc86f50c5b NIHVIVO-1229 Move the revision info file into WEB-INF/resources 2010-10-25 21:29:25 +00:00
jeb228
fe5a4f12cd NIHVIVO-1229 Add revisionInfo steps to the build files. Tweak the response parser in the utility. 2010-10-22 15:13:06 +00:00
jeb228
e35bce16f0 Modify the build script to allow multi-layer products. 2010-08-03 18:53:55 +00:00
jeb228
7fd7fbcc27 NIHVIVO-705 NIHVIVO-789 Use a Flattening Template Loader for templates from Vitro core, instead of flattening the template directory during the build process. 2010-07-30 14:23:18 +00:00
rjy7
5a11344775 NIHVIVO-649 Add freemarker template flattening to build. Includes flattening of template directory structure in vivo theme, and renaming of templates as needed for clarity. 2010-07-08 17:10:31 +00:00
jeb228
c4062267bd NIHVIVO-405 modify build.xml to recognize debug.log4j.properties if it exists, and to use it instead of default.log4j.properties. Clean up svn:ignore properties in webapp/config 2010-06-07 15:47:43 +00:00
jeb228
5f5d4b98ac Specify java 1.6 compatibility in the compile steps, instead of java 1.5 2010-06-02 20:30:17 +00:00
jeb228
8d366fec4c NIHVIVO-432 use <sync> to remove any FreeMarker templates that were left over from previous builds. 2010-06-01 19:58:17 +00:00
jeb228
44f9706d82 NIHVIVO-327 Set <sync> steps to not fail if ontologies or submodels directories are missing. Modify <copyetc> target to copy those directories even if they are empty. 2010-04-30 14:02:49 +00:00
jeb228
bca0df0570 NIHVIVO-241 Move the licenser script into Vitro core, with some re-writing to use relative paths and such, and changes to the build scripts to support it. 2010-04-15 20:20:14 +00:00