Lines 7-12
Link Here
|
7 |
* |
7 |
* |
8 |
* Contributors: |
8 |
* Contributors: |
9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
|
|
10 |
* Compuware Corporation - Sebastien Angers <sebastien.angers@compuware.com> |
11 |
* - Enabled additional mirror slicingOptions in Headless PDE Build |
12 |
* - https://bugs.eclipse.org/338878 |
10 |
*******************************************************************************/ |
13 |
*******************************************************************************/ |
11 |
|
14 |
|
12 |
package org.eclipse.pde.internal.build; |
15 |
package org.eclipse.pde.internal.build; |
Lines 94-99
Link Here
|
94 |
if (productQualifier != null) |
97 |
if (productQualifier != null) |
95 |
script.printProperty(PROPERTY_P2_PRODUCT_QUALIFIER, productQualifier); |
98 |
script.printProperty(PROPERTY_P2_PRODUCT_QUALIFIER, productQualifier); |
96 |
|
99 |
|
|
|
100 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_FILTER, ""); //$NON-NLS-1$ |
101 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_FOLLOW_ONLY_FILTERED_REQS, FALSE); |
102 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_FOLLOW_STRICT, FALSE); |
103 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_INCLUDE_FEATURES, TRUE); |
104 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_INCLUDE_NON_GREEDY, FALSE); |
105 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_INCLUDE_OPTIONAL, havePDEUIState() ? FALSE : TRUE); |
106 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_LATEST_VERSION_ONLY, FALSE); |
107 |
script.printProperty(PROPERTY_P2_MIRROR_SLICING_PLATFORM_FILTER, ""); //$NON-NLS-1$ |
108 |
|
97 |
script.println(); |
109 |
script.println(); |
98 |
generateCustomGatherMacro(); |
110 |
generateCustomGatherMacro(); |
99 |
} |
111 |
} |
Lines 299-306
Link Here
|
299 |
|
311 |
|
300 |
script.printStartTag("p2.mirror"); //$NON-NLS-1$ |
312 |
script.printStartTag("p2.mirror"); //$NON-NLS-1$ |
301 |
script.printTab(); |
313 |
script.printTab(); |
|
|
314 |
// note that if a slicingOption has not been set in the build.properties, then the default was set in #generatePrologue() |
302 |
script.print("\t<slicingOptions"); //$NON-NLS-1$ |
315 |
script.print("\t<slicingOptions"); //$NON-NLS-1$ |
303 |
script.printAttribute("includeNonGreedy", FALSE, true); //$NON-NLS-1$ |
316 |
script.printAttribute("includeNonGreedy", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_INCLUDE_NON_GREEDY), true); //$NON-NLS-1$ |
|
|
317 |
script.printAttribute("filter", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_FILTER), true); //$NON-NLS-1$ |
318 |
script.printAttribute("followOnlyFilteredRequirements", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_FOLLOW_ONLY_FILTERED_REQS), true); //$NON-NLS-1$ |
319 |
script.printAttribute("followStrict", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_FOLLOW_STRICT), true); //$NON-NLS-1$ |
320 |
script.printAttribute("includeFeatures", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_INCLUDE_FEATURES), true); //$NON-NLS-1$ |
321 |
script.printAttribute("includeOptional", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_INCLUDE_OPTIONAL), true); //$NON-NLS-1$ |
322 |
script.printAttribute("latestVersionOnly", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_LATEST_VERSION_ONLY), true); //$NON-NLS-1$ |
323 |
script.printAttribute("platformFilter", Utils.getPropertyFormat(PROPERTY_P2_MIRROR_SLICING_PLATFORM_FILTER), true); //$NON-NLS-1$ |
304 |
script.println("/>"); //$NON-NLS-1$ |
324 |
script.println("/>"); //$NON-NLS-1$ |
305 |
|
325 |
|
306 |
script.printTab(); |
326 |
script.printTab(); |