rosbuild -built package import on indigo

Hi all,
i noticed that the import statement for rosbuild in indigo is kind of
problematic.
In my understanding there is no env.sh to source anymore,
so
i did the following:

i create a empty package (within rospath) in the folder
~/indigo_orocos_rosbuild/

$ orocreate-pkg my_new_pack component
$ rosmake my_new_pack

run deployer and

Deployer [S]> import ("my_new_pack")
4.100 [ ERROR ][ComponentLoader::importInstalledPackage(package,
path_list)] No such package or directory found in search path:
my_new_pack. Search path is:...

then since the path is not there, i added the path

Deployer [S]> path ("/home/my_home/indigo_orocos_rosbuild")
Deployer [S]> import ("my_new_pack")
202.384 [ ERROR ][ComponentLoader::importInstalledPackage(package,
path_list)] Failed to import components, types or plugins from package
or directory 'my_new_pack' found in:
202.384 [ ERROR ][ComponentLoader::importInstalledPackage(package,
path_list)] /home/my_home/indigo_orocos_rosbuild/my_new_pack
= false

ok, not working, then i tried this:
Deployer [S]> path
("/home/my_home/indigo_orocos_rosbuild/my_new_pack/lib/orocos/gnulinux/")
= (void)

Deployer [S]> import ("my_new_pack")
= true

Yuppie!

There is a way to overcome this?

Cheers, Gianni.

rosbuild -built package import on indigo

On 10/13/2015 01:40 PM, Gianni Borghesan wrote:
> Hi all,
> i noticed that the import statement for rosbuild in indigo is kind of
> problematic.
> In my understanding there is no env.sh to source anymore,
> so
> i did the following:
>
> i create a empty package (within rospath) in the folder
> ~/indigo_orocos_rosbuild/
>
> $ orocreate-pkg my_new_pack component
> $ rosmake my_new_pack
>
> run deployer and
>
> Deployer [S]> import ("my_new_pack")
> 4.100 [ ERROR ][ComponentLoader::importInstalledPackage(package,
> path_list)] No such package or directory found in search path:
> my_new_pack. Search path is:...
>
>
> then since the path is not there, i added the path
>
> Deployer [S]> path ("/home/my_home/indigo_orocos_rosbuild")
> Deployer [S]> import ("my_new_pack")
> 202.384 [ ERROR ][ComponentLoader::importInstalledPackage(package,
> path_list)] Failed to import components, types or plugins from package
> or directory 'my_new_pack' found in:
> 202.384 [ ERROR ][ComponentLoader::importInstalledPackage(package,
> path_list)] /home/my_home/indigo_orocos_rosbuild/my_new_pack
> = false
>
> ok, not working, then i tried this:
> Deployer [S]> path
> ("/home/my_home/indigo_orocos_rosbuild/my_new_pack/lib/orocos/gnulinux/")
> = (void)
>
> Deployer [S]> import ("my_new_pack")
> = true
>
> Yuppie!
>
> There is a way to overcome this?

ok, I found it

Deployer [S]> import("rtt_ros")
= true

Deployer [S]> ros.import("my_new_pack")
= true

>
> Cheers, Gianni.
>