Coder Social home page Coder Social logo

ambit's Introduction

http://ambit.sourceforge.net

This is multi module maven project.

#Build

Prerequisites for building AMBIT2 JDK 1.7 or higher MySQL 5.6.5 or higher Maven 3.x

Build ambit2 libraries:

Retrieve sources from SVN

svn checkout svn://svn.code.sf.net/p/ambit/code/trunk/ambit2-all ambit-all
cd ambit2-all
mvn package -DskipTests=true

The build process includes mandatory database tests and may take a while. Use -DskipTests=true option to skip the tests.

####Database configuration

The test database ambit-test must exist before the running the tests. Use the following MySQL commands to create and set rights.

create database `ambit-test` character set utf8;
GRANT ALL ON `ambit-test`.* TO 'guest'@'localhost' IDENTIFIED BY 'guest';

The database name and the user are set via Maven profile, e.g. there should be "settings.xml" file in your ".m2" directory with the following minimal configuration:

<settings xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <profiles>
   <profile>
      <id>ambit-build</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
	 
	<!-- the database name, default ambit2  -->
			<ambit.db>ambit2</ambit.db>

	<!-- database user password and name -->
        <ambit.db.user.test>guest</ambit.db.user.test>
        <ambit.db.user.test.password>guest</ambit.db.user.test.password>
         </properties>
    </profile>
  </profiles>
</settings>

Build applications - AMBIT REST web services and standalone applications:

cd ambit2-apps
mvn clean buildnumber:create package -P http -P ambit-release -P aa-enabled -P aa-admin-disabled -P license-in-text-column -DskipTests=true

See ambit2-all/ambit2-apps/README.txt for options

Dependencies

svn checkout http://svn.code.sf.net/p/toxtree/svn/trunk/toxtree toxtree 
mvn install

ambit's People

Contributors

kurtw555 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.