Search Results
OK to copy?
Examples 1 through 10 of
58 (0.0 seconds)
Class:
org.apache.jmeter.junit.JMeterTestCase
©,
Rating:
100% of 1,
C1
Class: org.apache.catalina.startup.CatalinaProperties ©, Rating: 0% of 0, C3
Class: org.springframework.util.Log4jConfigurer ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.NewDriver ©, Rating: 100% of 1, C3
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C1
Class: org.apache.naming.resources.DirContextURLStreamHandler ©, Rating: 0% of 0, C1
Class: org.apache.naming.resources.DirContextURLStreamHandler ©, Rating: 0% of 0, C1
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C1
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C1
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C2
063 file="bin/"+file;// JMeterUtils assumes Unix-style separators
064 // Also need to set working directory so test files can be found
065 System.setProperty("user.dir",System.getProperty("user.dir")+File.separatorChar+"bin");
066 System.out.println("Setting user.dir="+System.getProperty("user.dir"));
067 filePrefix="bin/";
Class: org.apache.catalina.startup.CatalinaProperties ©, Rating: 0% of 0, C3
133 String value = properties.getProperty(name);
134 if (value != null) {
135 System.setProperty(name, value);
136 }
137 }
Class: org.springframework.util.Log4jConfigurer ©, Rating: 0% of 0, C1
135 */
136 public static void setWorkingDirSystemProperty(String key) {
137 System.setProperty(key, new File("").getAbsolutePath());
138 }
139
Class: org.apache.jmeter.NewDriver ©, Rating: 100% of 1, C3
123 }
124
125 System.setProperty(
126 "java.class.path",
127 System.getProperty("java.class.path") + classpath.toString());
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C1
159 {
160 File conf = new File(jmDir, "bin" + File.separator + "log4j.conf");
161 System.setProperty("log4j.configuration", "file:" + conf);
162 }
163
Class: org.apache.naming.resources.DirContextURLStreamHandler ©, Rating: 0% of 0, C1
103 } else if (value.indexOf(Constants.Package) == -1) {
104 value += "|" + Constants.Package;
105 System.setProperty(Constants.PROTOCOL_HANDLER_VARIABLE, value);
106 }
107 }
Class: org.apache.naming.resources.DirContextURLStreamHandler ©, Rating: 0% of 0, C1
100 if (value == null) {
101 value = Constants.Package;
102 System.setProperty(Constants.PROTOCOL_HANDLER_VARIABLE, value);
103 } else if (value.indexOf(Constants.Package) == -1) {
104 value += "|" + Constants.Package;
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C1
196
197 System.setProperty(Context.URL_PKG_PREFIXES, oldUrlValue);
198 System.setProperty(Context.INITIAL_CONTEXT_FACTORY, oldIcValue);
199
200 } catch (Throwable t) {
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C1
195 try {
196
197 System.setProperty(Context.URL_PKG_PREFIXES, oldUrlValue);
198 System.setProperty(Context.INITIAL_CONTEXT_FACTORY, oldIcValue);
199
Class: org.apache.naming.NamingService ©, Rating: 0% of 0, C2
151 oldIcValue = oldValue;
152 } else {
153 System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
154 Constants.Package
155 + ".java.javaURLContextFactory");