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...
1 parent 8c4ad96 commit 4d34ef37ab6c17950e5f6cd7877367bba8cd861f @FreekDB FreekDB committed Mar 10, 2015
Showing with 10 additions and 4 deletions.
  1. +4 −4 checks.bat
  2. +6 −0 src/main/java/com/recomdata/i2b2/I2B2ODMStudyHandlerCMLClient.java
View
@@ -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

Please sign in to comment.