[
https://issues.jboss.org/browse/JBIDE-10715?page=com.atlassian.jira.plugi...
]
Daniel Atallah commented on JBIDE-10715:
----------------------------------------
Thanks for the clarification, I was thinking that it was actually unintentional the Path
was being set to "native", but I now see that it isn't.
I realize that none of the startup scripts are being used. I'm actually referring to
the current System Path (which, since I'm on Windows, this becomes part of
java.library.path), not anything that is overridden for JBoss specifically at all in a
startup script or etc.
The reason I want this is because I'm using a database driver that needs a native
library in java.library.path (Oracle OCI).
I realize that I could manually add any required paths to the launch config., but it seems
to be that step should be unnecessary since it's all already in my system Path.
Would it not make more sense make the default Launch Configuration work more similarly to
the run.bat where, instead of overriding the Path environment variable,
"bin/native" is appended to it? (Something like
"native;${env_var:Path}"
I think it'd also be more clear what the intent of the "native" value is if
the full Path was specified more explicitly, e.g.
"${jboss_home}/bin/native;${env_var:Path}"
Hopefully this clarifies the situation.
"Path" Environment Variable in Launch Configuration is
overridden with the text "native" by default
---------------------------------------------------------------------------------------------------
Key: JBIDE-10715
URL:
https://issues.jboss.org/browse/JBIDE-10715
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M5
Environment: Windows 7 / Eclipse Indigo SR1 / JBoss 4.2.3
Reporter: Daniel Atallah
Assignee: Rob Stryker
When a new Launch configuration is created for a JBoss 4.2 Runtime server, the
"Environment" tab contains an initial entry for the "Path" variable
with a value of "native".
This causes the Path of the launched process to be overridden and subsequently not work
correctly if you depend on the System Path for anything.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira