lib/buildr4osgi/osgi/bundle_package.rb in buildr4osgi-0.9.0 vs lib/buildr4osgi/osgi/bundle_package.rb in buildr4osgi-0.9.2
- old
+ new
@@ -33,12 +33,12 @@
# Resolves the matching artifacts associated with the project.
#
def resolve_matching_artifacts(project)
# Collect the bundle projects
# and extend them with the BundleProjectMatcher module
- b_projects = OSGi::BundleProjects::bundle_projects.select {|p|
+ b_projects = BundleProjects::bundle_projects.select {|p|
unless p == project
- p.extend OSGi::BundleProjectMatcher
+ p.extend BundleProjectMatcher
p.matches(:exports_package => name, :version => version)
end
}
return b_projects unless b_projects.empty?
\ No newline at end of file