Permalink
Browse files
Fixed error in checks.bat file.
- checks.bat: replaced pipe symbols by minus signs.
- I2B2ODMStudyHandlerCMLClient: added comment on how to run this class from the command-line.
- Loading branch information...
|
|
@@ -25,29 +25,29 @@ |
|
|
|
|
|
@echo.
|
|
|
@echo ================================================================================================================
|
|
|
-@echo Check for Checkstyle issues (mvn checkstyle:checkstyle | report in target\checkstyle-result.xml)
|
|
|
+@echo Check for Checkstyle issues (mvn checkstyle:checkstyle - report in target\checkstyle-result.xml)
|
|
|
@pause
|
|
|
@call mvn checkstyle:checkstyle
|
|
|
@if not "%ERRORLEVEL%" == "0" less target/checkstyle-result.xml
|
|
|
|
|
|
@echo.
|
|
|
@echo ================================================================================================================
|
|
|
-@echo Check for FindBugs issues (mvn compile findbugs:check | report in target\findbugsXml.xml)
|
|
|
+@echo Check for FindBugs issues (mvn compile findbugs:check - report in target\findbugsXml.xml)
|
|
|
@pause
|
|
|
@call mvn compile findbugs:check
|
|
|
@if not "%ERRORLEVEL%" == "0" less target/findbugsXml.xml
|
|
|
@call copy target\findbugsXml.xml tmp
|
|
|
|
|
|
@echo.
|
|
|
@echo ================================================================================================================
|
|
|
-@echo Check for PMD issues (mvn compile pmd:check | report in target\pmd.xml)
|
|
|
+@echo Check for PMD issues (mvn compile pmd:check - report in target\pmd.xml)
|
|
|
@pause
|
|
|
@call mvn compile pmd:check
|
|
|
@if not "%ERRORLEVEL%" == "0" less target/pmd.xml
|
|
|
|
|
|
@echo.
|
|
|
@echo ================================================================================================================
|
|
|
-@echo Check for CPD issues (mvn compile pmd:cpd-check | report in target\cpd.xml)
|
|
|
+@echo Check for CPD issues (mvn compile pmd:cpd-check - report in target\cpd.xml)
|
|
|
@pause
|
|
|
@call mvn compile pmd:cpd-check
|
|
|
@if not "%ERRORLEVEL%" == "0" less target/cpd.xml
|
|
|
@@ -2,7 +2,13 @@ |
|
|
|
|
|
/**
|
|
|
* Copyright(c) 2011-2012 Recombinant Data Corp., All rights Reserved
|
|
|
+ *
|
|
|
* This is a handler's command-line client that can loading other source ODM XML files
|
|
|
+ *
|
|
|
+ * This class can be executed from the command-line (using Maven):
|
|
|
+ * mvn compile exec:java -Dexec.mainClass="com.recomdata.i2b2.I2B2ODMStudyHandlerCMLClient"
|
|
|
+ * -Dexec.args="odm/examples/CDISC_ODM_example_maxim.xml export yes"
|
|
|
+ *
|
|
|
* @author: Alex Wu
|
|
|
* @date: October 28, 2011
|
|
|
*/
|
|
|
|
0 comments on commit
4d34ef3