سؤال

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