akhikhl / wuff

Gradle plugin for automating assembly of OSGi/Eclipse bundles and applications
MIT License
152 stars 51 forks source link

OSGI Manifest can not be created #90

Open golauty opened 9 years ago

golauty commented 9 years ago

Hi,

i get following error:

:com.firm.product.core:createOsgiManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.firm.product.core:createOsgiManifest'.
> No such property: @class for class: java.lang.String
Possible solutions: class

Does anybody know where the problem is?

Stacktrace:

Caused by: groovy.lang.MissingPropertyException: No such property: @class for class: java.lang.String
Possible solutions: class
        at org.akhikhl.wuff.PluginUtils$_findImportPackagesInPluginConfigFile_closure4.doCall(PluginUtils.groovy:138)
        at org.akhikhl.wuff.PluginUtils.findImportPackagesInPluginConfigFile(PluginUtils.groovy:138)
        at org.akhikhl.wuff.PluginUtils$findImportPackagesInPluginConfigFile$21.call(Unknown Source)
        at org.akhikhl.wuff.OsgiBundleConfigurer.createManifest(OsgiBundleConfigurer.groovy:368)
        at org.akhikhl.wuff.OsgiBundleConfigurer$_configureTask_createOsgiManifest_closure6_closure30_closure31.doCall(OsgiBundleConfigurer.groovy:113)
        at org.akhikhl.wuff.OsgiBundleConfigurer$_configureTask_createOsgiManifest_closure6_closure30.doCall(OsgiBundleConfigurer.groovy:113)
``
golauty commented 9 years ago

If somebody has the same issue, something is wrong with your plugin.xml. In my case there was additional character inside the xml.