Share

Dashboard remote build monitor plugin

Tracker: Support Requests

5 Can't instantiate logger - ID: 1410285
Last Update: Tracker Item Submitted ( nobody )

I am trying to install dashboard with windows xp,
cc2.2.1, dashboard1.0.5 and ant1.6.2. I am using the
antscript in my config file. So far, I have added the 3
important files to the cruisecontrol classpath, adding
them to the cruisecontrol.bat as follows:

set
CRUISE_PATH=%CRUISE_PATH%;%DISTDIR%\cruisecontrol.jar;%LIBDIR%\log4j.jar;%L
IBDIR%\jdom.jar;%LIBDIR%\ant\ant.jar;%LIBDIR%\ant\ant-launcher.jar;%LIBDIR%
\xerces.jar;%LIBDIR%\xalan.jar;%LIBDIR%\jakarta-oro-2.0.3.jar;%LIBDIR%\mail
.jar;%LIBDIR%\junit.jar;%LIBDIR%\activation.jar;%LIBDIR%\commons-net-1.1.0.
jar;%LIBDIR%\starteam-sdk.jar;%LIBDIR%\mx4j.jar;%LIBDIR%\mx4j-tools.jar;%LI
BDIR%\mx4j-remote.jar;%LIBDIR%\smack.jar;%LIBDIR%\comm.jar;%LIBDIR%\x10.jar
;%LIBDIR%;%LIBDIR%\dashboard-server-1.0.5.jar;.

I have also added these 3 files to the classpath of ant
in my ant script as follows:
set
CLASSPATH=%JUNIT_HOME%/junit.jar;s:/lib/dashboard-server-1.0.5.jar;s:/lib/j
dom.jar;s:/lib/;.

My dashboard xml file is a stripped down version of the
example:

<dashboard>
<!-- Optional multicast settings - if omitted, they
will default to 236.1.2.3, 3274 -->
<multicast>
<host>236.1.2.3</host>
<port>3274</port>
</multicast>
<!-- Ant target to multicast message mappings -->
<targets>
<!-- Send a message called "aaargh" only when
the test target fails -->
<target name="test" event="FAILED">
<message name="aaargh" status="FAILED"/>
</target>
</targets>
</dashboard>

I have tried it with and without the multicast, nothing
seems to help. I don't know what else to try. I turn on
the debugging in ant and the only error I get back is this:

Unable to instantiate specified logger class
net.sourceforge.dashboard.cruisecontrol.CruiseBuildManager
: java.lang.RuntimeException
java.lang.RuntimeException
at org.apache.tools.ant.Main.createLogger(Main.java:787)
at
org.apache.tools.ant.Main.addBuildListeners(Main.java:710)
at org.apache.tools.ant.Main.runBuild(Main.java:598)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Here is a copy of my config.xml command:

<ant buildfile="S:/dist/build.xml"

loggerClassName="net.sourceforge.dashboard.cruisecontrol.CruiseBuildManager
"
uselogger="true"
usedebug="false"
usequiet="false"
antWorkingDir="S:/dist/cruiseControl/builds"
antscript="S:/dist/cruiseControl/ant.bat"
target="cruiseControl-build">
</ant>

What else can I try to do? Can anyone help?


Nobody/Anonymous ( nobody ) - 2006-01-19 23:10

5

Open

None

Nobody/Anonymous

Install Problem (example)

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.