Author: mcculls
Date: Sun Oct 21 17:48:17 2007
New Revision: 586981
URL: http://svn.apache.org/viewvc?rev=586981&view=rev
Log:
FELIX-405: support custom obr repository filenames, such as foo.xml
Modified:
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
Modified:
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
URL:
http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java?rev=586981&r1=586980&r2=586981&view=diff
==============================================================================
---
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
(original)
+++
felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/OBRInstall.java
Sun Oct 21 17:48:17 2007
@@ -109,7 +109,7 @@
{
obrPath = mavenPath + File.separatorChar + "repository.xml";
}
- else if( !obrPath.endsWith( "repository.xml" ) )
+ else if( !obrPath.endsWith( ".xml" ) )
{
obrPath = obrPath + File.separatorChar + "repository.xml";
}