- 把戏 tags:
- java
- netbeans published: true comments: true
This is a feature introduced in NetBeans 6.7.
Set environment variables for specified life-cycle phases: Open project properties dialog, select action category. Select actions which depend on the variable, click add button to add such an environment variable.
However, this method doesn't work with Glassfish spawned the IDE. If you want use environment variables in the server spawned by NetBeans IDE, you still have to export the variables in netbeans.conf