[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can descriptor read system variable?

john_woo@canada.com do-not-reply at jboss.com
Wed Aug 22 14:45:16 EDT 2007


"Kalimero" wrote : You can do something like this:
  | 
  | in you service xml file use the variable "myvar"
  | 
  |   | usage: ${VARNAME}
  |   | 
  |   | eg:
  |   |   <mbean code=".." name="${myvar}">  	
  |   |      ....
  |   |   </mbean>
  |   | 
  | 
  | start jvm:
  | 
  | 
  |   | -Dmyvar=myvalue
  |   | 
  | 
  | hope this idea will help you.
  | 

Thank you. that's it. the syntax in build.xml (windows os) is


BTW, can you tell the syntax in jboss-service.xml, like I want my service deployed depends on ejb.jar?

John


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077007#4077007

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077007



More information about the jboss-user mailing list