The dreaded "Unsed node detected"

Added by Michael Bergamo over 3 years ago

I have yet to find any answer to this error. If I remove the labeller node, it runs (but then I don't have my node :-(( ). I have tried just about all available versions and they all act the same way. Here is the node I have to remove to get it to run (p4labeller is a custom DLL and it is there):

<labeller type="p4labeller">
<major>x</major>
<minor>x</minor>
<build>xxxx</build>
<revision>0</revision>
<incrementOnFailure>false</incrementOnFailure>
<client>pf</client>
<executable>p4.exe</executable>
<port>ssl:xxx.x.xxxx.com:1666</port>
<user>ent-mobile-server-build</user>
<view>"//depot/xxx/xxx/..."</view>
</labeller>

It complains about the <major>7</major>. How does it know the node is unused. It seems to be strange to flag an error on something not used, why not just NOT USE IT :)

Thanks

Mike


Replies (1)

RE: The dreaded "Unsed node detected" - Added by Mehrdad Mirreza over 3 years ago

I don't know the specification for the p4labeller and couldn't find it by google'ing it, but the error "Unsed node detected" usually means, you have used a tag that does not belong to the block it is inside, or you have an XML syntax error (haven't closed a tag or comment properly, or sth. like that).

How does it know the node is unused.

I've not looked into CCNET sources, but I guess CCNET applies an XML scheme check on your config files and see that you have different tags that it was specified in the scheme.

Just try to comment out each tag inside the labeller block to find out, which one is not accepted.

(1-1/1)