-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #941 from NASA-PDS/issue_935
Specify specific maven project.version in the validate execution scripts
- Loading branch information
Showing
6 changed files
with
12 additions
and
18 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
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
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
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
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 |
---|---|---|
|
@@ -48,16 +48,13 @@ set PARENT_DIR=%SCRIPT_DIR%.. | |
set LIB_DIR=%PARENT_DIR%\lib | ||
|
||
:: Check for dependencies. | ||
if exist "%LIB_DIR%\validate-*.jar" ( | ||
set VALIDATE_JAR=%LIB_DIR%\validate-*.jar | ||
if exist "%LIB_DIR%\validate-@project.version@.jar" ( | ||
set VALIDATE_JAR=%LIB_DIR%\validate-@project.version@.jar | ||
) else ( | ||
echo Cannot find VTool jar file in %LIB_DIR% | ||
echo Cannot find VTool jar file ([email protected]@.jar) in %LIB_DIR% | ||
goto END | ||
) | ||
|
||
:: Finds the jar file in LIB_DIR and sets it to VALIDATE_JAR | ||
for %%i in ("%LIB_DIR%"\validate-*.jar) do set VALIDATE_JAR=%%i | ||
|
||
:: Executes the Validate Tool via the executable jar file | ||
:: The special variable '%*' allows the arguments | ||
:: to be passed into the executable. | ||
|
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 |
---|---|---|
|
@@ -48,16 +48,13 @@ set PARENT_DIR=%SCRIPT_DIR%.. | |
set LIB_DIR=%PARENT_DIR%\lib | ||
|
||
:: Check for dependencies. | ||
if exist "%LIB_DIR%\validate-*.jar" ( | ||
set VALIDATE_JAR=%LIB_DIR%\validate-*.jar | ||
if exist "%LIB_DIR%\validate-@project.validate@.jar" ( | ||
set VALIDATE_JAR=%LIB_DIR%\validate-@project.version@.jar | ||
) else ( | ||
echo Cannot find VTool jar file in %LIB_DIR% | ||
echo Cannot find VTool jar file ([email protected]@.jar) in %LIB_DIR% | ||
goto END | ||
) | ||
|
||
:: Finds the jar file in LIB_DIR and sets it to VALIDATE_JAR | ||
for %%i in ("%LIB_DIR%"\validate-*.jar) do set VALIDATE_JAR=%%i | ||
|
||
:: Executes the Validate Tool via the executable jar file | ||
:: The special variable '%*' allows the arguments | ||
:: to be passed into the executable. | ||
|