-
Notifications
You must be signed in to change notification settings - Fork 8
/
buildall.bat
50 lines (44 loc) · 1.41 KB
/
buildall.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
46
47
48
49
50
@echo off
rem ---------------------------------------------------------------------------
rem ---------------------------------------------------------------------------
@set JARDIR=openrtp_1.1.0
@set LIBS=-lib ..\lib -lib ..\lib\a4e-2137 -lib ..\lib\a4e-2137\libs -lib %ECLIPSE_HOME%\plugins
rem ---------------------------------------------------------------------------
rem
rem ---------------------------------------------------------------------------
set TARGETS=^
jp.go.aist.rtm.toolscommon.profiles ^
jp.go.aist.rtm.toolscommon.profiles.nl1 ^
jp.go.aist.rtm.toolscommon ^
jp.go.aist.rtm.toolscommon.nl1 ^
jp.go.aist.rtm.rtcbuilder ^
jp.go.aist.rtm.rtcbuilder.nl1 ^
jp.go.aist.rtm.rtcbuilder.java ^
jp.go.aist.rtm.rtcbuilder.python ^
jp.go.aist.rtm.rtcbuilder.lua ^
jp.go.aist.rtm.repositoryView ^
jp.go.aist.rtm.repositoryView.nl1 ^
jp.go.aist.rtm.nameserviceview ^
jp.go.aist.rtm.nameserviceview.nl1 ^
jp.go.aist.rtm.systemeditor ^
jp.go.aist.rtm.systemeditor.nl1
@if exist %JARDIR% (
rd /S /Q %JARDIR%
)
mkdir %JARDIR%
git clone https://github.com/Nobu19800/jp.go.aist.rtm.rtcbuilder.lua
for /D %%p in ( %TARGETS% ) do (
@set target=%%p
echo %%p
cd %%p
call ant buildAll %LIBS%
if ERRORLEVEL 1 goto FAIL
copy jar\*aist*.jar ..\%JARDIR%
cd ..
)
echo "Build finished successfully"
@goto END
:FAIL
cd ..
echo "Build failed" %TARGET%
:END