Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 165155
Collapse All | Expand All

(-)templates/headless-build/build.properties (+2 lines)
Lines 167-172 Link Here
167
# fetchTag=HEAD
167
# fetchTag=HEAD
168
skipFetch=true
168
skipFetch=true
169
169
170
# Request a build failure if something fails during a build
171
failOnFetchError=false
170
172
171
############# JAVA COMPILER OPTIONS ##############
173
############# JAVA COMPILER OPTIONS ##############
172
# The location of the Java jars to compile against.  Typically the rt.jar for your JDK/JRE
174
# The location of the Java jars to compile against.  Typically the rt.jar for your JDK/JRE
(-)src/org/eclipse/pde/build/Constants.java (+3 lines)
Lines 27-30 Link Here
27
	
27
	
28
	/** Constant for the string <code>META-INF/MANIFEST.MF</code> */
28
	/** Constant for the string <code>META-INF/MANIFEST.MF</code> */
29
	public final static String BUNDLE_FILENAME_DESCRIPTOR = "META-INF/MANIFEST.MF"; //$NON-NLS-1$
29
	public final static String BUNDLE_FILENAME_DESCRIPTOR = "META-INF/MANIFEST.MF"; //$NON-NLS-1$
30
31
	/** Constant representing the property set by the user to request a build failure when something goes wrong while fetching */
32
	public final static String FAIL_ON_FETCH_ERROR = "failOnFetchError";  //$NON-NLS-1$
30
}
33
}
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 1-7 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %pluginName
3
Bundle-Name: %pluginName
4
Bundle-Version: 3.2.100.qualifier
4
Bundle-Version: 3.3.0.qualifier
5
Bundle-SymbolicName: org.eclipse.pde.build; singleton:=true
5
Bundle-SymbolicName: org.eclipse.pde.build; singleton:=true
6
Bundle-Vendor: %providerName
6
Bundle-Vendor: %providerName
7
Bundle-ClassPath: pdebuild.jar
7
Bundle-ClassPath: pdebuild.jar
(-)src/org/eclipse/pde/internal/build/fetch/COPYFetchTasksFactory.java (-3 / +2 lines)
Lines 15-22 Link Here
15
import java.util.Properties;
15
import java.util.Properties;
16
import org.eclipse.core.runtime.*;
16
import org.eclipse.core.runtime.*;
17
import org.eclipse.osgi.util.NLS;
17
import org.eclipse.osgi.util.NLS;
18
import org.eclipse.pde.build.IAntScript;
18
import org.eclipse.pde.build.*;
19
import org.eclipse.pde.build.IFetchFactory;
20
import org.eclipse.pde.internal.build.*;
19
import org.eclipse.pde.internal.build.*;
21
20
22
/**
21
/**
Lines 115-121 Link Here
115
		script.printAttribute("todir", todir, false); //$NON-NLS-1$
114
		script.printAttribute("todir", todir, false); //$NON-NLS-1$
116
		script.printAttribute("failonerror", failOnError ? "true" : "false", true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
115
		script.printAttribute("failonerror", failOnError ? "true" : "false", true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
117
		script.printAttribute("overwrite", overwrite ? "true" : "false", true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
116
		script.printAttribute("overwrite", overwrite ? "true" : "false", true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
118
117
		script.printAttribute("failonerror", Utils.getPropertyFormat(Constants.FAIL_ON_FETCH_ERROR), false); //$NON-NLS-1$
119
		if (dirs == null)
118
		if (dirs == null)
120
			script.println("/>"); //$NON-NLS-1$
119
			script.println("/>"); //$NON-NLS-1$
121
		else {
120
		else {
(-)src/org/eclipse/pde/internal/build/fetch/CVSFetchTaskFactory.java (+1 lines)
Lines 147-152 Link Here
147
		script.printAttribute("quiet", quiet, false); //$NON-NLS-1$
147
		script.printAttribute("quiet", quiet, false); //$NON-NLS-1$
148
		script.printAttribute("passfile", passFile, false); //$NON-NLS-1$
148
		script.printAttribute("passfile", passFile, false); //$NON-NLS-1$
149
		script.printAttribute("taskname", taskname, false); //$NON-NLS-1$
149
		script.printAttribute("taskname", taskname, false); //$NON-NLS-1$
150
		script.printAttribute("failonerror", Utils.getPropertyFormat(Constants.FAIL_ON_FETCH_ERROR), false); //$NON-NLS-1$
150
		script.println("/>"); //$NON-NLS-1$
151
		script.println("/>"); //$NON-NLS-1$
151
	}
152
	}
152
153

Return to bug 165155