Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » repository name in artifacts.xml / content.xml
repository name in artifacts.xml / content.xml [message #61986] Fri, 15 May 2009 21:30 Go to next message
Eclipse UserFriend
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 17:46 Go to previous message
Eclipse UserFriend
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 17:46 Go to previous message
Eclipse UserFriend
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 May 02 07:37:10 EDT 2025

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

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

Back to the top