User development,
A new message was posted in the thread "Problem creating local mirror of JBoss Tools
for 3.1 final":
http://community.jboss.org/message/532602#532602
Author : Denis Golovin
Profile :
http://community.jboss.org/people/dgolovin
Message:
--------------------------------------------------------------
As I remember p2 update doesn't use site.xml anymore. It is only required during build
to define categories and relations between categories and features. I suppose you need to
look into content.jar and locate in content.xm all units with
provides/provided(a)namespace=org.eclipse.equinox.p2.eclipse.type
provides/provided@name=feature
and then if you found unit with attributes values provided above use node
provides/provided
with attribute
provides/provided(a)namespace=org.eclipse.update.feature
to extract name of the feature from attribute
provides/provided@name
like for example for richfaces feature
<unit id='org.jboss.tools.richfaces.feature.feature.jar'
version='3.1.0.v201003050540R-H56-GA'>
<properties size='9'>
<property name='org.eclipse.equinox.p2.name'
value='%featureName'/>
<property name='org.eclipse.equinox.p2.description'
value='%description'/>
<property name='org.eclipse.equinox.p2.description.url'
value='http://www.jboss.org/tools'/>
<property name='org.eclipse.equinox.p2.provider'
value='%providerName'/>
<property name='org.eclipse.update.feature.plugin'
value='org.jboss.tools.vpe'/>
<property name='df_LT.featureName' value='JBoss Tools
RichFaces'/>
<property name='df_LT.copyright' value='Copyright (c) 2007 Exadel,
Inc and Red Hat, Inc.
Distributed under license by Red Hat, Inc. All rights
reserved.
This program is made available under the terms of the
Eclipse
Public License v1.0 which accompanies this distribution,
and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
E..., Inc. and
Red Hat, Inc. - initial API and implementation'/>
<property name='df_LT.providerName' value='JBoss by Red
Hat'/>
<property name='df_LT.description' value='Visual editing'/>
</properties>
<provides size='3'>
<provided namespace='org.eclipse.equinox.p2.iu'
name='org.jboss.tools.richfaces.feature.feature.jar'
version='3.1.0.v201003050540R-H56-GA'/>
<provided namespace='org.eclipse.equinox.p2.eclipse.type'
name='feature' version='1.0.0'/>
<provided namespace='org.eclipse.update.feature'
name='org.jboss.tools.richfaces.feature'
version='3.1.0.v201003050540R-H56-GA'/>
</provides>
<filter>
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/532602#532602