#1165 Source folder based on variable does not work with env_var

1.5.1
closed
nobody
5
2010-06-18
2010-06-01
Tadeu
No

I'm trying to set a source folder based on an environment variable, but it doesn't work.
Example: "Project Properties" -> "PyDev - PYTHONPATH" -> "Source Folders" -> "Add based on variable", then I input:

/sci20/build/${env_var:BB_DIST}-${env_var:BB_PLATFORM_SHORT}-libs

Then I click ok. But when I go to the "Sources Folders" properties screen again, it is set only to "/sci20"
I also tried with:

/sci20/build/${BB_DIST}-${BB_PLATFORM_SHORT}-libs

It doesn't work either (only if I configure the variables manually in the "String Substitution" preferences screen).

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2010-06-03

    The idea is that you use the string substitution. There's a string substitution in the interpreter so that you can bind those variables based on some configured interpreter.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-06-03
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks