문제

In my run.conf file I want to pass in the directory into which jboss is installed as an application variable... so for instance if JBOSS is installed at: /opt/jboss-5.1.0-GA/ I want to pass in:

-Dmyvar=${path above}

But, I want JBOSS to automatically fill in ${path above} with /opt/jboss-5.1.0-GA.

I can't count on the JBOSS_HOME environment variable to be set.

I tried to look this up on The Google, but I didn't exactly know how to word it.

Thanks

도움이 되었습니까?

해결책

If you cant count on JBOSS_HOME, then you will have to explicitly set the variable in run.conf

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top