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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
CC: kwc
Subject: Re: [ros-users] Problem in wiki page rosjava/Build
On Tue, Sep 6, 2011 at 10:06 AM, Damien Cassou <> wrote:
> On Tue, Sep 6, 2011 at 6:56 PM, Damien Cassou <> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>