This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've tried to write simple query. Something like: $err.log :: $err instanceof org.openide.ErrorManager but the only output I can get is "ErrorManagerLog:2: invalid rule format: "$err.log" is missing a => expression" fine, but where is an example of writing such query? I tried to look at the website or at least open some of the queries in the "manager". None of that works. That is not polite. If there was a way to see the rules files for existing queries I would shut up.
One of the first statement in http://jackpot.netbeans.org/docs/rule-language.html <pattern> => <replacement> ; > If there was a way to see the rules files for existing queries I would shut up. You might want to take a look at "StringTokenizer to Scanner" rule (open from the command manager). Some of tham cannot be opened because they are not written in the query language but by transforer AFAIK.
Check out http://jackpot.netbeans.org/docs/src/FindEJBs.rules for an example; the built-in actions for the rule language are described <a href="http://jackpot.netbeans.org/docs/rule-language.html#builtinActions">here</a>. You are right that the tutorial needs improvement, however. I hope that now that Jackpot is public a docs person can spend a little time on it.
The old Jackpot module is no longer maintained. There is a rewrite in progress at: http://bitbucket.org/jlahoda/jackpot30/wiki/Home