#1684 ClassPath plugin and Console System Shell/multiple views

Alan Ezust

If two views are open to different projects, and View1 has a Classpath set from project options, but the view2 has nothing in its classpath project options, then I would expect
echo $CLASSPATH to give me different things from the System shell of the different views. However, it appears the same CLASSPATH is set in both System shells, and I don't get an empty string like I would expect from View#2.


  • Anonymous - 2013-11-07

    The classpath is an environment variable; as such, it has a value per process, not per window. Both views belong to the same process, right? Therefore, to implement this request, there's a need to change the environment variable each time one of the views gets the focus. Is that what you want to happen?

  • Alan Ezust

    Alan Ezust - 2013-11-14

    I was thinking something more like having the ClassPath plugin provide a mapping to ProcessBuilder instances,
    where the environment of the ProcessBuilder used by Console can be somehow maintained by ClassPath.

    Should the ClassPath provide a mapping from View or from the VPTProject ? that is another interesting question...

  • Alan Ezust

    Alan Ezust - 2013-11-15

    Another approach would be to make up a new service that is offered by jEdit, offering a
    getClassPath(View v) function... And then just use that everywhere else.

  • Alan Ezust

    Alan Ezust - 2013-11-21

    I think we just need to use the Project Properties in ProjectViewer's ClassPath options to store/retrieve the classpath, and fix up Console and the other places to use it.


Log in to post a comment.