yekigoc / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Heavy problem with the last rosjava distribution, never compile¡ dependencies from other libraries are broken. #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a problem when I try to execute the compilation of the sourcode from 
rosjava package.

What steps will reproduce the problem?

1. checkout from repository the rosjava ""

2. execute "rosmake rosjava"

What is the expected output? What do you see instead?

It has not correct reference for libraries from org.ros.message.std_msg & 
org.ros.message.rosgraph_msgs

  [javac] /rosjava/src/main/java/org/ros/internal/message/new_style/MessageImpl.java:409:
  [javac] cannot find symbol  : class Char
  [javac] location: class org.ros.internal.message.new_style.MessageImpl
  [javac]   public List<Char> getCharList(String name) {
  [javac]               ^
  [javac]

/media/DATA/ros/rosjava/rosjava/src/main/java/org/ros/internal/message/new_style
/PrimitiveFieldType.java:24:

  [javac] package org.ros.message.std_msgs does not exist
  [javac] import org.ros.message.std_msgs.Char;
  [javac]                                ^
  [javac]  ....

What version of the product are you using? On what operating system?

Ubuntu 10.04, ROS-Diamond

Please provide any additional information below.

Is required from my projects because :  roscreate-pkg "my_new_project" 
<rosjava> <other-rosdep>...needs that rosjava compiled succesfull.

Thanks in advance,
Toni

Original issue reported on code.google.com by antonio....@gmail.com on 3 Aug 2011 at 4:29

GoogleCodeExporter commented 9 years ago
I investigate and found that exists an script (that I unaware) that get 
dependencies from http://robotbrains.hideho.org/nexus/content/groups/ros-public 
where you can download the *.jar files according to expected from the rosmake 
scripts.

If someone can tell me what's the script I can try to fix it.

thanks in advance

Original comment by antonio....@gmail.com on 3 Aug 2011 at 7:34

GoogleCodeExporter commented 9 years ago
resolved, the problem was to update from older rosjava checkout to the new 
rosjava_core. The script build-msg.xml check if the folder of the messages are 
avaliable and if exists not generate the new .jar needed. 

The older jars have others format names, ex: roscpp.jar -> 
org.ros.rosjava.roscpp-0.0.0.jar

well finally I can do that my java projects can be connected with ROS ¡¡ 
fantastic ¡¡¡

Original comment by antonio....@gmail.com on 3 Aug 2011 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by damonkoh...@google.com on 5 Aug 2011 at 4:26