Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:catkin_migration [2014/09/05 13:13] – [Adapting OWL and Prolog files to the new libraries] admin | doc:catkin_migration [2014/09/05 13:14] – [JAR files and build dependencies] admin | ||
---|---|---|---|
Line 41: | Line 41: | ||
==== JAR files and build dependencies ==== | ==== JAR files and build dependencies ==== | ||
Rosjava is now based on Maven that ' | Rosjava is now based on Maven that ' | ||
+ | <code java> | ||
dependencies { | dependencies { | ||
/* Dependency on a rosjava project in the same catkin package */ | /* Dependency on a rosjava project in the same catkin package */ | ||
Line 52: | Line 52: | ||
compile ' | compile ' | ||
} | } | ||
+ | </ | ||
You can use the service at http:// | You can use the service at http:// | ||
Line 60: | Line 60: | ||
This is not easy with the existing tools (since the exporting packages are not by themselves catkin packages), so we had to find another solution: During compilation, | This is not easy with the existing tools (since the exporting packages are not by themselves catkin packages), so we had to find another solution: During compilation, | ||
+ | <code java> | ||
task writeClasspath << { | task writeClasspath << { | ||
buildDir.mkdirs() | buildDir.mkdirs() | ||
Line 68: | Line 68: | ||
project.version + " | project.version + " | ||
} | } | ||
+ | </ | ||
... and add the writeClasspath task to the CMakeLists.txt: | ... and add the writeClasspath task to the CMakeLists.txt: | ||
catkin_rosjava_setup(installApp publishMavenJavaPublicationToMavenRepository writeClasspath) | catkin_rosjava_setup(installApp publishMavenJavaPublicationToMavenRepository writeClasspath) |