Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Generic Web named expressions ({Id}.+?) - are these supported?
Generic Web named expressions ({Id}.+?) - are these supported? [message #55555] Thu, 07 August 2008 14:05 Go to next message
Eclipse UserFriend
Documentation for Generic Connector at
http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
indicates that I can define expressions like this:

Note: Query Pattern field should be a regexp with 1st matching group on
Issue ID and 2nd on Issue Description. Alternatively, you could use named
matching groups: ({Id}.+?), ({Description}.+?), ({Status}.+?), ({Owner}.+?)
and ({Type}.+?), then they can appear in query regexp in an arbitrary order.
The second option requires build 2.0.0v20070717 or later.

I tried to build pattern using the alternat form ... ({Id}.+?) ... but I get
expression errors.

I'm using Ganymede, and all mylyn related plugin jars have version numbers
of 3. something with build dates 2008...

The generic web plugin is
org.eclipse.mylyn.web.tasks_3.0.1.v20080721-2100-e3x.jar.

Question: Is this feature for naming the patterns supported, or possibly the
documentation is wrong?

Michael
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #55584 is a reply to message #55555] Thu, 07 August 2008 15:41 Go to previous messageGo to next message
Eclipse UserFriend
The error you are seeing may be caused by a regression in Mylyn 3.0 that has
been reported here:

243131: [web connector] named regex groups don't work with 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243131

Please comment on the bug report with the expression that is failing for
you.

Thanks.
Steffen


Michael Giroux wrote:

> Documentation for Generic Connector at
>
http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
> indicates that I can define expressions like this:
>
> Note: Query Pattern field should be a regexp with 1st matching group on
> Issue ID and 2nd on Issue Description. Alternatively, you could use named
> matching groups: ({Id}.+?), ({Description}.+?), ({Status}.+?),
> ({Owner}.+?) and ({Type}.+?), then they can appear in query regexp in an
> arbitrary order. The second option requires build 2.0.0v20070717 or later.
>
> I tried to build pattern using the alternat form ... ({Id}.+?) ... but I
> get expression errors.
>
> I'm using Ganymede, and all mylyn related plugin jars have version numbers
> of 3. something with build dates 2008...
>
> The generic web plugin is
> org.eclipse.mylyn.web.tasks_3.0.1.v20080721-2100-e3x.jar.
>
> Question: Is this feature for naming the patterns supported, or possibly
> the documentation is wrong?
>
> Michael
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #55611 is a reply to message #55584] Thu, 07 August 2008 16:26 Go to previous messageGo to next message
Eclipse UserFriend
I have added a comment to the bug.

What I find is that {Id} causes the parsing error: null pointer. Any of the
other keywords cause a message that taskId and summary must be specified
(see bug for exact message).

Also, I believe that if using named matching groups that it is necessary for
all matching groups to be named. If this is a rule, the NOTE regarding the
alternate form using named matching groups should be updated.

Michael


"Steffen Pingel" <steffen.pingel@tasktop.com> wrote in message
news:g7fj4g$3r9$1@build.eclipse.org...
> The error you are seeing may be caused by a regression in Mylyn 3.0 that
> has
> been reported here:
>
> 243131: [web connector] named regex groups don't work with 3.4
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=243131
>
> Please comment on the bug report with the expression that is failing for
> you.
>
> Thanks.
> Steffen
>
>
> Michael Giroux wrote:
>
>> Documentation for Generic Connector at
>>
> http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
>> indicates that I can define expressions like this:
>>
>> Note: Query Pattern field should be a regexp with 1st matching group on
>> Issue ID and 2nd on Issue Description. Alternatively, you could use named
>> matching groups: ({Id}.+?), ({Description}.+?), ({Status}.+?),
>> ({Owner}.+?) and ({Type}.+?), then they can appear in query regexp in an
>> arbitrary order. The second option requires build 2.0.0v20070717 or
>> later.
>>
>> I tried to build pattern using the alternat form ... ({Id}.+?) ... but I
>> get expression errors.
>>
>> I'm using Ganymede, and all mylyn related plugin jars have version
>> numbers
>> of 3. something with build dates 2008...
>>
>> The generic web plugin is
>> org.eclipse.mylyn.web.tasks_3.0.1.v20080721-2100-e3x.jar.
>>
>> Question: Is this feature for naming the patterns supported, or possibly
>> the documentation is wrong?
>>
>> Michael
>
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #56882 is a reply to message #55584] Wed, 27 August 2008 13:43 Go to previous message
Eclipse UserFriend
Steffen,
Have installed the weekly build and the named expressions are working just
fine.

Thanks
Michael
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #592295 is a reply to message #55555] Thu, 07 August 2008 15:41 Go to previous message
Eclipse UserFriend
The error you are seeing may be caused by a regression in Mylyn 3.0 that has
been reported here:

243131: [web connector] named regex groups don't work with 3.4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243131

Please comment on the bug report with the expression that is failing for
you.

Thanks.
Steffen


Michael Giroux wrote:

> Documentation for Generic Connector at
>
http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
> indicates that I can define expressions like this:
>
> Note: Query Pattern field should be a regexp with 1st matching group on
> Issue ID and 2nd on Issue Description. Alternatively, you could use named
> matching groups: ({Id}.+?), ({Description}.+?), ({Status}.+?),
> ({Owner}.+?) and ({Type}.+?), then they can appear in query regexp in an
> arbitrary order. The second option requires build 2.0.0v20070717 or later.
>
> I tried to build pattern using the alternat form ... ({Id}.+?) ... but I
> get expression errors.
>
> I'm using Ganymede, and all mylyn related plugin jars have version numbers
> of 3. something with build dates 2008...
>
> The generic web plugin is
> org.eclipse.mylyn.web.tasks_3.0.1.v20080721-2100-e3x.jar.
>
> Question: Is this feature for naming the patterns supported, or possibly
> the documentation is wrong?
>
> Michael
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #592303 is a reply to message #55584] Thu, 07 August 2008 16:26 Go to previous message
Eclipse UserFriend
I have added a comment to the bug.

What I find is that {Id} causes the parsing error: null pointer. Any of the
other keywords cause a message that taskId and summary must be specified
(see bug for exact message).

Also, I believe that if using named matching groups that it is necessary for
all matching groups to be named. If this is a rule, the NOTE regarding the
alternate form using named matching groups should be updated.

Michael


"Steffen Pingel" <steffen.pingel@tasktop.com> wrote in message
news:g7fj4g$3r9$1@build.eclipse.org...
> The error you are seeing may be caused by a regression in Mylyn 3.0 that
> has
> been reported here:
>
> 243131: [web connector] named regex groups don't work with 3.4
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=243131
>
> Please comment on the bug report with the expression that is failing for
> you.
>
> Thanks.
> Steffen
>
>
> Michael Giroux wrote:
>
>> Documentation for Generic Connector at
>>
> http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
>> indicates that I can define expressions like this:
>>
>> Note: Query Pattern field should be a regexp with 1st matching group on
>> Issue ID and 2nd on Issue Description. Alternatively, you could use named
>> matching groups: ({Id}.+?), ({Description}.+?), ({Status}.+?),
>> ({Owner}.+?) and ({Type}.+?), then they can appear in query regexp in an
>> arbitrary order. The second option requires build 2.0.0v20070717 or
>> later.
>>
>> I tried to build pattern using the alternat form ... ({Id}.+?) ... but I
>> get expression errors.
>>
>> I'm using Ganymede, and all mylyn related plugin jars have version
>> numbers
>> of 3. something with build dates 2008...
>>
>> The generic web plugin is
>> org.eclipse.mylyn.web.tasks_3.0.1.v20080721-2100-e3x.jar.
>>
>> Question: Is this feature for naming the patterns supported, or possibly
>> the documentation is wrong?
>>
>> Michael
>
Re: Generic Web named expressions ({Id}.+?) - are these supported? [message #592873 is a reply to message #55584] Wed, 27 August 2008 13:43 Go to previous message
Eclipse UserFriend
Steffen,
Have installed the weekly build and the named expressions are working just
fine.

Thanks
Michael
Previous Topic:Creating tasks programmatically
Next Topic:Generic Web Connector configuration: How are URLs used?
Goto Forum:
  


Current Time: Wed Apr 30 15:10:12 EDT 2025

Powered by FUDForum. Page generated in 0.07780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top