Skip to content

Developing Bindaas with Any IDE with Maven Integration

Pradeeban Kathiravelu edited this page Aug 24, 2018 · 3 revisions

Leveraging Maven plugins, Bindaas offers easy integration with multiple IDEs such as IntelliJ IDEA, Eclipse, and all the Java IDEs that support Maven projects.

 

 

 

Get the source code

$ git clone https://{user-name}@bitbucket.org/BMI/bindaas.git

$ cd bindaas

 

 Build the source code

$ mvn clean install

 

The binaries directory consists of the Bindaas binary built from the source as a .tar.gz archive.

$ cd binaries

 

Run Bindaas

Extract the relevant Bindaas binary distribution (either that is downloaded as binary, or that is built from the source following step 1).

Change to the bin directory of the Bindaas distribution,

$ cd bin

$ ./startup.sh

 

This starts Bindaas using nohup. Logs could be found at log/bindaas.log. You may stop the program later by running the shutdown.sh script.

 

If you rather like to have the logs in the foreground in the terminal itself, instead of using the start up script, you may run the java command directly.

 

$  java -Dpid=BINDAAS_INSTANCE -Xmx1024m -jar org.eclipse.osgi_3.8.2.v20130124-134944.jar

 

Now, you may connect to the dashboard at http://localhost:8080/dashboard/ using the user name and password, "admin", "password".

 

Make sure to have the trailing "/" at the end of URL as shown above.

 

Once you have created a project using the "Create Project" command, you may define the data providers for the project at http://localhost:8080/dashboard/workspace/{project_name}

 

You may choose a database such as a MySQL or MongoDB databases, or use an HTTP provider.

 

Developing Bindaas

Once you have built Bindaas with Maven as explained above, just open the pom.xml of the root directory of bindaas source through the IDE. This will open the entire source hierarchy along with the dependencies properly loaded from the maven repository. The entire project will be ready to develop with just one click!

Clone this wiki locally