Skip to content
Federico Dotta edited this page Oct 22, 2025 · 4 revisions

Build Brida

Brida can be built with Gradle or with Maven.

Build with Gradle

Building with Gradle is easier and quicker. Gradle is integrated in most Java IDEs. Brida depends on a customized version of RSyntaxTextArea, available in this fork. The compiled version of RSyntaxTextArea has been included in Brida source tree, in the "libs" folder.

TO build simply run the task "jar", that will create the final Brida package (usually in folder "/build/libs"). You can run Gradle from IDE or from the command line as follows:

gradlew jar

Build with Maven

Building Brida with Maven is simple but it is necessary to manually install the RSyntaxTextArea local dependency before being able to build Brida correctly. In order to be able to build Brida you have to install the compiled version of RSyntaxTextArea library supplied in "libs" folder (or you can build it if you prefer) and then install it locally with Maven.

Build Brida with Maven from command line

  1. Go to Brida main folder, that contains Maven pom.xml file
  2. Install the local dependency in Maven:
    • mvn install:install-file –Dpackaging="jar" -Dfile="libs/rsyntaxtextarea-2.6.1.edited.jar" -DgroupId="com.fifesoft" -DartifactId="rsyntaxtextarea" -Dversion="2.6.1.edited"
  3. Build Brida:
    • mvn package -Dmaven.test.skip=true

Build Brida with Maven from Eclipse

  1. Add Brida project to Eclipse
  2. Install the local RSyntaxTextArea dependency in Maven using Eclipse:
    1. Right click on Brida project -> Run As -> Run configurations
    2. Right click on the left on "Maven Build" -> New configuration
    3. Type "BridaInstallDependency" in Name field
    4. To fill Base directory click on the Workspace button and select Brida project
    5. Write "install:install-file" in Goals field
    6. Add the following 5 parameters using the Add button
      • Name: file / Value: FULL_PATH_TO_BRIDA_SOURCES/libs/rsyntaxtextarea-2.6.1.edited.jar
      • Name: groupId / Value: com.fifesoft
      • Name: artifactId / Value: rsyntaxtextarea
      • Name: version / Value: 2.6.1.edited
      • Name: packaging / Value: jar
    7. Check Skip Tests option
    8. Run
  3. Build Brida (first time)
    1. Right click on Brida project -> Run As -> Run configurations
    2. Right click on the left on "Maven Build" -> New configuration
    3. Type "Brida" in Name field
    4. To fill Base directory click on the Workspace button and select Brida project
    5. Write "package" in Goals field
    6. Check Skip Tests option
    7. Run
  4. Build Brida (from the second time on)
    1. Right click on Brida project -> Run As -> Maven build

Clone this wiki locally