Using searchpath option of commonapi-generator-linux-x86_64

Jeremiah Foster jeremiah.foster at pelagicore.com
Wed Aug 24 14:07:58 EDT 2016


Hi Vivek,

Have you looked at the sources here: http://git.projects.genivi.org/ There
are a number of CommonAPI libraries there.

Regards,

Jeremiah

On Wed, Aug 24, 2016 at 1:31 PM, Vivek Galatage <vivekg at chromium.org> wrote:

> Hi,
>
> I am having two modules *foo* and *bar* with the following directory
> structure. Now each of these module has respective foo.fidl and bar.fidl.
> Both of these fidls depend on types.fidl. So I thought of keeping the
> types.fidl in a common directory as
>
> my_project/common
>
> my_project/common/types.fidl
>
> my_project/foo
>
> my_project/foo/foo.fidl
>
> my_project/bar
>
> my_project/bar/bar.fidl
>
> Now the ommonapi-generator-linux-x86_64 tool has the option, -sp or
> --searchpath.
>
> So while running commonapi-generator-linux-x86_64, I gave the search path
> for the common directory as:
>
>
>
> *commonapi-generator-linux-x86_64
> --searchpath my_project/common my_project/foo/foo.fidl*
>
> This is resulting in error being thrown as the tools is not considering
> the searchpath option for the types.fidl.
>
> Is there something missing in my steps in order to use the searchpath?
>
> Also I wanted to know where can I see the sources for the tools like
> commonapi-generator-linux-86_64? I am using 3.1.5 version of these tools
> downloaded from [1]
>
> [1] http://docs.projects.genivi.org/yamaica-update-
> site/CommonAPI/generator/3.1/3.1.5/
>
>
>
> Best Regards,
> Vivek
>
> _______________________________________________
> genivi-projects mailing list
> genivi-projects at lists.genivi.org
> http://lists.genivi.org/cgi-bin/mailman/listinfo/genivi-projects
>
>


-- 
Jeremiah C. Foster
GENIVI COMMUNITY MANAGER

Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18
Gothenburg, Sweden
M: +1.860.772.9242
jeremiah.foster at pelagicore.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20160824/4c9cde6e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PELAGICORE_RGB_Black_horizontal.png
Type: image/png
Size: 11841 bytes
Desc: not available
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20160824/4c9cde6e/attachment.png>


More information about the genivi-projects mailing list