This content has been marked as final.
Show 2 replies
-
1. Re: use byteman.sh -l failed
adinn Oct 27, 2011 4:22 AM (in response to swimablefish)Hi Swimable,
swimablefish wrote:
Hi, when i use "byteman.sh AppMain3 -l test2.btm", the test2.btm didn't been installed. bmsubmit.sh showed no rule installed, and then use "bmsubmit.sh -l test2.btm", the rule would be installed successfully.
Hmm, I assume you mean bmjava.sh rather than byteman.sh?
If that is the case then the problem here is that you have passed the -l argument to the Java main method of AppMain3 rather than to bmjava. You need this
bmjava.sh -l test2.btm AppMain3
-
2. Re: use byteman.sh -l failed
swimablefish Oct 27, 2011 6:21 AM (in response to adinn)Yes, the argument should be in front of AppMain3,