Ask Your Question

Revision history [back]

How to develop Java sources in Eclipse when you use rosjava

Good evening,

I am learning how to develop nodes with rosjava and I am studying the example test_rosjava.

I am updating my new package helloworld and in my file CMakeList.txt, I have defined that my source folder is javasources:

add_java_source_dir(${PROJECT_SOURCE_DIR}/javasources)

I am thinking to develop sources with eclipse but I would like to know where is the library to add in buildpath in eclipse for the following packages which I saw in the examples:

AddTwoIntsClient.java  Listener.java        Talker.java  tester.cpp
AddTwoIntsServer.java  rosjava_test.launch  Testee.java

import ros.*;
import ros.communication.*;

Cheers

How to develop Java sources in Eclipse when you use rosjava

Good evening,

I am learning how to develop nodes with rosjava and I am studying the example package test_rosjava.

I am updating my new package helloworld and in my the file CMakeList.txt, I have defined that my source folder is javasources:

add_java_source_dir(${PROJECT_SOURCE_DIR}/javasources)

With java files, I am thinking to develop sources with eclipse but I would like to know where is the library to add in buildpath in eclipse for the following packages which I saw in the examples:

AddTwoIntsClient.java  Listener.java        Talker.java  tester.cpp
AddTwoIntsServer.java  rosjava_test.launch  Testee.java

import ros.*;
import ros.communication.*;

Cheers

How to develop Java sources in Eclipse when you use rosjava

Good evening,

I am learning how to develop nodes with rosjava and I am studying the package test_rosjava.

I am updating my new package helloworld and in the file CMakeList.txt, I have defined that my source folder is javasources:

add_java_source_dir(${PROJECT_SOURCE_DIR}/javasources)
add_java_source_dir(${PROJECT_SOURCE_DIR}/src/java)

With java files, I am thinking to develop with eclipse but I would like to know where is the library to add in buildpath in eclipse for the following packages which I saw in the examples:

AddTwoIntsClient.java  Listener.java        Talker.java  tester.cpp
AddTwoIntsServer.java  rosjava_test.launch  Testee.java

import ros.*;
import ros.communication.*;

Cheers