Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » repository name in artifacts.xml / content.xml
repository name in artifacts.xml / content.xml [message #61986] Sat, 16 May 2009 01:30 Go to next message
Larry Edelstein is currently offline Larry EdelsteinFriend
Messages: 25
Registered: July 2009
Junior Member
Am I using the Update Site Project correctly? I want to control the name
of the site as seen in the Update Manager, but I can't figure out how.

My artifacts.xml & content.xml files, generated by an Update Site Project,
both have a <repository> element with a really annoying name - something
like

'file:/path/to/update/site/project - metadata'

...which is what appears as the name of the site in the Update Manager.

If I change this value in the context.xml file, that's what I see in the
Update Manager.

Is there someplace in the Update Site Manifest Editor I haven't seen where
I can modify this name? Or can I put something directly in site.xml?
It's really annoying, having to hand-edit the context.xml file each time I
modify my feature and need to republish it.

Larry Edelstein
Senior Member of Technical Staff
Salesforce.com
Re: repository name in artifacts.xml / content.xml [message #62031 is a reply to message #61986] Sat, 16 May 2009 21:46 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
You can specify a name for the repository when p2 generates its metadata.

http://wiki.eclipse.org/Equinox_p2_Metadata_Generator

See the "metadataRepositoryName", "artifactRepositoryName" properties.

You can also specify these if you are running PDE build:

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.pde.doc.user/tasks/pde_p2_integration.htm

Regards,
Ben

Larry Edelstein wrote:
> Am I using the Update Site Project correctly? I want to control the
> name of the site as seen in the Update Manager, but I can't figure out how.
>
> My artifacts.xml & content.xml files, generated by an Update Site
> Project, both have a <repository> element with a really annoying name -
> something like
> 'file:/path/to/update/site/project - metadata'
>
> ..which is what appears as the name of the site in the Update Manager.
>
> If I change this value in the context.xml file, that's what I see in the
> Update Manager.
> Is there someplace in the Update Site Manifest Editor I haven't seen
> where I can modify this name? Or can I put something directly in
> site.xml? It's really annoying, having to hand-edit the context.xml
> file each time I modify my feature and need to republish it.
>
> Larry Edelstein
> Senior Member of Technical Staff
> Salesforce.com
>
Re: repository name in artifacts.xml / content.xml [message #597574 is a reply to message #61986] Sat, 16 May 2009 21:46 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
You can specify a name for the repository when p2 generates its metadata.

http://wiki.eclipse.org/Equinox_p2_Metadata_Generator

See the "metadataRepositoryName", "artifactRepositoryName" properties.

You can also specify these if you are running PDE build:

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.pde.doc.user/tasks/pde_p2_integration.htm

Regards,
Ben

Larry Edelstein wrote:
> Am I using the Update Site Project correctly? I want to control the
> name of the site as seen in the Update Manager, but I can't figure out how.
>
> My artifacts.xml & content.xml files, generated by an Update Site
> Project, both have a <repository> element with a really annoying name -
> something like
> 'file:/path/to/update/site/project - metadata'
>
> ..which is what appears as the name of the site in the Update Manager.
>
> If I change this value in the context.xml file, that's what I see in the
> Update Manager.
> Is there someplace in the Update Site Manifest Editor I haven't seen
> where I can modify this name? Or can I put something directly in
> site.xml? It's really annoying, having to hand-edit the context.xml
> file each time I modify my feature and need to republish it.
>
> Larry Edelstein
> Senior Member of Technical Staff
> Salesforce.com
>
Previous Topic:No runnable method
Next Topic:No runnable method
Goto Forum:
  


Current Time: Fri Mar 29 08:54:26 GMT 2024

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

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

Back to the top