[Discuss OpenCPI] Re: Specifying relative path for included files

From: Aaron Olivarez <aaron_at_olivarez.info>
Date: Tue, 16 May 23 09:59:25 -0500

If your project is not located inside the installed directory you can
navigate from the OCPI_ROOT_DIR to your project using the
symlinks in `projects-registry`. Assuming your OpenCPI project is
registered using `ocpidev register project` from your project directory.

Aaron



On Tue, May 16, 2023 at 9:48 AM Ian Chodera <iac_at_md1tech.co.uk> wrote:

> Hi Aaron
>
> OCPI_ROOT_DIR seems to be where OCPI was installed - not where our project
> folders are - for reference Dan and I are working on a shared machine, with
> separate project directories
>
>
> Ian Chodera
> MD1 Technology Ltd.
>
> e: iac_at_md1tech.co.uk
> w: www.md1tech.co.uk
>
>
> [image: 9001-RGB-Logo-136x136.jpg]
>
>
>
> MD1TechnologyLtd. is registered in England & Wales with company number
> 09378746.
> Registered address: Cheltenham Film & Photographic Studios, Hatherley
> Lane, Cheltenham, Gloucestershire, England. GL51 6PN.
> VAT registration number: GB 206 3877 05
>
> On 16 May 2023, at 15:38, Aaron Olivarez <aaron_at_olivarez.info> wrote:
>
> Glad you got it working.
>
> For future reference there is an environment variable you could use as a
> reference point. It's called OCPI_ROOT_DIR , from there you can
> access projects directory.
>
> Aaron
>
> On Tue, May 16, 2023 at 9:14 AM <dwp_at_md1tech.co.uk> wrote:
>
>> Must have made a typo somewhere as using a relative path with ../ now
>> appears to be working
>> _______________________________________________
>> discuss mailing list -- discuss_at_lists.opencpi.org
>> To unsubscribe send an email to discuss-leave_at_lists.opencpi.org
>>
> _______________________________________________
> discuss mailing list -- discuss_at_lists.opencpi.org
> To unsubscribe send an email to discuss-leave_at_lists.opencpi.org
>
>
>






9001-RGB-Logo-136x136.jpg
(image/jpeg attachment: 9001-RGB-Logo-136x136.jpg)

Received on Tue May 16 2023 - 14:59:25 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT