You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "John Conlon (JIRA)" <ji...@apache.org> on 2006/07/04 22:37:30 UTC

[jira] Commented: (FELIX-90) Supporting spaces in the attributes

    [ http://issues.apache.org/jira/browse/FELIX-90?page=comments#action_12419179 ] 

John Conlon commented on FELIX-90:
----------------------------------

This patch seems to call All iPOJO bundles to fail with SEVERE: Parse errors
Here is an example

-> headers 24

iPOJO Arch Command (24)
-----------------------
Archiver-Version = Plexus Archiver
Build-Jdk = 1.5.0_06
Built-By = jconlon
Bundle-Activator = org.apache.felix.ipojo.Activator
Bundle-Classpath = .,.
Bundle-Description = Architecture Shell Command (arch)
Bundle-Name = iPOJO Arch Command
Bundle-SymbolicName = org.apache.felix.ipojo.arch
Bundle-Version = 0.6.0.SNAPSHOT
Created-By = Apache Maven
Extension-Name = org.apache.felix.ipojo.arch
Implementation-Title = org.apache.felix.ipojo.arch
Implementation-Version = 0.6.0-SNAPSHOT
Import-Package = org.apache.felix.ipojo, org.apache.felix.ipojo.architecture, org.ungoverned.osgi.service.shell
iPOJO-Components = component { $classname=org.apache.felix.ipojo.arch.ArchCommandImpl provides { $interface=org.ungoverned.osgi.service.shell.Command }dependency { $field=archiService $optional=true }manipulation { interface { $name=org.ungoverned.osgi.service.shell.Command }field { $name=archiService $type=org.apache.felix.ipojo.architecture.Architecture[] }}}
iPOJO-Metadata = metadata.xml
Manifest-Version = 1.0
-> stop 24
-> start 24
Jul 4, 2006 3:27:50 PM org.apache.felix.ipojo.Activator start
SEVERE: Parse error for the bundle 24 : 344


After reverting to 419027 these errors go away.

> Supporting spaces in the attributes
> -----------------------------------
>
>          Key: FELIX-90
>          URL: http://issues.apache.org/jira/browse/FELIX-90
>      Project: Felix
>         Type: Improvement

>   Components: iPOJO
>     Reporter: Clement Escoffier
>     Assignee: Richard S. Hall
>  Attachments: patch_core_spaces.text, patch_plugin_spaces.text
>
> iPOJO does not support spaces inside attribute value. For instance, it does not support description attribute containing a string with spaces.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (FELIX-90) Supporting spaces in the attributes

Posted by Clement Escoffier <cl...@gmail.com>.
Hi,
All iPOJO bundles need to be re-compile with the new plugin. The patch 
modify the metadata format, so the old format is no more understood.
Before runtime (manifest) metadata format was : architecture=true
Now, it is architecture="true"

It does no change anything for XML metadata format.

Clement

John Conlon (JIRA) a écrit :
>     [ http://issues.apache.org/jira/browse/FELIX-90?page=comments#action_12419179 ] 
>
> John Conlon commented on FELIX-90:
> ----------------------------------
>
> This patch seems to call All iPOJO bundles to fail with SEVERE: Parse errors
> Here is an example
>
> -> headers 24
>
> iPOJO Arch Command (24)
> -----------------------
> Archiver-Version = Plexus Archiver
> Build-Jdk = 1.5.0_06
> Built-By = jconlon
> Bundle-Activator = org.apache.felix.ipojo.Activator
> Bundle-Classpath = .,.
> Bundle-Description = Architecture Shell Command (arch)
> Bundle-Name = iPOJO Arch Command
> Bundle-SymbolicName = org.apache.felix.ipojo.arch
> Bundle-Version = 0.6.0.SNAPSHOT
> Created-By = Apache Maven
> Extension-Name = org.apache.felix.ipojo.arch
> Implementation-Title = org.apache.felix.ipojo.arch
> Implementation-Version = 0.6.0-SNAPSHOT
> Import-Package = org.apache.felix.ipojo, org.apache.felix.ipojo.architecture, org.ungoverned.osgi.service.shell
> iPOJO-Components = component { $classname=org.apache.felix.ipojo.arch.ArchCommandImpl provides { $interface=org.ungoverned.osgi.service.shell.Command }dependency { $field=archiService $optional=true }manipulation { interface { $name=org.ungoverned.osgi.service.shell.Command }field { $name=archiService $type=org.apache.felix.ipojo.architecture.Architecture[] }}}
> iPOJO-Metadata = metadata.xml
> Manifest-Version = 1.0
> -> stop 24
> -> start 24
> Jul 4, 2006 3:27:50 PM org.apache.felix.ipojo.Activator start
> SEVERE: Parse error for the bundle 24 : 344
>
>
> After reverting to 419027 these errors go away.
>
>   
>> Supporting spaces in the attributes
>> -----------------------------------
>>
>>          Key: FELIX-90
>>          URL: http://issues.apache.org/jira/browse/FELIX-90
>>      Project: Felix
>>         Type: Improvement
>>     
>
>   
>>   Components: iPOJO
>>     Reporter: Clement Escoffier
>>     Assignee: Richard S. Hall
>>  Attachments: patch_core_spaces.text, patch_plugin_spaces.text
>>
>> iPOJO does not support spaces inside attribute value. For instance, it does not support description attribute containing a string with spaces.
>>     
>
>