Re: Errors Trying to build CruiseControl fromsources
Steve Murphy <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
In the C:\Cruise\main\classes I have
09/09/2011 08:11 530 CruiseControlWithJetty.class
09/09/2011 08:11 683 log4j.properties
09/09/2011 08:11 <DIR> net
09/09/2011 08:11 3,701 project.properties
09/09/2011 08:11 73 version.properties
In C:\cruise\main\target\test-classes
09/09/2011 08:11 690 log4j.properties
09/09/2011 08:11 <DIR> net
Doing a search for SysUtilMock.class from the C:\cruise folder only find 1
copy in the you said.
Just to make sure; In the 'java -cp' command where you say '**add a txt file
here**' does that have to be a file that exists, or can it just be
'MyTextFile.txt'
Thanks,
Steve
-----Original Message-----
From: Daniel Tihelka
Sent: Friday, September 09, 2011 9:11 AM
To: Steve Murphy
Cc: [email protected]
Subject: Re: [Cruisecontrol-user] Errors Trying to build CruiseControl
fromsources
Thank you. The changes from the patch seems to work so I will commit them to
SVN soon.
Now, are the following paths correct? Do they contain .class files from CC
build?
\C:\cruise\main\target\classes\
\C:\cruise\main\target\test-classes\
Can you find SysUtilMock.class on path
\C:\cruise\main\target\test-classes\net\sourceforge\cruisecontrol\testutil\
If no, is it somewhere elase?
Could you please try to start the following commands (in command prompt)
from
the same path and with the same environment as you run the build:
java -cp C:
\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:PROGRA~1\IBM\SQLLIB\java\sqlj.zip
;/C:/cruise/main/target/classes/;/C:/cruise/main/target/test-classes/;C:
\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;.
;/C:/cruise/main/lib/log4j.jar;C:
\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:
\Program Files(x86)\Java\jre6\lib\ext\QTJava.zip
net.sourceforge.cruisecontrol.testutil.SysUtilMock -C cat -P 'ID 01' -V
**add
a txt file here**
Is it working? If not, does it work when you replace all '/' by '\'
Are you familiar with java development? Are you able to get working the
execution of:
net.sourceforge.cruisecontrol.testutil.SysUtilMock -C cat -P 'ID 01' -V
**add
a txt file here**
What did you have to do to get it work?
Thank you for your help,
Dan
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/