Web Templates Connector | ||
---|---|---|
Trac Connector | Task-Focused UI |
It is available from the incubator update site. Please see http://www.eclipse.org/mylyn/downloads/ for a list of update sites. ( http://www.eclipse.org/mylyn/downloads is not an update site itself.)
The Web Connector have a “Preview” button in “Advanced Configuration” section in the “Query” preferences dialog. If you get an error or preview table does not show the expected list, you can use “Open” button to verify if web page downloaded by the Web Connector is correct.
Alternatively, you can use Query Pattern like ({Description}.+?)({Id}\n) to see content of the retrieved page in preview table and compare it with the source of the web page for the same url loaded into the web browser.
If retrieved web page is correct, but “Preview” don’t show expected results you need to check the “Query Pattern”. A popular mistake is an unmasked ‘?’ that separates request parameters in the url). For example:
<a href="show_bug.cgi\?id\=(.+?)">.+?<span class="summary">(.+?)</span>
If you don’t see the correct web page, check the following:
To debug web application auth further, you could use the wget tool (on Windows it available as a standalone command line tool and also included with Cygwin) and run the following command:
wget -v -d -o query.log -O query.html "http://your.query.url"
If repository require basic http auth, you’ll need to use --http-user=USER and --http-password=PASS options.
Then open file query.html in the web browser and check if it show list of issues you need to fetch from the web server. If it does have correct list, then there could be a problem with query pattern used for parsing.
If query.html does not show expected list of issues you can check query.log for server responses and try to identify if server require authentication, redirecting your requests somewhere or issue any other errors.
Trac Connector | Task-Focused UI |