View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/attic/forge/rating-field/trunk/cms/eclipse.sh
Revision: 58810
Committed: Mon Apr 24 09:06:49 2017 UTC (16 months, 3 weeks ago) by jhoffman
Content type: application/x-sh
File size: 844 byte(s)
Log Message:
HIPFORGE-99 move rating-field code back from GitHub to SVN attic. Plugin is unmaintained after all.

File Contents

# Content
1 #!/bin/sh
2
3 m2home=${HOME}/.m2/repository
4 version=2.07.00
5
6 ######################################################
7
8 cwd=`pwd`
9 base=`dirname $0`
10 if [ -d "$base/lib" -o -d "$base/classes" ]
11 then
12 echo "removing lib and classes folders"
13 rm -rf $base/lib/ $base/classes/
14 fi
15
16 if [ ! -d "$base/quickstart" ]
17 then
18 echo "creating quickstart folder..."
19 mkdir $base/quickstart
20 fi
21
22 echo "copying hippo-ecm-quickstart-war-${version}.war..."
23 cp ${m2home}/org/hippoecm/hippo-ecm-quickstart-war/${version}/hippo-ecm-quickstart-war-${version}.war $base/quickstart/quickstart.war || exit 1 "Could not find quickstart ${version}"
24
25 echo "extracting quickstart war..."
26 chdir $base/quickstart
27 jar xf quickstart.war || exit 1
28 chdir $cwd
29
30 echo "moving lib and classes folders..."
31 mv $base/quickstart/WEB-INF/lib $base/
32 mv $base/quickstart/WEB-INF/classes $base/

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Id