[jbosstools-issues] [JBoss JIRA] (JBIDE-18623) Examples are not working in offline mode

Fred Bricon (JIRA) issues at jboss.org
Tue Oct 14 11:27:35 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011646#comment-13011646 ] 

Fred Bricon commented on JBIDE-18623:
-------------------------------------

http://download.jboss.org/jbosstools/examples/project-examples-jbds80.Beta3.xml is still online. 
I downloaded CR2a, on a new workspace, directly enabled offline examples and opened central. What I see in the logs are :

{noformat}
!ENTRY org.jboss.tools.project.examples 2 0 2014-10-14 11:13:29.940
!MESSAGE Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-jbds80.xml

!ENTRY org.jboss.tools.project.examples 2 0 2014-10-14 11:13:29.941
!MESSAGE Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-shared-4.2.GA.xml

!ENTRY org.jboss.tools.project.examples 2 0 2014-10-14 11:13:29.943
!MESSAGE Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-category-jbds-8.0.xml
{noformat}

The groovy command I need to execute doesn't mention the Beta3 file either :
{noformat}
groovy "/Users/fbricon/Dev/workspaces/800cr2a/.metadata/.plugins/org.jboss.tools.project.examples/offline/go_offline_2.0.0.CR2_v20141010_2341_B101.groovy" http://download.jboss.org/jbosstools/examples/project-examples-category-jbds-8.0.xml http://download.jboss.org/jbosstools/examples/project-examples-jbds80.xml http://download.jboss.org/jbosstools/examples/project-examples-shared-4.2.GA.xml -q -e{noformat}

Are you sure you're not still using the first CR2 build?

Anyways, the start from sample section is central is empty, it looks like we don't pick up the cached versions of the xml files, stored under .metadata/.plugins/org.jboss.tools.project.examples/jbosstools/ which is definitely a regression.


> Examples are not working in offline mode
> ----------------------------------------
>
>                 Key: JBIDE-18623
>                 URL: https://issues.jboss.org/browse/JBIDE-18623
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, project-examples
>    Affects Versions: 4.2.0.CR2
>         Environment: JBT 4.2.0.CR2a, JBDS 8.0.0.CR2a
>            Reporter: Radim Hopp
>            Assignee: Fred Bricon
>
> After executing offline groovy script and configuring JBT/JBDS to use generated examples and maven repository, project examples are not shown in JBoss Central.
> Warning is logged, when user tries to refresh "Start from sample" section (this one is from JBDS):
> {noformat}Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-jbds80.Beta3.xml{noformat}
> Groovy script has errors generating few examples (JBIDE-18582), but I think this is not relevant to this issue. What can be relevant is PR from JBIDE-18589 - switching descriptors from Beta3 to GA.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list