This repository has been archived by the owner on Jan 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git thinks these files are modified?
- Loading branch information
Showing
4 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
@echo off | ||
set D2R_ROOT=%~p0 | ||
set CP="%D2R_ROOT%build" | ||
call :findjars "%D2R_ROOT%lib" | ||
set LOGCONFIG=file:%D2R_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.d2r_query %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 | ||
@echo off | ||
set D2R_ROOT=%~p0 | ||
set CP="%D2R_ROOT%build" | ||
call :findjars "%D2R_ROOT%lib" | ||
set LOGCONFIG=file:%D2R_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.d2r_query %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
@echo off | ||
if NOT EXIST .\d2r-server.bat ( | ||
echo Please cd into the D2R Server directory to run the server | ||
exit /B | ||
) | ||
set D2RQ_ROOT=%~p0 | ||
set CP="%D2RQ_ROOT%build" | ||
call :findjars "%D2RQ_ROOT%lib" | ||
set LOGCONFIG=file:%D2RQ_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.server %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 | ||
@echo off | ||
if NOT EXIST .\d2r-server.bat ( | ||
echo Please cd into the D2R Server directory to run the server | ||
exit /B | ||
) | ||
set D2RQ_ROOT=%~p0 | ||
set CP="%D2RQ_ROOT%build" | ||
call :findjars "%D2RQ_ROOT%lib" | ||
set LOGCONFIG=file:%D2RQ_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.server %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
@echo off | ||
set D2R_ROOT=%~p0 | ||
set CP="%D2R_ROOT%build" | ||
call :findjars "%D2R_ROOT%lib" | ||
set LOGCONFIG=file:%D2R_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.dump_rdf %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 | ||
@echo off | ||
set D2R_ROOT=%~p0 | ||
set CP="%D2R_ROOT%build" | ||
call :findjars "%D2R_ROOT%lib" | ||
set LOGCONFIG=file:%D2R_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.dump_rdf %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
@echo off | ||
set D2RQ_ROOT=%~p0 | ||
set CP="%D2RQ_ROOT%build" | ||
call :findjars "%D2RQ_ROOT%lib" | ||
set LOGCONFIG=file:%D2RQ_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.generate_mapping %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 | ||
@echo off | ||
set D2RQ_ROOT=%~p0 | ||
set CP="%D2RQ_ROOT%build" | ||
call :findjars "%D2RQ_ROOT%lib" | ||
set LOGCONFIG=file:%D2RQ_ROOT%etc/log4j.properties | ||
java -cp %CP% -Xmx1G "-Dlog4j.configuration=%LOGCONFIG%" d2rq.generate_mapping %* | ||
exit /B | ||
|
||
:findjars | ||
for %%j in (%1\*.jar) do call :addjar "%%j" | ||
for /D %%d in (%1\*) do call :findjars "%%d" | ||
exit /B | ||
|
||
:addjar | ||
set CP=%CP%;%1 |