felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4205) "null" Bundle-Activator causes bundle to fail
Date Tue, 17 Jun 2014 11:34:01 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Nodet updated FELIX-4205:

    Summary: "null" Bundle-Activator causes bundle to fail  (was: Misleading error message)

> "null" Bundle-Activator causes bundle to fail
> ---------------------------------------------
>                 Key: FELIX-4205
>                 URL: https://issues.apache.org/jira/browse/FELIX-4205
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.4.0
>            Reporter: Roland Weiglhofer
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.4.1
> An empty <Bundle-Activator></Bundle-Activator> clause causes following error:
> [INFO] [bundle:bundle {execution: default-bundle}]
> in default pack?
> [WARNING] Bundle mygroupId:myartifactId:mybundle: : Invalid package name: '*'
> [ERROR] Bundle mygroupId:myartifactId:mybundle: : The default package '.' is not
permitted by the Import-Package syntax.
>  This can be caused by compile errors in Eclipse because Eclipse creates
> valid class files regardless of compile errors.
> The following package(s) import from the default package null
> [ERROR] Error(s) found in bundle configuration 
> It would be easier to understand if the error message would be something like this: "It
is not allowed to specify an empty Bundle-Activtor clause. Check your POM in line xxx!"

This message was sent by Atlassian JIRA

View raw message