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.
ubuntu16.04 ROS ( kinetic ) java8 gradle maven
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