[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
examples don't work in 1.7  XML
Forum Index -> Quartz
Author Message
stevecoh

journeyman

Joined: 01/27/2010 09:34:13
Messages: 27
Offline

This is because the directory structure is not what buildcp.bat expects:

dir /b "%QUARTZ%\lib\core\*.jar" > temp.tmp
FOR /F %%I IN (temp.tmp) DO CALL "%QEB%\addpath.bat" "%QUARTZ%\lib\%%I"

The lib\core directory does not exist in the 1.7.1 distribution, and you get
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory errors.

changing the above line to

dir /b "%QUARTZ%\lib\*.jar" > temp.tmp
FOR /F %%I IN (temp.tmp) DO CALL "%QEB%\addpath.bat" "%QUARTZ%\lib\%%I"

allows the example to work as desired.
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1703
Offline


Thanks for the report. I've done my testing on linux and the .sh scripts do work -- it has been an oversight to re-test the .bat scripts.
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team