#!/bin/bash # build.sh [-Drelease=true to use perforce interal repos] ./gradlew -DserverTest=true $1 clean test war || exit 1 # also create the zip file from the build template ZIPDIR="p4search-"$(gradle/headChange.sh) if [ -e "./tmp" ]; then rm -rf "./tmp"; fi mkdir -p ./tmp/$ZIPDIR cp -r ./build/* ./tmp/$ZIPDIR/ if [ -e "../util" ] ; then cp ../util/solr*.tgz ./tmp/$ZIPDIR/ cp ../util/jetty*.gz ./tmp/$ZIPDIR/ fi if [ -e "../doc/relnotes/" ] ; then cp -r ../doc/relnotes/* ./tmp/$ZIPDIR/ fi # also copy the LICENSE, README, and INSTALL into the zip cp LICENSE ./tmp/$ZIPDIR/ cp README ./tmp/$ZIPDIR/ cp INSTALL.md ./tmp/$ZIPDIR/ # add the build output find webapp/build -name "p4-search*.war" -exec cp {} ./tmp/$ZIPDIR/ \; # zip it! pushd tmp && tar -pczf p4-search.tgz $ZIPDIR && popd # done, result is in ./tmp
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18494 | Paul Allen |
Fixed paths: search/search/... to search/... util/util/... to util/... Fixed permission bits +w for config and properties file that get touched during build/install Fixed INSTALL file and install dir (cause name clash on OS X) moved INSTALL to INSTALL.md |
||
//guest/perforce_software/p4search/main/search/search/build.sh | |||||
#1 | 16193 | perforce_software | Move p4search to main directory to match new branching path scheme. | ||
//guest/perforce_software/p4search/search/build.sh | |||||
#2 | 9007 | Doug Scheirer |
update workshop p4-search with the latest released code: * code updates - bug fixes * adding jetty + solr tarballs * script updates * updated p4java jar to latest release |
||
#1 | 8975 | Matt Attaway | Populate official version of p4-search from the original Doug Scheirer source |