1. jhove2
  2. main

Commits

mstrong  committed b9dccb7

fix issue #97 pathnames with spaces now supported

  • Participants
  • Parent commits 3bc4d81
  • Branches default

Comments (0)

Files changed (14)

File src/main/scripts/arules.cmd

View file
 
 call env
 
-%JAVA% -cp %CP% org.jhove2.app.util.ARules %*
+%JAVA% -cp "%CP%" org.jhove2.app.util.ARules %*
 
 

File src/main/scripts/arules.sh

View file
 
 . ./env.sh 
 
-${JAVA} -cp $CP org.jhove2.app.util.ARules $@
+${JAVA} -cp "$CP" org.jhove2.app.util.ARules $@

File src/main/scripts/jhove2.bat

View file
 REM ECHO JHOVE2_HOME = %JHOVE2_HOME%
 
 SET CP=%JHOVE2_HOME%\lib\jhove2-${project.version}.jar;${classpath}
-ECHO %CP%
 
 REM NOTE: Nothing below this line should be edited
 REM #########################################################################
   GOTO WHILE
 :LOOP
 
-%JAVA% -cp %CP% org.jhove2.app.JHOVE2CommandLine %ARGS%
+%JAVA% -cp "%CP%" org.jhove2.app.JHOVE2CommandLine %ARGS%
 

File src/main/scripts/jhove2.cmd

View file
 
 call env
 
-%JAVA% -cp %CP% org.jhove2.app.JHOVE2CommandLine %*
+%JAVA% -cp "%CP%" org.jhove2.app.JHOVE2CommandLine %*
 

File src/main/scripts/jhove2.sh

View file
 . ./env.sh
 
 
-${JAVA} -cp $CP org.jhove2.app.JHOVE2CommandLine $@
+${JAVA} -cp "$CP" org.jhove2.app.JHOVE2CommandLine $@

File src/main/scripts/jhove2_doc.bat

View file
   GOTO WHILE
 :LOOP
 
-%JAVA% -cp %CP% org.jhove2.app.util.JHOVE2Doc %ARGS%
+%JAVA% -cp "%CP%" org.jhove2.app.util.JHOVE2Doc %ARGS%
 

File src/main/scripts/jhove2_doc.cmd

View file
 
 call env
 
-%JAVA% -cp %CP% org.jhove2.app.util.JHOVE2Doc %*
+%JAVA% -cp "%CP%" org.jhove2.app.util.JHOVE2Doc %*
 
 

File src/main/scripts/jhove2_doc.sh

View file
 
 . ./env.sh 
 
-${JAVA} -cp $CP org.jhove2.app.util.JHOVE2Doc $@
+${JAVA} -cp "$CP" org.jhove2.app.util.JHOVE2Doc $@

File src/main/scripts/jhove2_dpfg.bat

View file
   GOTO WHILE
 :LOOP
 
-%JAVA% -cp %CP% org.jhove2.app.util.DisplayerPropertyFileGenerator %ARGS%
+%JAVA% -cp "%CP%" org.jhove2.app.util.DisplayerPropertyFileGenerator %ARGS%
 

File src/main/scripts/jhove2_dpfg.cmd

View file
 
 call env
 
-%JAVA% -cp %CP% org.jhove2.app.util.DisplayerPropertyFileGenerator %*
+%JAVA% -cp "%CP%" org.jhove2.app.util.DisplayerPropertyFileGenerator %*

File src/main/scripts/jhove2_dpfg.sh

View file
 
 . ./env.sh
 
-${JAVA} -cp $CP org.jhove2.app.util.DisplayerPropertyFileGenerator $@
+${JAVA} -cp "$CP" org.jhove2.app.util.DisplayerPropertyFileGenerator $@

File src/main/scripts/jhove2_upfg.bat

View file
   GOTO WHILE
 :LOOP
 
-%JAVA% -cp %CP% org.jhove2.app.util.UnitsPropertyFileGenerator %ARGS%
+%JAVA% -cp "%CP%" org.jhove2.app.util.UnitsPropertyFileGenerator %ARGS%
 

File src/main/scripts/jhove2_upfg.cmd

View file
 
 call env
 
-%JAVA% -cp %CP% org.jhove2.app.util.UnitsPropertyFileGenerator %*
+%JAVA% -cp "%CP%" org.jhove2.app.util.UnitsPropertyFileGenerator %*

File src/main/scripts/jhove2_upfg.sh

View file
 
 . ./env.sh
 
-${JAVA} -cp $CP org.jhove2.app.util.UnitsPropertyFileGenerator $@
+${JAVA} -cp "$CP" org.jhove2.app.util.UnitsPropertyFileGenerator $@