Coder Social home page Coder Social logo

bisq-multirepo's Introduction

Bisq

Clone this and other Bisq repositories

This repository contains a .mrconfig file that makes it simple to clone all bisq-network repositories. Here's how to use it:

brew install mr                                 # or equivalent
git clone https://github.com/bisq-network/bisq  # clone this repositories
cd bisq
mr checkout                                     # clone all bisq-* repositories

See the myrepos homepage for more details on mr.

If you do not wish to use mr, then run grep checkout .mrconfig | cut -d'=' -f2 and copy and paste the git clone commands for the repositories you want to work with.

Build and test everything

Once you've checkout out the repositories you want to work with, run a full Gradle build from the root directory

./gradlew build

Import into IDEA

This repository also contains a settings.gradle file that defines a composite build consisting of all bisq-* that have been checked out above. This makes it easy to import all bisq-* components into a single IDEA project as follows:

  1. Go to Import Project, select settings.gradle and click Open
  2. In the Import Project from Gradle screen, check the Use auto-import option and click OK
  3. When prompted whether to overwrite the existing .idea directory, click Yes
  4. Go to Preferences->Build, Execution, Deployment->Compiler->Annotation Processors and check the Enable annotation processing option (to enable processing of Lombok annotations)
  5. In the Project tool window, right click on the root-level .idea folder, select Git->Revert... and click OK in the dialog that appears (to restore source-controlled .idea configuration files that get overwritten during project import)
  6. Go to Help->Edit Custom Properties..., add a line to the file that reads idea.max.intellisense.filesize=12500, then quit and restart IDEA (to handle Bisq's very large generated PB.java Protobuf source file)
  7. Go to Build->Build project. Everything should build cleanly. You should be able to run tests, run main methods in any component, etc.

TIP: If you encounter compilation errors related to the io.bisq.generated.protobuffer.PB class, it is probably because you didn't run the full Gradle build above. You need to run the generateProto task in the common project. You can do this via the Gradle tool window in IDEA, or you can do it the command line with cd common; ./gradlew generateProto. Once you've done that, run Build->Build project again and you should have no errors.

bisq-multirepo's People

Contributors

cbeams avatar manfredkarrer avatar ripcurlx avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bisq-multirepo's Issues

getting error while running 'mr checkout'

hi,

i'm getting this error while running mr checkout

Cloning into 'btcnode'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
mr checkout: command failed

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.