File: Import-src-rpm.html

package info (click to toggle)
eclipse-linuxtools 8.1.0%2Bdfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 42,888 kB
  • sloc: java: 149,148; xml: 22,186; ansic: 15,426; cpp: 326; makefile: 42; javascript: 29; sh: 19; python: 10
file content (72 lines) | stat: -rw-r--r-- 4,441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Specfile Editor User Guide - Import src.rpm</title>
		<link type="text/css" rel="stylesheet" href="../../../book.css"/>
	</head>
	<body>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<th style="width: 100%" align="center" colspan="3">Import src.rpm</th>
			</tr>
			<tr>
				<td style="width: 20%" align="left">
					<a href="General-Usage.html" title="General Usage">
						<img alt="Previous" border="0" src="../../../images/prev.gif"/>
					</a>
				</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right">
					<a href="Createrepo.html" title="Createrepo">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top">General Usage</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Createrepo</td>
			</tr>
		</table><hr class="navigation-separator"/>
		<h1 id="Import_src.rpm">Import src.rpm</h1>
		<p>One of the features of the RPM  plugin is the ability to import src.rpm files into an Eclipse project. A selection has been added to the screen that is displayed when the Eclipse File &gt; Import &gt; Other pulldown item is selected. This allows you to quickly and easily import source RPMs into the Eclipse development environment.</p>
		<h2 id="Invoking_the_Eclipse_SRPM_Import_Feature">Invoking the Eclipse SRPM Import Feature</h2>
		<p>Invoking the SRPM Import feature of Eclipse is a very simple matter. At the top of the Eclipse click on File which causes a pulldown menu to appear. From this menu click on Import. This causes the screen below to appear:</p>
		<p>
			<img border="0" src="images/Specfile_import_srpm.png"/>
		</p>
		<p>From this screen select Source RPM and then Next to activate the next screen shown here:</p>
		<p>
			<img border="0" src="images/Specfile_import_select_srpm.png"/>
		</p>
		<p>There are three functions that this screen must perform in order to successfully import a source RPM into Eclipse. The first thing you must do is select a source RPM to be imported using the Browse button.
			It is used to browse around a system to the desired source RPM. Once the desired source RPM is found, either double-click on it or single-click and then click OK. The source RPMs name should now appear in the SRPM Name window.</p>
		<p>Next, either select the already-existing project where this source RPM will be imported or click on the "Check out as a project using the New Project Wizard" button. If you select the latter, the New project wizard pops up and guides you through the process of creating a new project.  Once the wizard is done, the import process begins automatically.  If there is a project already created you want to import into, the Select a project window contains a list of the available Eclipse projects. Scroll to the desired project and select it so it is highlighted and click on "Finish".</p>
		<p>Now you can use all of the resources of Eclipse on this imported project just as any other project. Notice that the source RPM that was selected for import has been copied into the project.</p><hr class="navigation-separator"/>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<td style="width: 20%" align="left">
					<a href="General-Usage.html" title="General Usage">
						<img alt="Previous" border="0" src="../../../images/prev.gif"/>
					</a>
				</td>
				<td style="width: 60%" align="center">
					<a href="User-Guide.html" title="Specfile Editor User Guide">
						<img alt="Specfile Editor User Guide" border="0" src="../../../images/home.gif"/>
					</a>
				</td>
				<td style="width: 20%" align="right">
					<a href="Createrepo.html" title="Createrepo">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top">General Usage</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Createrepo</td>
			</tr>
		</table>
	</body>
</html>