brilliant!
xmlrpc works like a charm (no dirty html parsing :). this way i am
getting directly to information i want. to show how simple it is
following code (which queries for assigned tickets and print referred
component. done with (great) groovy:
[code]
import groovy.net.xmlrpc.XMLRPCServerProxy as Proxy
def server=new Proxy('http://<urlStartToTracApp>/xmlrpc')
server.ticket.query("status=assigned").each{
ticket=server.ticket.get(it)
println ticket[3]['component']
}
[/code]
could not go simpler :)
On Dec 12, 11:18 am, aldana <[EMAIL PROTECTED]> wrote:
> yes, maybe i will have a look at xml-rpc plugin (already installed
> because of mylyn) for parsing html and getting relevant ticket report
> information through html is quite ugly (format information, irrelevant
> tags etc.).
>
> On Dec 12, 10:42 am, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote:
>
> > > i will go for the custom query and HTTP GET option.
> > > don't want to switch to database with network capability (postgre,
>
> > An alternative might be XmlRpcPlugin, although I never try it w/ Reports.
>
> > Cheers,
> > Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---