ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

External dependencies with rosjava

asked 2012-05-16 05:35:15 -0500

Markus Eich gravatar image

Dear all, I am a bit confused with the new gradle build system. In the old version of rosjava, I could define my dependencies on external jars within the Manifest file with something like

        <rosjava-pathelement location="/home/eich/workspace/Cylinder_Reasoner/cylinderreasoner.jar" />

This was than included into the auto-generated property files. How can I set my dependencies with the new gradle build system? The corresponding jar files of the libs are in the main folder of the package. Any Ideas?

Cheers, Markus

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-21 06:03:33 -0500

damonkohler gravatar image

I suggest going through the Gradle Java tutorial: http://gradle.org/docs/current/userguide/tutorial_java_projects.html

Dependencies should either be pulled from a remote repository or built and installed to your local repository.

edit flag offensive delete link more

Comments

Yes. Thank you. Just found it. I can simplye call the dependencies with "compile files" tag. This includes also jars which are not in a repository.

Markus Eich gravatar image Markus Eich  ( 2012-05-21 06:11:20 -0500 )edit

Could you please post an example of how you did it Markus? Thanks

uzair gravatar image uzair  ( 2014-01-18 19:45:58 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-05-16 05:35:15 -0500

Seen: 938 times

Last updated: May 21 '12