Skip to content

Commit 700ea12

Browse files
Gwaldonandreasprlic
authored andcommitted
technical update
1 parent 6471ea7 commit 700ea12

2 files changed

Lines changed: 73 additions & 17 deletions

File tree

wiki/How_to_integrate_BioJava_in_NetBeans_IDE.md

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,51 @@
22
title: How to integrate BioJava in NetBeans IDE
33
---
44

5-
Follow these steps and start using BioJava with the
6-
[NetBeans|<http://www.netbeans.org>] IDE (It works best for version 5.0
7-
and greater)
5+
Follow these steps and start using BioJava with the [NetBeans
6+
IDE](http://www.netbeans.org).
87

9-
1) Download the necessary .jar files,javadocs and source from the
10-
Biojava download [area](BioJava:Download "wikilink").
8+
### Option 1 - Add BioJava to your project
119

12-
2) Open a project in Netbeans (one that you will use biojava for) and go
10+
1) Download the necessary .jar files, javadocs and source from the
11+
Biojava download [area](BioJava:Download_1.8 "wikilink").
12+
13+
2) Open a project in Netbeans (one that you will use BioJava for) and go
1314
to the Project Panel.
1415

15-
3) Right click the Library folder and choose add library.
16+
3) Right click the Libraries tab and choose Wrapped JARs.
17+
18+
4) Add the appropriate .jar files and start using them in your project.
19+
20+
### Option 2 - Create a BioJava library wrapper module and refer to it
21+
22+
1) Download the necessary .jar files, javadocs and source from the
23+
Biojava download [area](BioJava:Download_1.8 "wikilink").
24+
25+
2) Create a new library wrapper module.
26+
27+
3) In the project properties, right click the Libraries tab and choose
28+
Wrapped JARs.
29+
30+
4) Add the appropriate .jar files.
31+
32+
5) In the project properties, right click the API Versioning tab and
33+
declare all BioJava packages public.
34+
35+
6) Save and add a dependency to this module in each module that will be
36+
using BioJava:
37+
38+
- Open each module;
39+
- In the project properties, right click the Libraries tab and choose
40+
Module dependencies.
41+
- Add your wrapped BioJava library module.
42+
43+
It is not mandatory to add the javadocs and source codes but adding them
44+
provides help during coding:
1645

17-
4) Add the appropriate .jar files,javadocs and source codes and start
18-
using them in your project.
46+
- Go to Main menu \> Tools \> Libraries.
47+
- Create a new library, name it BioJava
48+
- In the classpath, add the BioJava JARs located in
49+
yourmodule/release/modules/ext folder
50+
- Reference as well the location of source code and javadocs.
51+
- Click OK; BioJava code is now accessible.
1952

20-
NOTE: It is not mandatory to add the javadocs and source codes but
21-
adding them provides help during coding.
Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,36 @@
1-
Follow these steps and start using BioJava with the [NetBeans|http://www.netbeans.org] IDE (It works best for version 5.0 and greater)
1+
Follow these steps and start using BioJava with the [http://www.netbeans.org NetBeans IDE].
22

3-
1) Download the necessary .jar files,javadocs and source from the Biojava download [[BioJava:Download|area]].
3+
=== Option 1 - Add BioJava to your project ===
44

5-
2) Open a project in Netbeans (one that you will use biojava for) and go to the Project Panel.
5+
1) Download the necessary .jar files, javadocs and source from the Biojava download [[BioJava:Download_1.8|area]].
66

7-
3) Right click the Library folder and choose add library.
7+
2) Open a project in Netbeans (one that you will use BioJava for) and go to the Project Panel.
88

9-
4) Add the appropriate .jar files,javadocs and source codes and start using them in your project.
9+
3) Right click the Libraries tab and choose Wrapped JARs.
1010

11-
NOTE: It is not mandatory to add the javadocs and source codes but adding them provides help during coding.
11+
4) Add the appropriate .jar files and start using them in your project.
12+
13+
=== Option 2 - Create a BioJava library wrapper module and refer to it ===
14+
15+
1) Download the necessary .jar files, javadocs and source from the Biojava download [[BioJava:Download_1.8|area]].
16+
17+
2) Create a new library wrapper module.
18+
19+
3) In the project properties, right click the Libraries tab and choose Wrapped JARs.
20+
21+
4) Add the appropriate .jar files.
22+
23+
5) In the project properties, right click the API Versioning tab and declare all BioJava packages public.
24+
25+
6) Save and add a dependency to this module in each module that will be using BioJava:
26+
* Open each module;
27+
* In the project properties, right click the Libraries tab and choose Module dependencies.
28+
* Add your wrapped BioJava library module.
29+
30+
31+
It is not mandatory to add the javadocs and source codes but adding them provides help during coding:
32+
* Go to Main menu > Tools > Libraries.
33+
* Create a new library, name it BioJava
34+
* In the classpath, add the BioJava JARs located in yourmodule/release/modules/ext folder
35+
* Reference as well the location of source code and javadocs.
36+
* Click OK; BioJava code is now accessible.

0 commit comments

Comments
 (0)