[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Bundle naming scheme in P2


Yes, this structure is described by a mapping rule in the artifacts.jar/artifacts.xml file:


    <rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>

You can change this mapping rule to get a different structure. For example to change <name>_<version> to <name>-<version, you would use this rule:

    <rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}-${version}.jar'/>

John




Sameera Jayasoma <sameera.madushan@xxxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

08/11/2009 05:03 AM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc
Subject
[p2-dev] Bundle naming scheme in P2





Hi,

AFAIK, bundle naming scheme in P2 is <bundle-symbolic-name>_<bundle-version>.jar. When you generate a P2 repository you will see the plugin names in the same scheme.  Is there a way to instruct P2 to perform its operations with the following bundle naming scheme also?

<bundle-symbolic-name>-<bundle-version>.jar.

Thanks
Sameera
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev