[
https://jira.jboss.org/jira/browse/JBIDE-5520?page=com.atlassian.jira.plu...
]
Nick Boldt commented on JBIDE-5520:
-----------------------------------
Tried it again doing full install (all categories selected) from both zip and update
site... and both work w/o having to enable BIRT 2.5 site by hand!
Note however that when using OpenJDK 6 and zip (instead of SunJDK 5 and zip), I get the
following jvm crash:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00da1b79, pid=18295, tid=3078448832
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode linux-x86 )
# Distribution: Custom build (Thu Nov 12 09:49:25 EST 2009)
# Problematic frame:
# C [libgobject-2.0.so.0+0x27b79] g_type_check_instance_cast+0x29
#
# An error report file with more information is saved as:
# /home/nboldt/eclipse/35clean/hs_err_pid18295.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#
http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Problem with associated sites in
JBossTools-Update-3.1.0.v200912161943M-H182-RC1.zip
------------------------------------------------------------------------------------
Key: JBIDE-5520
URL:
https://jira.jboss.org/jira/browse/JBIDE-5520
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.1.0.CR1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Priority: Minor
Fix For: 3.1.0.CR2
Attachments: Screenshot.png
The associated sites aren't created correctly in 3.1.0.RC1
If you try the following:
- download JBossTools-Update-3.1.0.v200912161943M-H182-RC1.zip
- replace content.jar with the attached content.jar in
JBossTools-Update-3.1.0.v200912161943M-H182-RC1.zip
- install fresh Eclipse Galileo EPP SR1
- start Eclipse with JDK6
- go to Help>Install New Software
- add the changed JBossTools-Update-3.1.0.v200912161943M-H182-RC1.zip archive site
- select all the JBoss Tools categories
You will be able to install the complete JBoss Tools without adding the m2eclipse and
BIRT 2.5 update site
The problem is the following:
The site.xml file within 3.1.0.v200912161943M-H182-RC1 is invalid. The URL
http://download.jboss.org/jbosstools/updates/nightly/3.1.0.RC1/site.xml
contains the associateSitesURL attribute
http://download.jboss.org/jbosstools/updates/stable/associateSites.xml
which contains the following sites :
<associateSites>
<associateSite label="Ganymede Update Site"
url="http://download.eclipse.org/releases/ganymede/"/>
<associateSite label="BIRT 2.3 Update Site"
url="http://download.eclipse.org/birt/update-site/2.3/"/>
</associateSites>
which is incorrect. The correct associateSitesURL is
http://download.jboss.org/jbosstools/updates/nightly/3.1.0.RC1/associateS...
Attached is the correct site.xml
site.xml has to be changed before generating p2 metadata because the Galileo P2 update
engine ignores site.xml and uses content.jar which is invalid here.
JBoss Tools 3.1.0.RC1 uses the org.eclipse.equinox.p2.metadata.generator.EclipseGenerator
application to generate P2 metadata that is deprecated. I am not sure if it generates
valid P2 metadata. The attached content.jar is created using the
org.eclipse.equinox.p2.updatesite.UpdateSitePublisher application which creates p2
metadata correctly when using the attached site.xml.
After fixing this issue, it will be possible to install JBoss Tools by adding JBoss Tools
archive site or JBoss Tools web update site without adding any other site.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira