A story about making catkin_make of rosjava compatible offline

This article summarizes how to make rosjava's catkin_make available offline as it seems to be available only online by default.

It is connected to this Introduction of rosjava article.

environment

ubuntu16.04 ROS ( kinetic ) java8 gradle maven

1. Operate offline

I'm going to make it work offline at once That said, the method is very simple

First of all, you need a file called buildscript.gradle This file is in this rosjava_bootstrap on github, so you can get it as gitclone, download it normally, or copy the contents. Let's

Then save this file in your own rosjava package If you tried it in the article Introduction here, I think it is in the test_pkg folder.

It looks like the following

Then open build.gradle in the same location on the package where you saved buildscript.gradle with editing software such as gedit.

I think there is something on the line

buildscript.gradle


buildscript {
  apply from: "https://github.com/rosjava/rosjava_bootstrap/raw/kinetic/buildscript.gradle"
}

this

buildscript.gradle


buildscript {
  apply from: "buildscript.gradle"
}

Just do this

You should now be able to do catkin_make offline Try to see if you can do catkin_make offline

If you can't, install gradle and maven

python


sudo apt-get install gradle
sudo apt-get install maven

I think you can now do catkin_make offline

This time I'm going to end here

Recommended Posts

A story about making catkin_make of rosjava compatible offline
A story about making Spring + Hibernate + MySQL apps replication compatible
The story of making the existing Dockerfile GPU compatible
A story about making a Builder that inherits the Builder
The story of making a reverse proxy with ProxyServlet
A story about developing ROS called rosjava with java
Story of making a task management application with swing, java
A story about hitting the League Of Legends API with JAVA
A story about making a calculator to calculate the shell mound rate
The story of making a game launcher with automatic loading function [Java]
[Personal memo] A small story about CPUs settings of Docker Desktop for Windows
The story of making ordinary Othello in Java
A story about the JDK in the Java 11 era
A story about a very useful Ruby Struct class
A story about Apache Wicket and atomic design
A story about trying to operate JAVA File
A story about a new engineer reading a passion programmer
[Jackson] A story about converting the return value of BigDecimal type with a custom serializer.