update command should accept other file extensions than jar only
----------------------------------------------------------------

                 Key: FELIX-544
                 URL: https://issues.apache.org/jira/browse/FELIX-544
             Project: Felix
          Issue Type: Bug
    Affects Versions: felix-1.0.4
            Reporter: Jacek Laskowski


It looks that Felix 1.0.4 accepts jar file extensions only upon executing 
update command although install accepts a wider range.

-> update 10 
file:/C:/projs/osgi/spring-osgi-webapp/target/spring-osgi-webapp.war
Unable to open input stream: java.io.FileNotFoundException: 
C:\projs\osgi\spring-osgi-webapp\target\spring-osgi-webapp.war.jar (The system 
cannot find the file specified)
-> uninstall 10
-> install file:/C:/projs/osgi/spring-osgi-webapp/target/spring-osgi-webapp.war
Bundle ID: 11
-> start 11
-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (1.0.4)
[   1] [Active     ] [    1] Apache Felix Shell Service (1.0.1)
[   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.1)
[   3] [Active     ] [    1] Apache Felix Bundle Repository (1.0.3)
[   4] [Active     ] [    1] spring-osgi-web (1.1.0.m2)
[   5] [Active     ] [    1] servlet-api.osgi (2.5.0.SNAPSHOT)
[   6] [Active     ] [    1] slf4j-log4j12 (1.4.3)
[   7] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
[   8] [Active     ] [    1] slf4j-api (1.4.3)
[   9] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
[  11] [Active     ] [    1] pl.jaceklaskowski.osgi.spring-osgi-webapp
-> headers 11

Bundle 11
---------
Built-By = jlaskowski
Archiver-Version = Plexus Archiver
Created-By = Apache Maven
Build-Jdk = 1.5.0_14
Manifest-Version = 1.0
Bundle-SymbolicName = pl.jaceklaskowski.osgi.spring-osgi-webapp


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to