I'd like to run Netbeans from the launcher and get it to see environment variables.
Background: I'm using netbeans for a rails project and have configured my devel database with configurations using environment variables. Unfortunately Netbeans appears unable to read those variables even when I list them in /etc/profile (for all users).
I can explicitly run Netbeans from the terminal: /Applications/NetBeans/NetBeans\ 7.3.1.app/Contents/MacOS/netbeans and that gets things to work but I'd much rather run it from the launcher if I can solve this problem.