#784 Make python launching more extensible

1.3.19
closed-fixed
debugger (210)
5
2008-09-15
2008-09-11
No

We currently use pydev 1.3.20 with some modifications to:
- run unit-tests without any special wrapper (some code called frequently in tests relies on argv[0] or other input determined from actual command line
- execute a linked copy of a project resource that is in an area that defines its proper context and makes its dependencies accessible correctly

To make it possible we pregenerate launch configurations and set some special hooks there. If these hooks are generally useful we can add a UI for this configuration. Even if they are not it would be nice to have this as a part of pydev by default rather than maintaining our own set of patches.

I will also attach a test case. I do not know where/how to add documentation so if you can give me a hint please do so.

Discussion

  • Radim Kubacki

    Radim Kubacki - 2008-09-11
    • summary: More python launching more extensible --> Make python launching more extensible
     
  • Radim Kubacki

    Radim Kubacki - 2008-09-11

    File Added: PythonRunnerConfigTest.java

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-09-15

    I've applied the patch with some minor changes:
    - On the check for the case-independent variable "PYTHONPATH' the if clause should be (NOT win32) for that check -- instead of if(win32)
    - The unit-tests were checking runnerConfig.resource, when it should be runnerConfig.resource[0]

    Cheers,

    Fabio

    p.s.: Can you put a [PATCH] in the title of the bug when it's a patch? (helps me keep track of those) Thanks!

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-09-15
    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks