Hi,
Been using OBR a bit and sometimes I find that it's easier to use the
symbolic name to install since I don't have to remember to type in the
double quotes to surround bundles that have a space in their display name.
Finding out the symbolic name is not possible currently with the obr list -v
command though. Below is a small patch to also display the symbolic name.
I was wondering if this the best place to post it or should I create a JIRA
and attach the patch there?
Thanks,
Allen
---
bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
Tue Mar 10 10:48:41 2009 -0700
+++
bundlerepository/src/main/java/org/apache/felix/bundlerepository/ObrCommandImpl.java
Mon Mar 16 17:46:07 2009 -0700
@@ -248,6 +248,11 @@
String name = revisions[0].getPresentationName();
name = (name == null) ? revisions[0].getSymbolicName() : name;
out.print(name + " (");
+
+ if (pc.isVerbose() && revisions[0].getPresentationName() !=
null) {
+ out.print(revisions[0].getSymbolicName() + ") (");
+ }
+
int revIdx = 0;
do
{