Skip to content

Commit b61aa40

Browse files
committed
Merge branch 'refs/heads/master' of ssh://[email protected]/gitroot/linuxtools/org.eclipse.linuxtools.git
2 parents 055c999 + 3908630 commit b61aa40

File tree

8 files changed

+29
-23
lines changed

8 files changed

+29
-23
lines changed

libhover/org.eclipse.linuxtools.cdt.libhover.devhelp-feature/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2011-05-19 Andrew Overholt <[email protected]>
2+
3+
* feature.properties: Fix name of feature description.
4+
15
2011-05-18 Jeff Johnston <[email protected]>
26

37
* pom.xml: Fix id.

libhover/org.eclipse.linuxtools.cdt.libhover.devhelp-feature/feature.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Red Hat Incorporated - initial API and implementation
1010
#################################################################################
1111
featureName=Library Hover help for devhelp documentation (Incubation)
12-
description=Plugins for creating hover help from installed C devhelp documentation.
12+
featureDescription=Plugins for creating hover help from installed C devhelp documentation.
1313
provider=Eclipse Linux Tools
1414
copyright=Copyright 2011 Red Hat, Inc.
1515
licenseURL=license.html

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<pluginRepositories>
5454
<pluginRepository>
5555
<id>maven.eclipse.org</id>
56-
<url>http://maven.eclipse.org/nexus/content/repositories/nightly-indigo</url>
56+
<url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo</url>
5757
</pluginRepository>
5858
</pluginRepositories>
5959

releng/org.eclipse.linuxtools.releng-site/pom.xml

+2-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<plugin>
5151
<groupId>org.eclipse.dash.maven</groupId>
5252
<artifactId>eclipse-maven-signing-plugin</artifactId>
53-
<version>1.0.0.0-SNAPSHOT</version>
53+
<version>1.0.0</version>
5454
<executions>
5555
<execution>
5656
<id>pack</id>
@@ -76,7 +76,7 @@
7676
<execution>
7777
<id>repack</id>
7878
<configuration>
79-
<inputFile>${project.build.directory}/org.eclipse.linuxtools.releng-site.zip</inputFile>
79+
<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
8080
</configuration>
8181
<phase>package</phase>
8282
<goals>
@@ -85,9 +85,6 @@
8585
</execution>
8686
<execution>
8787
<id>fixCheckSums</id>
88-
<configuration>
89-
<inputFile>${project.build.directory}/org.eclipse.linuxtools.releng-site.zip</inputFile>
90-
</configuration>
9188
<phase>package</phase>
9289
<goals>
9390
<goal>fixCheckSums</goal>

rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/RPMProjectTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ public void testBuildPrepHelloWorld() throws Exception {
134134
}
135135
File foo = new File(FileLocator.toFileURL(url).getPath());
136136
rpmProject.importSourceRPM(foo);
137-
rpmProject.buildPrep();
137+
ByteArrayOutputStream bos = new ByteArrayOutputStream();
138+
rpmProject.buildPrep(bos);
138139

139140
// Make sure we got everything in the build directory
140141
IFolder builddir = rpmProject.getConfiguration().getBuildFolder();

rpm/org.eclipse.linuxtools.rpm.core/src/org/eclipse/linuxtools/rpm/core/RPMProject.java

+2-10
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import java.io.File;
1414
import java.io.FileInputStream;
1515
import java.io.FileNotFoundException;
16-
import java.io.IOException;
17-
import java.io.InputStream;
1816
import java.io.OutputStream;
1917

2018
import org.eclipse.core.resources.IFile;
@@ -149,15 +147,9 @@ public void buildSourceRPM(OutputStream out) throws CoreException {
149147
IResource.DEPTH_INFINITE, null);
150148
}
151149

152-
public void buildPrep() throws CoreException {
150+
public void buildPrep(OutputStream out) throws CoreException {
153151
RPMBuild rpmbuild = new RPMBuild(getConfiguration());
154-
InputStream in = rpmbuild.buildPrep(getSpecFile());
155-
try {
156-
in.close();
157-
} catch (IOException e) {
158-
// TODO Do we really need the input stream here?
159-
e.printStackTrace();
160-
}
152+
rpmbuild.buildPrep(getSpecFile(), out);
161153
getConfiguration().getBuildFolder().refreshLocal(
162154
IResource.DEPTH_INFINITE, null);
163155
}

rpm/org.eclipse.linuxtools.rpm.core/src/org/eclipse/linuxtools/rpm/core/utils/RPMBuild.java

+10-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
package org.eclipse.linuxtools.rpm.core.utils;
1212

1313
import java.io.IOException;
14-
import java.io.InputStream;
1514
import java.io.OutputStream;
1615
import java.util.ArrayList;
1716
import java.util.Arrays;
@@ -69,18 +68,24 @@ public RPMBuild(RPMConfiguration config) {
6968
*
7069
* @param specFile
7170
* the spec file
72-
* @return The output of the `rpmbuild -bp` command.
7371
* @throws CoreException
7472
* if the operation fails
7573
*/
76-
public InputStream buildPrep(IFile specFile) throws CoreException {
74+
/**
75+
* Prepares the sources for a given spec file.
76+
*
77+
* @param specFile the spec file
78+
* @param outStream The stream to write the output to.
79+
* @throws CoreException If the operation fails.
80+
*/
81+
public void buildPrep(IFile specFile, OutputStream outStream) throws CoreException {
7782
List<String> command = new ArrayList<String>();
7883
command.addAll(Arrays.asList(macroDefines));
7984
command.add("-bp"); //$NON-NLS-1$
8085
command.add(specFile.getLocation().toString());
8186
try {
82-
return Utils.runCommandToInputStream(command
83-
.toArray(new String[command.size()]));
87+
Utils.runCommand(outStream,
88+
command.toArray(new String[command.size()]));
8489
} catch (IOException e) {
8590
throw new CoreException(new Status(IStatus.ERROR, RPMCorePlugin.ID,
8691
e.getMessage(), e));

valgrind/org.eclipse.linuxtools.valgrind-feature/feature.xml

+7
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
version="0.0.0"
6262
unpack="false"/>
6363

64+
<plugin
65+
id="org.eclipse.linuxtools.valgrind.helgrind"
66+
download-size="0"
67+
install-size="0"
68+
version="0.0.0"
69+
unpack="false"/>
70+
6471
<plugin
6572
id="org.eclipse.linuxtools.valgrind.launch"
6673
download-size="0"

0 commit comments

Comments
 (0)