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 231215 | Differences between
and this patch

Collapse All | Expand All

(-)src_ant/org/eclipse/equinox/internal/p2/metadata/generator/ant/GeneratorTask.java (+12 lines)
Lines 58-63 Link Here
58
		generator.setArtifactLocation(location);
58
		generator.setArtifactLocation(location);
59
	}
59
	}
60
60
61
	public void setArtifactRepositoryName(String name) {
62
		if (generator == null)
63
			generator = new EclipseGeneratorApplication();
64
		generator.setArtifactRepositoryName(name);
65
	}
66
61
	public void setBase(String value) {
67
	public void setBase(String value) {
62
		if (generator == null)
68
		if (generator == null)
63
			generator = new EclipseGeneratorApplication();
69
			generator = new EclipseGeneratorApplication();
Lines 130-135 Link Here
130
		generator.setMetadataLocation(location);
136
		generator.setMetadataLocation(location);
131
	}
137
	}
132
138
139
	public void setMetadataRepositoryName(String name) {
140
		if (generator == null)
141
			generator = new EclipseGeneratorApplication();
142
		generator.setMetadataRepositoryName(name);
143
	}
144
133
	public void setNoDefaultIUs(String value) {
145
	public void setNoDefaultIUs(String value) {
134
		if (provider == null)
146
		if (provider == null)
135
			provider = new EclipseInstallGeneratorInfoProvider();
147
			provider = new EclipseInstallGeneratorInfoProvider();
(-)src/org/eclipse/equinox/internal/p2/metadata/generator/EclipseGeneratorApplication.java (+8 lines)
Lines 402-407 Link Here
402
		this.metadataLocation = location;
402
		this.metadataLocation = location;
403
	}
403
	}
404
404
405
	public void setMetadataRepositoryName(String name) {
406
		this.metadataRepoName = name;
407
	}
408
409
	public void setArtifactRepositoryName(String name) {
410
		this.artifactRepoName = name;
411
	}
412
405
	public void setIncrementalResult(Generator.GeneratorResult ius) {
413
	public void setIncrementalResult(Generator.GeneratorResult ius) {
406
		this.incrementalResult = ius;
414
		this.incrementalResult = ius;
407
	}
415
	}

Return to bug 231215