...
Note also that the version of the IGB code base you use for developing a new IGB App will depend on when you plan to share your App with users. The IGB team recommends you develop your App using the master branch so that you will can take advantage of the latest, most powerful API features, but if you want to release your App right away, then you should use whichever version of IGB your target audience is using - typically whatever release is available on the BioViz.org Web site. To decide which version makes the most senses for you, you'll need to understand how branches and tags in the IGB git repository correspond to versions of IGB downloaded by users. See About the code base.
Compile (build) IGB
Open and build the newly cloned IGB project in NetBeans:
- Select File > Open Project
- Choose the top-level folder of your newly checked out repository
- Select Run > Clean and Build Project (IGB Project)
Tip: to save time, you can configure NetBeans to not run the full suite of tests; these won't be necessary unless you alter the IGB code base. To turn off testing, select Preferences > Java > Skip Tests.
Alternatively, you can compile IGB by running maven at the command line. To do this, change to the top-level directory containing the IGB pom.xml file and enter:
Code Block |
---|
mvn clean install -DskipTests=true |
Note that the first time you build IGB, maven will download all third-party libraries (called "dependencies") required by the IGB project to a local cache on your computer. This means that first time you compile IGB, you must be connected to the internet.
...
Build the App
To build your App, select Run > Build in NetBeans.
...