woolfel     2004/01/13 20:28:38

  Modified:    src/core/org/apache/jmeter JMeter.java
  Log:
  When JMeter is started in NonGui mode, it now sets System
  properties, so samplers can pick it up. Without this, it was a
  bit tricky to figure when webservice sampler should use
  proxy.
  
  peter lin
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.26      +4 -1      jakarta-jmeter/src/core/org/apache/jmeter/JMeter.java
  
  Index: JMeter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/JMeter.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- JMeter.java       8 Jan 2004 03:39:09 -0000       1.25
  +++ JMeter.java       14 Jan 2004 04:28:38 -0000      1.26
  @@ -502,6 +502,9 @@
               ClassNotFoundException,
               InstantiationException
       {
  +     // add a system property so samplers can check to see if JMeter
  +     // is running in NonGui mode
  +             System.setProperty("JMeter.NonGui","true");     
           JMeter driver = new JMeter();
           PluginManager.install(this, false);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to