-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding BAT runner (written on Unix and not tested).
- Loading branch information
Martin Dvorak
committed
Oct 14, 2014
1 parent
d0b85c8
commit 833c9b3
Showing
2 changed files
with
52 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@echo off | ||
|
||
@REM Licensed to the Apache Software Foundation (ASF) under one | ||
@REM or more contributor license agreements. See the NOTICE file | ||
@REM distributed with this work for additional information | ||
@REM regarding copyright ownership. The ASF licenses this file | ||
@REM to you under the Apache License, Version 2.0 (the | ||
@REM "License"); you may not use this file except in compliance | ||
@REM with the License. You may obtain a copy of the License at | ||
|
||
@REM http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
@REM Unless required by applicable law or agreed to in writing, | ||
@REM software distributed under the License is distributed on an | ||
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
@REM KIND, either express or implied. See the License for the | ||
@REM specific language governing permissions and limitations | ||
@REM under the License. | ||
|
||
:checkJava | ||
set _JAVACMD=%JAVACMD% | ||
|
||
if "%JAVA_HOME%" == "" goto noJavaHome | ||
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome | ||
if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe | ||
goto endcommon | ||
|
||
:noJavaHome | ||
if "%_JAVACMD%" == "" set _JAVACMD=java.exe | ||
|
||
:endcommon | ||
|
||
"%_JAVACMD%" -classpath "..\lib\keepass2-to-keepassx.jar:..\lib\xpp3-1.1.4c.jar" com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase %1 %2 | ||
|
||
@REM eof |
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