Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next 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:13] – [Run dependencies when calling Java from Prolog] admin | ||
---|---|---|---|
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) |