Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Fix bug parsing dependencies from feature.xml #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

seflue
Copy link

@seflue seflue commented Aug 13, 2018

Return a list of string representations of XML attributes instead of the
attributes itself (which caused a type mismatch) from parsing method.

The bug caused following error when importing features via Buildship in Eclipse:

A problem occurred configuring project ':my_feature'.
No signature of method: de.monkeyworks.buildmonkey.dependency.ManifestDependencyPlugin$_addTasksForResolveDependencies_closure1$_closure8$_closure12.doCall() is applicable for argument types: (groovy.util.slurpersupport.Attributes) values: [my.plugin.url]
Possible solutions: doCall(java.lang.String), findAll(), findAll(), isCase(java.lang.Object), isCase(java.lang.Object)
...
Caused by: groovy.lang.MissingMethodException: No signature of method: de.monkeyworks.buildmonkey.dependency.ManifestDependencyPlugin$_addTasksForResolveDependencies_closure1$_closure8$_closure12.doCall() is applicable for argument types: (groovy.util.slurpersupport.Attributes) values: [my.plugin.url]
Possible solutions: doCall(java.lang.String), findAll(), findAll(), isCase(java.lang.Object), isCase(java.lang.Object)
at de.monkeyworks.buildmonkey.dependency.ManifestDependencyPlugin$_addTasksForResolveDependencies_closure1$_closure8.doCall(ManifestDependencyPlugin.groovy:106)

Sebastian Flügge added 2 commits August 13, 2018 18:02
Return a list of string representations of XML attributes instead of the
attributes itself (which caused a type mismatch) from parsing method.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant