|
2 | 2 | title: How to integrate BioJava in NetBeans IDE |
3 | 3 | --- |
4 | 4 |
|
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). |
8 | 7 |
|
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 |
11 | 9 |
|
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 |
13 | 14 | to the Project Panel. |
14 | 15 |
|
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: |
16 | 45 |
|
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. |
19 | 52 |
|
20 | | -NOTE: It is not mandatory to add the javadocs and source codes but |
21 | | -adding them provides help during coding. |
|
0 commit comments