-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.bat
45 lines (44 loc) · 1.37 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
::
:: NAME build.bat
:: VERSION 1.17.1-SNAPSHOT
:: DATE 2017-05-05
::
:: Copyright 2012-2017
::
:: This file is part of the Linked Data Theatre.
::
:: The Linked Data Theatre is free software: you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation, either version 3 of the License, or
:: (at your option) any later version.
::
:: The Linked Data Theatre is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
:: GNU General Public License for more details.
::
:: You should have received a copy of the GNU General Public License
:: along with the Linked Data Theatre. If not, see <http://www.gnu.org/licenses/>.
::
@echo off
:: Update the TOMCAT_ROOT variable if you are using a docroot for your Linked Data Theatre installation
set TOMCAT_ROOT="%CATALINA_HOME%\webapps\ROOT"
cd target
del /F /Q *
cd ..\orbeon
call mvn package
cd ..\ext-resources
call mvn package
cd ..\license-builder
call mvn clean install
cd ..\orbeon
call mvn clean package
cd ..\processors
call maven-install-orbeon-jar.bat
call maven-install-virtuoso-jar.bat
call mvn clean install
cd ..
call mvn clean package
cd target
cd ldt*
call xcopy /E /Y * "%TOMCAT_ROOT%"