View | Details | Raw Unified | Return to bug 288020
Collapse All | Expand All

(-)src/org/eclipse/ajdt/core/exports/AJModelBuildScriptGenerator.java (-3 / +6 lines)
Lines 1625-1634 Link Here
1625
		}		
1625
		}		
1626
		
1626
		
1627
		// now add prerequisite bundles
1627
		// now add prerequisite bundles
1628
		BundleDescription[] prereqs = bundle.getResolvedRequires();
1628
		BundleSpecification[] prereqs = bundle.getRequiredBundles();
1629
		for (int i = 0; i < prereqs.length; i++) {
1629
		for (int i = 0; i < prereqs.length; i++) {
1630
			String[] pcp = bundleToCP(prereqs[i]);
1630
			BundleDescription prereqBundle = getModel(prereqs[i].getName(), null);
1631
			pathList.addAll(Arrays.asList(pcp));
1631
			if (prereqBundle != null ) {
1632
				String[] pcp = bundleToCP(prereqBundle);
1633
				pathList.addAll(Arrays.asList(pcp));
1634
			}
1632
		}
1635
		}
1633
		
1636
		
1634
		String[] path = new String[pathList.size()];
1637
		String[] path = new String[pathList.size()];

Return to bug 288020