[
https://issues.apache.org/jira/browse/FELIX-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Derek Baum resolved FELIX-1612.
-------------------------------
Resolution: Fixed
classes now created under build/main-classes to avoid conflict with eclipse.
> bldcommon should create classes under build/main-classes to avoid using same
> output directory as eclipse
> --------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1612
> URL: https://issues.apache.org/jira/browse/FELIX-1612
> Project: Felix
> Issue Type: Improvement
> Components: Sigil
> Reporter: Derek Baum
> Priority: Minor
>
> to avoid errors like this:
> [sigil.bundle] creating bundle: org.apache.felix.sigil.common.osgi
> [sigil.bundle] BND: Importing packages that are never refered to by any class
> on the Bundle-Classpath[Jar:dot]: [org.osgi.framework]
> [sigil.bundle] Bnd wants to import '.' (ignored)
> [sigil.bundle] BND: The default package '.' is not permitted by the
> Import-Package syntax.
> [sigil.bundle] This can be caused by compile errors in Eclipse because
> Eclipse creates
> [sigil.bundle] valid class files regardless of compile errors.
> [sigil.bundle] The following package(s) import from the default package
> [org.apache.felix.sigil.common.osgi]
> [sigil.bundle] org.apache.felix.sigil.common.osgi: 1 error, 0 warnings
> I fixed this by:
> find . -type d -name build | xargs rm -rf
> It was caused because Eclipse had created some .class files, even although
> the source had errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.