[ros-users] Problem in wiki page rosjava/Build

Ken Conley kwc at willowgarage.com
Tue Sep 6 17:15:46 UTC 2011


On Tue, Sep 6, 2011 at 10:06 AM, Damien Cassou <damien.cassou at gmail.com> wrote:
> On Tue, Sep 6, 2011 at 6:56 PM, Damien Cassou <damien.cassou at gmail.com> wrote:
>> Can you please help me?
>
> It looks like removing the package ros-electric-rosjava-core and
> installing it from mercurial fixed the problem. Something missing in
> the wiki page however is the required creation of the 'src' directory.
> You get a
>
> BUILD FAILED
>  /home/cassou/Documents/robotics/stacks/diarobot/build.xml:27: srcdir
> "/home/cassou/Documents/robotics/stacks/diarobot/src" does not exist!
>

You need to edit the build.xml file in your own package to set srcdir
to where your source is stored.

> error message otherwise. Also, ant produces the following warning
>
> compile:
>    [javac] /home/cassou/Documents/robotics/stacks/diarobot/build.xml:27:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds

This is an annoying issue with the latest ant; it's safe to ignore,
though if you want to suppress you can set includeantruntime=false on
line 27 of your build file.

Hope this helps,
Ken


>
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Lambdas are relegated to relative obscurity until Java makes them
> popular by not having them." James Iry
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list