|
Lines 29-40
Link Here
|
| 29 |
public void initialize(String directoryName, String feature, Config configurationInformation, Collection elementList, Collection featureList, Collection allFeaturesList, Collection rootProviders) throws CoreException { |
29 |
public void initialize(String directoryName, String feature, Config configurationInformation, Collection elementList, Collection featureList, Collection allFeaturesList, Collection rootProviders) throws CoreException { |
| 30 |
/* package scripts require the root file providers for creating the file archive, but don't want them for other rootfile |
30 |
/* package scripts require the root file providers for creating the file archive, but don't want them for other rootfile |
| 31 |
* stuff done by the assembly scripts, so keep them separate here */ |
31 |
* stuff done by the assembly scripts, so keep them separate here */ |
| 32 |
super.initialize(directoryName, feature, configurationInformation, elementList, featureList, allFeaturesList, Collections.EMPTY_SET); |
32 |
super.initialize(directoryName, feature, configurationInformation, elementList, featureList, allFeaturesList, new ArrayList(0)); |
| 33 |
archiveRootProviders = rootProviders != null ? rootProviders : Collections.EMPTY_LIST; |
33 |
archiveRootProviders = rootProviders != null ? rootProviders : Collections.EMPTY_LIST; |
| 34 |
} |
34 |
} |
| 35 |
|
35 |
|
| 36 |
protected Collection getArchiveRootFileProviders() { |
36 |
protected Collection getArchiveRootFileProviders() { |
| 37 |
return archiveRootProviders; |
37 |
if (archiveRootProviders.size() > 0) |
|
|
38 |
return archiveRootProviders; |
| 39 |
return super.getArchiveRootFileProviders(); |
| 38 |
} |
40 |
} |
| 39 |
|
41 |
|
| 40 |
private String getFinalName(BundleDescription bundle, String shape) { |
42 |
private String getFinalName(BundleDescription bundle, String shape) { |