Release 5: Accessibility to some Project Warehouse tools is still limited. We hope to resolve this issues soon.

Support

Support Options

Submit a Support Ticket

 

Wish List: Wish #305

granted

Member avatar

0 Like 0 Dislike

Rodney Porter

Add default project home

This seems to already be a feature for windows. In linux, the pen.sh script sets -Duser.home=$HOME. With each release, I edit this file to give the proper path to my projects. I would like something like: Check to see if $PENHOME is defined and if not, set it to $HOME. Use -Duser.home=$PENHOME

Comments (5)

  1. Ian Mathew

    Rodney,

    Thanks for using PEN, and for the feedback you have provided. The defaults in PEN are based on your home directory in both Windows and in Linux. I’m not entirely sure what you’re asking for, because there are two possibilities. To me, it seems like what you’re really asking for is control of the default project storage directory. However, if I’ve read this wrong, you might also be claiming that PEN reads an incorrect home directory. Please let me know which of these is correct, or if I’m completely wrong about the entire thing, let me know that as well.

    Thanks,

    Ian Mathew NEEScomm IT

    Report abuse Reply

    1. Rodney Porter

      You are correct that I am asking for control of the default project storage directory. if ! -d “$PENHOME”; then PENHOME=”$HOME”

      fi java -Xmx384m -cp Pen.jar:bcprov-jdk16-145.jar:commons-io-2.0.1.jar:commons-logg ing-1.1.1.jar:commons-net-2.0.jar:httpclient-4.1.1.jar:httpcore-4.1.jar:httpcore -nio-4.0.1.jar:httpmime-4.1.1.jar:jcalendar-1.3.3.jar:namespace.jar:relaxngDatat ype.jar:xsdlib.jar -Duser.home=”$PENHOME” org.nees.pen.Pen $@

      I could then set the environment variable and have it survive through pen upgrades.

      Report abuse Reply

      1. Ian Mathew

        I see no reason why we can’t implement the ability to set a default directory. Unless you have some objection, I’d probably put it into the GUI and let users set it through some sort of “Preferences” dialog, rather than placing it in the config file. Putting this in the jar allows this default to be set on any system. In addition, the user.home setting is used to find the .pen directory, so it really does need to be set as the $HOME folder.

        Report abuse

  2. Ian Mathew

    We are on track to grant this wish in PEN 1.3.6. The implementation will be as described in the comments, to allow for portability. This should be released sometime this week. Once this is released, I will mark this as “Granted”. Any bugs or problems associated with our implementation should be handled as tickets. We appreciate your feedback and help in improving PEN.

    Report abuse Reply

  3. Ian Mathew

    Rodney,

    You should now be able to see this in PEN 1.3.6, released today. When editing preferences, please note that you may have to restart PEN for changes to go into effect.

    Report abuse Reply