[jbosstools-dev] RESTful Web Services questions
Xavier
xcoulon at gmail.com
Tue Jul 19 03:35:27 EDT 2011
Isaac,
Thanks, I'll look at it :-)
Regards,
Xavier
Le 19 juil. 2011 à 05:11, Isaac Rooskov <irooskov at redhat.com> a écrit :
> Thanks Xavier,
>
> I've opened a JIRA here:
>
> https://issues.jboss.org/browse/JBIDE-9363
>
> Isaac
>
> On 07/15/2011 05:39 PM, Xavier wrote:
>> Hello Isaac,
>>
>> Can you open a JIRA please with the test portlets projects in attachment? I'll look at it when I'm back.
>>
>> Also, thanks a lot for all the time you spent this week trying to debug the plugin.
>>
>> Best regards,
>> Xavier
>>
>> Le 15 juil. 2011 à 04:34, Isaac Rooskov<irooskov at redhat.com> a écrit :
>>
>>> Hey Xavier,
>>>
>>> I've attached a screenshot of the issue - been able to replicate it today. I haven't tried creating a new workspace and will do that next.
>>>
>>> The top project is a test portlet project I created a while ago, the project in the screenshot called 'test' is the one I created to test for this issue. For both projects I added the JAX-RS support through the context menu. As you can see the top project has children whereas the highlighted one does not.
>>>
>>> Though, today I also tested added JAX-RS through Properties and Project Facets to the "test" project and it produced the same outcome....ie: the "RESTful Web Services" tab without any children.
>>>
>>> I will try it all again with a new workspace (should get time today hopefully). If you don't hear back from me today it means I didn't get time to do this however.
>>>
>>> Adding JAX-RS support at the moment (to me) seems to produce random results so I will hopefully find some way to nail down the reasoning for why some things occur.
>>>
>>> Thanks for the assist,
>>>
>>> Isaac
>>>
>>> On 07/15/2011 03:11 AM, Max Rydahl Andersen wrote:
>>>> yes, and i also think that is why Xavier is asking for if Isaac saw the "Building" node under the rest nodes.
>>>>
>>>> /max
>>>>
>>>> On Jul 14, 2011, at 16:41, Lukas Jungmann wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> couldn't https://issues.jboss.org/browse/JBIDE-9332 be somehow
>>>>> similar/related to what Isaac is facing?
>>>>>
>>>>> Regards,
>>>>> --lj
>>>>>
>>>>> On 07/14/2011 09:57 AM, Xavier wrote:
>>>>>> Isaac,
>>>>>>
>>>>>> Sorry, my previous answer was incomplete: in your case, when you tried to expend the "RESTful Webservices" node in the project explorer view, did you see a single child node labelled "Building..." or nothing, as if there was no child at all ?
>>>>>> In the latest version of the plugin, the metamodel is built when the "RESTful Webservices" node is expanded if it had not been built before.
>>>>>>
>>>>>> Regards,
>>>>>> Xavier
>>>>>>
>>>>>> Le 14 juil. 2011 à 01:08, Isaac Rooskov<irooskov at redhat.com> a écrit :
>>>>>>
>>>>>>> Arg....today it seems to be working fine :S I'll keep mucking around with it and pushing forward. If I see it again I'll open a bug and hopefully be able to replicate it.
>>>>>>>
>>>>>>> Sorry if it turns out I've wasted your time.
>>>>>>>
>>>>>>> Isaac
>>>>>>>
>>>>>>> On 07/14/2011 12:01 AM, Xavier wrote:
>>>>>>>> Hello Isaac,
>>>>>>>>
>>>>>>>> As Max mentionned, there shouldn't be different outcomes. If the JAXRS metamodel is not built after adding the facet or if it is incomplete, then please open a JIRA with a sample project and I'll look at it when I come back.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Regards,
>>>>>>>> Xavier
>>>>>>>>
>>>>>>>> Le 13 juil. 2011 à 10:20, Max Rydahl Andersen<max.andersen at redhat.com> a écrit :
>>>>>>>>
>>>>>>>>> (moving to jbosstools-dev where Xavier might see this ;)
>>>>>>>>>
>>>>>>>>> They should not have different outcomes - does a call to refresh on the JAX-RS node triggers a proper tree ?
>>>>>>>>> If you still dont see that then please open a bug with steps to reproduce (i.e. the project you use it on)
>>>>>>>>>
>>>>>>>>> /max
>>>>>>>>>
>>>>>>>>> On Jul 13, 2011, at 03:50, Isaac Rooskov wrote:
>>>>>>>>>
>>>>>>>>>> Hey,
>>>>>>>>>>
>>>>>>>>>> I'm currently looking to add the information that Xavier has in a blog post to our documentation (blog post here: http://planet.jboss.org/view/post.seam?post=overview_of_the_jax_rs_support_in_jboss_tools_3_3m2 ).
>>>>>>>>>>
>>>>>>>>>> In it, Xavier mentions that you can add JAX-RS support to a Dynamic Web Project by right clicking on it and going to Configure -> JAX-RS support. Upon doing this I am presented with a RESTful Web Services item within my project in the Project Explorer...though the RESTful Web Services item has no children.
>>>>>>>>>>
>>>>>>>>>> When I add JAX-RS support by right clicking on the project and selecting Properties -> Project Facets -> JAX-RS it adds the same RESTful Web Services item but with a few children (GET, consumes:, produces: and a method).
>>>>>>>>>>
>>>>>>>>>> My questions are, should the method Xavier mentions also contain children for the RESTful Web Services item upon successfully adding support or is it performing correctly?
>>>>>>>>>>
>>>>>>>>>> If it is performing correctly, is there a preferred way for users to add JAX-RS support since both produce different outcomes?
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> Isaac
>>>>>>>>>>
>>>>>>>>> /max
>>>>>>>>> http://about.me/maxandersen
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> jbosstools-dev mailing list
>>>>>>>>> jbosstools-dev at lists.jboss.org
>>>>>>>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>>>> _______________________________________________
>>>>>> jbosstools-dev mailing list
>>>>>> jbosstools-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>>> _______________________________________________
>>>>> jbosstools-dev mailing list
>>>>> jbosstools-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>> /max
>>>> http://about.me/maxandersen
>>>>
>>>>
>>>>
>>> <Screenshot.png>
>
More information about the jbosstools-dev
mailing list