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

Rosjava setting classpath with gradle

asked 2013-02-19 08:47:34 -0600

jforkey gravatar image

updated 2013-04-28 23:22:20 -0600

ipso gravatar image

Hi,

Along my journey to learning ROSJava I have bumped into what appears to be a pretty elementary question, so I hope somewhere can answer it quickly. It looks as if the manifest.xml file is essentially useless since Spring of '12 when ROSJava was rolled over to using gradle to build. What leads me to believe this? I tossed a random syntax error into the file to see if it would throw a fit, but it compiled just fine. So, is my understanding correct; manifest.xml is no longer used when building? If this is true, how do I set the class path to reference other dependencies.

Before, you could use <rosjava-pathelement> /dir/example.jar </rosjava-pathelement>.

I am looking for a pretty in-depth explanation. I want to understand it, not just use it. Is there a link that I am missing? I have read the tutorials over multiple times.

Thanks, James

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-19 09:08:45 -0600

damonkohler gravatar image

You are correct. The manifest.xml file (nor package.xml or stack.xml) is not required to use rosjava. The most in depth explanation you'll find will be in the Gradle documentation.

http://www.gradle.org/docs/current/userguide/tutorial_java_projects.html http://www.gradle.org/docs/current/userguide/java_plugin.html

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-19 08:47:34 -0600

Seen: 306 times

Last updated: Feb 19 '13