You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Costin Leau (JIRA)" <ji...@apache.org> on 2007/05/15 19:07:17 UTC

[jira] Created: (FELIX-286) BND plugin and optional includes

BND plugin and optional includes
--------------------------------

                 Key: FELIX-286
                 URL: https://issues.apache.org/jira/browse/FELIX-286
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
            Reporter: Costin Leau


>From the mailing list...

> Include and -
>
> Bnd tool allow include to specify several files and allows a - to
> indicate that it's okay if the file is missing. However, the maven
> plugin doesn't like that, it will complain if the file is missing.
>
> <_include>-missing/file.txt</_include>
>

this looks like a bug in BND - there's a line in the analyzer that says:

   if ( noFileOk ) ... throw error...

so at the moment it only throws an error for missing files when they
*are* prefixed with a '-', ie. the other way round to the documentation

I'll raise this with Peter. 

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


[jira] Resolved: (FELIX-286) BND plugin and optional includes

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-286.
-----------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I have modified the pom to use 140, so we can probably close this issue.

> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>         Assigned To: Richard S. Hall
>            Priority: Minor
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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


[jira] Closed: (FELIX-286) BND plugin and optional includes

Posted by "Costin Leau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Costin Leau closed FELIX-286.
-----------------------------


> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>            Assignee: Richard S. Hall
>            Priority: Minor
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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


[jira] Updated: (FELIX-286) BND plugin and optional includes

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-286:
-----------------------------------

    Priority: Minor

This is fixed in bndlib version 0.0.138 (the latest version on the maven repo as of today appears to be 0.0.140)

> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>            Priority: Minor
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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


[jira] Updated: (FELIX-286) BND plugin and optional includes

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-286:
-----------------------------------


can this issue be closed?

> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>            Assignee: Richard S. Hall
>            Priority: Minor
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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


[jira] Commented: (FELIX-286) BND plugin and optional includes

Posted by "Costin Leau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537242 ] 

Costin Leau commented on FELIX-286:
-----------------------------------

yes - thank you.

> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>            Assignee: Richard S. Hall
>            Priority: Minor
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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


[jira] Commented: (FELIX-286) BND plugin and optional includes

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496475 ] 

Stuart McCulloch commented on FELIX-286:
----------------------------------------

Once the BND library has been fixed, we'll just need to update the version in the pom file to pick it up.

> BND plugin and optional includes
> --------------------------------
>
>                 Key: FELIX-286
>                 URL: https://issues.apache.org/jira/browse/FELIX-286
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Costin Leau
>
> From the mailing list...
> > Include and -
> >
> > Bnd tool allow include to specify several files and allows a - to
> > indicate that it's okay if the file is missing. However, the maven
> > plugin doesn't like that, it will complain if the file is missing.
> >
> > <_include>-missing/file.txt</_include>
> >
> this looks like a bug in BND - there's a line in the analyzer that says:
>    if ( noFileOk ) ... throw error...
> so at the moment it only throws an error for missing files when they
> *are* prefixed with a '-', ie. the other way round to the documentation
> I'll raise this with Peter. 

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