Skip to content

Commit

Permalink
Added smartcyp to ds install
Browse files Browse the repository at this point in the history
  • Loading branch information
goglepox committed Sep 21, 2012
1 parent 34454ea commit b587e79
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ protected void queryInstallableUnits( SubMonitor monitor,
// IInstallableUnit iu = cResult.iterator().next();

IQuery<IInstallableUnit> query = QueryUtil
.createQuery( "select( iu | ( $0.collect( su | su.requirements).flatten().exists( rc | iu ~= rc) && iu.providedCapabilities.exists( pc | pc.namespace == 'org.eclipse.equinox.p2.eclipse.type' && pc.name == 'bundle') ) || iu.id == 'net.bioclipse.ds.models.r_feature.feature.group' || iu.id == 'net.bioclipse.opentox.ds_feature.feature.group')", new Object[] { resultIUnits.toArray() } ); //$NON-NLS-1$
.createQuery( "select( iu | ( $0.collect( su | su.requirements).flatten().exists( rc | iu ~= rc) && iu.providedCapabilities.exists( pc | pc.namespace == 'org.eclipse.equinox.p2.eclipse.type' && pc.name == 'bundle') ) || iu.id == 'net.bioclipse.ds.models.r_feature.feature.group' || iu.id == 'net.bioclipse.opentox.ds_feature.feature.group'|| iu.id == 'net.bioclipse.smartcyp_feature.feature.group')", new Object[] { resultIUnits.toArray() } ); //$NON-NLS-1$
IQueryResult<IInstallableUnit> result = repository.query(query, monitor.newChild(1));
for (Iterator<IInstallableUnit> iter = result.iterator(); iter.hasNext();) {
process(repository, iter.next());
Expand Down

0 comments on commit b587e79

Please sign in to comment.