Hi
I have atempted to use the dashboard plugin but was
unable to get it to work.
Using tcpmon i am able to see that my messages are
being broadcasted from my ant script.
Copy of this below:
10:01:28 PM java.exe:2684 83A7C7E0
TDI_SEND_DATAGRAM UDP:0.0.0.0:3972
236.1.2.3:3274 SUCCESS-348732
Length:47
As you could tell I configured the ant build.xml so send
to host 236.1.2.3 on port 3274.
So I configured the plugin in eclipse to listen at the
same host and port. Once I displayed the plugin it said
that it connected succesfully.
I then ran the ant script again and observed the
following:
10:01:28 PM javaw.exe:3072 82EBE800
TDI_EVENT_RECEIVE_DATAGRAM
UDP:0.0.0.0:3274 24.243.12.153:3972
SUCCESS Bytes taken: 47 Flags:
So the javaw process would be the eclipse process and
the UDP 0.0.0.0:3274 would i guess be the port it listend
and obtained the message on. However in eclipse I don't
see anything happening.
Is there something I am missing? I wish there was way
to log information to a file both in eclipse and ant to be
able to debug why dashboard isn't proparly working.
Thanks
Logged In: YES
user_id=27091
Are you using the checkpoint task in Ant? If so, how have
you configured it? Can you post an example.
Logged In: YES
user_id=875803
Here is a sample target that I created to test it out:
<target name="testdashboard">
<taskdef name="checkpoint"
classname="net.sourceforge.dashboard.ant.Chec
kpointTask">
<classpath>
<fileset dir="${dashboard.lib}">
<include name="${dashboard.jar}"/>
</fileset>
</classpath>
</taskdef>
<!-- checkpoint host="224.0.0.1" port="1234"
name="testdashboard" status
="BUILDING"/ -->
<!-- checkpoint host="224.0.0.1" port="1234"
name="testdashboard" status
="PASSED"/ -->
<checkpoint host="236.1.2.3" port="3274"
name="testdashboard" status="FAIL
ED"/>
<echo message="Testing cruisecontrol dashboard"/>
</target>