You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- incorporate our new oomph setups and p2 repo links
- some restructering of Installation and developer guide (more important topics higher up, less important to bottom of page)
Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
Copy file name to clipboardExpand all lines: development.md
+16-5Lines changed: 16 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,24 @@ author: Neil Bartlett
8
8
9
9
## Building Bndtools
10
10
11
-
Bndtools is built with Bndtools! If you want to work on the bndtools source code, you have two options:
11
+
Bndtools is built with Bndtools! If you want to work on the bndtools source code, you have three options:
12
12
13
13
* Install the current public release of bndtools from the [Eclipse Marketplace][2] and start working straight away.
14
14
* Build Bndtools from the command line, then install the build results into your Eclipse IDE.
15
+
* or install one of the pre-configured [development setups](#development-setups)
15
16
16
-
## Checking Out from GitHub
17
+
18
+
### Checking Out from GitHub
17
19
18
20
First check out the source code from GitHub as follows:
19
21
20
22
git clone git://github.com/bndtools/bnd.git
21
23
22
24
If you have Bndtools installed in your Eclipse IDE already (e.g. using Marketplace) then skip to **Importing Into Eclipse** below. Otherwise read on...
23
25
24
-
## Building from the command-line
26
+
###Building from the command-line
25
27
26
-
Read the document `BUILDING-GRADLE.md` to learn how the build works.
28
+
Read the document [Contribution to Bnd/Bndtools](https://github.com/bndtools/bnd/blob/master/CONTRIBUTING.md#build-environment) to learn how the build works.
27
29
28
30
Assuming you have Gradle (version 1.11 or better) installed, you can build bndtools from the command line by changing to the root of your checkout and typing:
29
31
@@ -35,7 +37,7 @@ To install from the generated Update Sites, open the Help menu in Eclipse and se
35
37
36
38
Back in the update dialog, Bndtools will appear in the category list. Place a check next to it and click Next. Drive the rest of the wizard to completion... congratulations, you have just built and installed bndtools!
37
39
38
-
## Importing Into Eclipse
40
+
###Importing Into Eclipse
39
41
40
42
Now you have Bndtools installed in your Eclipse IDE, you can import the bndtools projects into Eclipse to begin working on the source code.
41
43
@@ -49,6 +51,15 @@ Click "Finish"... Eclipse will start to import and build the projects. **If you
49
51
50
52
You should now have all the bndtools projects in your workspace, ready to begin hacking!
51
53
54
+
## Development Setups
55
+
56
+
We also provide pre-configured setups using Eclipse oomph installer, which help you getting started quickly.
57
+
This way you get a dedicated Eclipse instance with pre-installed bndtools source code with a simple one-click installer.
58
+
59
+
Find our different setups and P2 Repositories at:
60
+
<https://bndtools.org/bndtools.p2.repo/>
61
+
62
+
52
63
## Launching Bndtools from Eclipse
53
64
54
65
To launch bndtools from Eclipse (e.g. to try out a change to debug), use one of the `.bndrun` files from the `bndtools.core` project. There are three launchers, one per architecture, i.e.:
To get then started with the [bndtools Workspace model](workspace.html), you can follow some videos that can get you started.
17
22
18
-
## Known Issues
19
23
20
-
* This release is based on Java 17. This tends to be not noticed for developmet but there are a number of runtime bundles in the distribution that now also have become Java 17 code. This could generate the error during a bndrun launch or with bnd/OSGi testing when the Execution Environment is set to < 17. The easy fix is to set this to 17. If this is impossible, the previous launchers than run on 1.8 can then be used (if they are available in the repositories). Add
The recommended way to install Bndtools via the [Eclipse Marketplace](https://marketplace.eclipse.org/content/bndtools).
29
27
30
-
<ahref="https://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1220"class="drag"title="Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client"><imgtypeof="foaf:Image"class="img-responsive"src="https://marketplace.eclipse.org/sites/all/themes/solstice/public/images/marketplace/btn-install.png"alt="Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client" /></a>
28
+
<ahref="https://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1220"class="drag"title="Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client">
29
+
<imgstyle="width:80px;"typeof="foaf:Image"class="img-responsive"src="https://marketplace.eclipse.org/modules/custom/eclipsefdn/eclipsefdn_marketplace/images/btn-install.svg"alt="Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client" />
30
+
</a>
31
31
32
32
## Update Site
33
33
34
34
* From the Help menu select `Install New Software...`
35
35
* When the dialog opens, click the `Add...` button near the top-right.
36
-
* In the Name field enter `Bndtools`. In the Location field enter one of the the following URLs
36
+
* In the Name field enter `Bndtools`. In the Location field enter one of the the following P2 Repository URLs
* Press `Next` and then `Finish`, acknowledging the licenses
45
45
46
+
## Release Notes
47
+
48
+
For more complete information on the changes in the Bndtools release, see <https://github.com/bndtools/bnd/wiki#release-notes>.
49
+
50
+
51
+
## Known Issues
52
+
53
+
* Bndtools is built to run on Eclipse 2020-06 or later. So Bndtools 7.0.0 may not run on older versions of Eclipse.
54
+
55
+
* This release is based on Java 17. This tends to be not noticed for developmet but there are a number of runtime bundles in the distribution that now also have become Java 17 code. This could generate the error during a bndrun launch or with bnd/OSGi testing when the Execution Environment is set to < 17. The easy fix is to set this to 17. If this is impossible, the previous launchers than run on 1.8 can then be used (if they are available in the repositories). Add
0 commit comments