incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r882534 - in /incubator/kato/trunk/org.apache.kato: kato.common.142/src/main/java/org/apache/kato/common142/ kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ kato.tck.testsuite.scenario.142/ kato.tck.testsuite.scenario.1...
Date Fri, 20 Nov 2009 12:20:51 GMT
Author: spoole
Date: Fri Nov 20 12:20:49 2009
New Revision: 882534

URL: http://svn.apache.org/viewvc?rev=882534&view=rev
Log:
updated scenario launcher to be better structured and introduced a placebo dump trigger for
testing the scenario configs

Added:
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/PlaceboDumpTrigger.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioAnchor.java
Modified:
    incubator/kato/trunk/org.apache.kato/kato.common.142/src/main/java/org/apache/kato/common142/DumpTrigger.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioElement.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioLauncher.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenerioSetupHandler.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/pom.xml
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/DumpTrigger142.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/test/ant/test.xml
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/pom.xml
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/src/test/ant/test.xml
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/pom.xml
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/src/test/ant/test.xml

Modified: incubator/kato/trunk/org.apache.kato/kato.common.142/src/main/java/org/apache/kato/common142/DumpTrigger.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.common.142/src/main/java/org/apache/kato/common142/DumpTrigger.java?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.common.142/src/main/java/org/apache/kato/common142/DumpTrigger.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.common.142/src/main/java/org/apache/kato/common142/DumpTrigger.java
Fri Nov 20 12:20:49 2009
@@ -21,6 +21,10 @@
 	
 	private DumpTrigger () {
 		String pathName=System.getProperty(libraryPathName);
+		if(pathName==null) throw new RuntimeException("DumpTrigger pathname system property "+libraryPathName+"
is missing");
+		pathName=pathName.trim();
+		if(pathName.equals("")) throw new RuntimeException("DumpTrigger pathname system property
"+libraryPathName+" is empty");
+		
 		System.load(pathName);
 		
 	}

Added: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/PlaceboDumpTrigger.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/PlaceboDumpTrigger.java?rev=882534&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/PlaceboDumpTrigger.java
(added)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/PlaceboDumpTrigger.java
Fri Nov 20 12:20:49 2009
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ ******************************************************************************/
+
+package org.apache.kato.tck.harness.scenario;
+
+import java.io.File;
+import java.io.IOException;
+
+public class PlaceboDumpTrigger implements IDumpTrigger {
+
+	public void dump() {
+		String target=System.getProperty("kato.dump.placebo.location");
+		File dump=null;
+		if(target==null) {
+			dump=new File("kato.dump.placebo");
+		}
+		else {
+			File root=new File(target);
+			dump=new File(root,"kato.dump.placebo");
+		}
+		System.out.println("Placebo Dump Triggered to "+dump.getAbsolutePath());
+		
+		try {
+			dump.createNewFile();
+		} catch (IOException e) {
+			throw new RuntimeException(e);
+			
+		}
+		
+	}
+
+}

Added: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioAnchor.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioAnchor.java?rev=882534&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioAnchor.java
(added)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioAnchor.java
Fri Nov 20 12:20:49 2009
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ ******************************************************************************/
+package org.apache.kato.tck.harness.scenario;
+
+/**
+ * A static class used by the scenerio setup process to find the current setup handler
+ * 
+ * 
+ *
+ */
+public class ScenarioAnchor {
+
+	private static IScenerioSetupHandler handler=null;
+
+	public static IScenerioSetupHandler getHandler() {
+		return handler;
+	}
+	
+	public static void setHandler(IScenerioSetupHandler newHandler) {
+		
+		handler=newHandler;
+	}
+	
+	/**
+	 * Anchors the provided object in a static list so that
+	 * it cannot be garbage collected.
+	 * 
+	 * The objects configuration methods are executed according to 
+	 * the contract described by IScenarioElement
+	 * 
+	 * @param o object to configure
+	 */
+	public void register(ScenarioElement o) {
+
+		
+		handler.execute(o);
+	}
+
+}

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioElement.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioElement.java?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioElement.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioElement.java
Fri Nov 20 12:20:49 2009
@@ -21,10 +21,10 @@
  */
 public class ScenarioElement {
 
-	private ScenarioLauncher launcher=ScenarioLauncher.getDefaultLauncher();
+	private IScenerioSetupHandler handler=ScenarioAnchor.getHandler();
 	
 	public  ScenarioElement() {
 	
-		launcher.register(this);
+		handler.execute(this);
 	}
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioLauncher.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioLauncher.java?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioLauncher.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenarioLauncher.java
Fri Nov 20 12:20:49 2009
@@ -51,11 +51,10 @@
 	 */
 	private static final String DUMPTRIGGER = "dumptrigger";
 
-	private static ScenarioLauncher defaultLauncher = new ScenarioLauncher();
 	
-	private IScenerioSetupHandler handler=null;
-	private IDumpTrigger trigger=null;
 	
+	private IScenerioSetupHandler handler=null;
+	private List classestoload=null;
 	
 	private ScenarioLauncher() {
 		
@@ -91,9 +90,7 @@
 		return options;
 		
 	}
-	public static ScenarioLauncher getDefaultLauncher() {
-		return defaultLauncher;
-	}
+	
 	/**
 	 * Load a class by name
 	 * 
@@ -116,11 +113,29 @@
 	 */
 	public static void main(String[] args) {
 		
-		ScenarioLauncher l = getDefaultLauncher();
+		ScenarioLauncher l = new ScenarioLauncher();
 		try {
-			if (l.setup(args) == false) {
+		IScenerioSetupHandler handler=l.createHandler(args);
+		if(handler==null) {
 			System.exit(-1);
-			}
+		}
+		
+		ScenarioAnchor.setHandler(handler);
+		
+		handler.open();
+		
+		// instantiate objects which will call back 
+		// to handler to configure or setup
+		
+		l.executeScenarioSetup();
+		
+		System.out.println(handler.getStatus());
+		
+		handler.close();
+		
+		
+		
+		
 		} catch(Throwable t) {
 			t.printStackTrace();
 			l.printHelp();
@@ -128,8 +143,6 @@
 			System.exit(-2);
 		}
 		
-		System.out.println(l.getHandler().getStatus());
-		l.dump();
 		
 		System.exit(0);
 
@@ -140,46 +153,12 @@
 
 	
 
-	
-	/**
-	 * 
-	 */
-	private void dump() {
-		trigger.dump();
-		
-	}
-	/**
-	 * @return
-	 */
-	private IScenerioSetupHandler getHandler() {
-		return handler;
-	}
-
-
-
-
-
 
 	private Options options = null;
 
 	
 
-	/**
-	 * Anchors the provided object in a static list so that
-	 * it cannot be garbage collected.
-	 * 
-	 * If the object is an instance of IScenarioElement then
-	 * the objects configuration methods are executed according to 
-	 * the contract decribed by IScenarioElement
-	 * 
-	 * @param o object to configure
-	 */
-	public void register(ScenarioElement o) {
-
-		
-		handler.execute(o);
-	}
-
+	
 	/**
 	 * Reports error and displays launcher instructions
 	 * 
@@ -198,7 +177,7 @@
 	 * thread element configurator
 	 **/
 
-	private boolean executeScenarioSetup(List classestoload) {
+	private boolean executeScenarioSetup() {
 
 		
 
@@ -239,7 +218,7 @@
 	 * 
 	 * @return true or false depending on configuration status
 	 */
-	private boolean setup(String[] args) {
+	private IScenerioSetupHandler createHandler(String[] args) {
 
 		options = buildOptions();
 
@@ -252,11 +231,11 @@
 			if (line.hasOption(CLASS) == false
 					&& line.hasOption("scenario") == false) {
 				error("at least one of -scenario or -class must be specified");
-				return false;
+				return null;
 
 			} else {
 				// all good so far get classes
-				List classestoload = new LinkedList();
+				classestoload = new LinkedList();
 
 				Option[] parms = line.getOptions();
 
@@ -271,7 +250,7 @@
 						if (clazz == null) {
 							error("unable to locate scenario class "
 									+ clazzname + " to match scenario " + value);
-							return false;
+							return null;
 						}
 						classestoload.add(clazz);
 
@@ -280,7 +259,7 @@
 						Class clazz = loadScenarioClass(value);
 						if (clazz == null) {
 							error("unable to locate class called " + value);
-							return false;
+							return null;
 						}
 						classestoload.add(clazz);
 					}
@@ -291,8 +270,12 @@
 				
 				String mode = line.getOptionValue(MODE2);
 				if (mode.equals("run")) {
-					handler=new ScenerioSetupHandler();
 					
+					// 	do we have the dump trigger class?
+					IDumpTrigger trigger=instantiateTriggerClass(line.getOptionValue(DUMPTRIGGER));
+					if(trigger==null) return null; // error already reported
+					
+					handler=new ScenerioSetupHandler(trigger);
 					
 					
 				}
@@ -308,24 +291,13 @@
 				}
 				else {
 					error("mode option is neither run or config");
-					return false;
+					return null;
 				}
 				
-				// 	do we have the dump trigger class?
-				
-				if(instantiateTriggerClass(line.getOptionValue(DUMPTRIGGER))==false) return false;
-				
-				handler.open();
 				
-				// instantiate objects which will call back 
-				// to handler to configure or setup
-				
-				executeScenarioSetup(classestoload);
-				
-				handler.close();
-				
-				return true;
+				return handler;
 				
+								
 			}
 
 		} catch (Exception exp) {
@@ -340,20 +312,20 @@
 	 * the default trigger class for the JVM level is used
 	 * 
 	 * @param triggerName
-	 * @return true if trigger instantiated
+	 * @return trigger instantiated
 	 */
-	private boolean instantiateTriggerClass(String triggerName) {
+	private IDumpTrigger instantiateTriggerClass(String triggerName) {
 		triggerName=getTriggerClassName(triggerName);
 		if(triggerName==null) {
 			error("cannot locate trigger class called "+triggerName);
-			return false;
+			return null;
 		}
-		trigger=loadTriggerClass(triggerName);
+		IDumpTrigger trigger=loadTriggerClass(triggerName);
 		if(trigger==null) {
 			error("cannot instantiate trigger class called "+triggerName);
-			return false;
+			return null;
 		}
-		return true;
+		return trigger;
 	}
 	/**
 	 * @param optionValue

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenerioSetupHandler.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenerioSetupHandler.java?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenerioSetupHandler.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/scenario/ScenerioSetupHandler.java
Fri Nov 20 12:20:49 2009
@@ -32,6 +32,11 @@
 
 	private CheckPointHandler checkpointhandler = new CheckPointHandler();
 	private List scenarioElements = new LinkedList();
+	private IDumpTrigger trigger=null;
+	
+	public ScenerioSetupHandler(IDumpTrigger trigger) {
+		this.trigger=trigger;
+	}
 
 	/**
 	 * Configure an instance of IScenarioElement
@@ -74,7 +79,7 @@
 				e.printStackTrace();
 			}
 		}
-		
+		trigger.dump();
 	}
 
 	/* (non-Javadoc)

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/pom.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/pom.xml Fri Nov 20
12:20:49 2009
@@ -51,6 +51,7 @@
 							<tasks>
 								<ant antfile="test.xml" dir="src/test/ant">
 									<property name="path" refid="maven.runtime.classpath" />
+									<property name="kato.dump.placebo.location" location="${project.build.directory}"/>
 								</ant>
 							</tasks>
 						</configuration>
@@ -81,6 +82,11 @@
   			<artifactId>kato.tck.harness</artifactId>
   			<version>M1-incubating</version>
   		</dependency>
+  		<dependency>
+  		 <groupId>org.apache.kato</groupId>
+  		 <artifactId>kato.common.142</artifactId>
+  		  <version>M1-incubating</version>
+  		</dependency>
   	</dependencies>
 	
 </project>

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/DumpTrigger142.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/DumpTrigger142.java?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/DumpTrigger142.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/DumpTrigger142.java
Fri Nov 20 12:20:49 2009
@@ -13,12 +13,13 @@
  ******************************************************************************/
 package org.apache.kato.tck.scenario142;
 
+import org.apache.kato.common142.DumpTrigger;
 import org.apache.kato.tck.harness.scenario.IDumpTrigger;
 
 public class DumpTrigger142 implements IDumpTrigger{
 
 	public void dump() {
-		System.out.println("BOOM");
+		DumpTrigger.triggerDump();
 		
 	}
 

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/test/ant/test.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/test/ant/test.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/test/ant/test.xml
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.142/src/test/ant/test.xml
Fri Nov 20 12:20:49 2009
@@ -4,9 +4,10 @@
 			<classpath path="${path}" />
 		</taskdef>
 	<target name="test">
-		<tcksetup dumptrigger="org.apache.kato.tck.scenario142.DumpTrigger142">
+		<tcksetup dumptrigger="org.apache.kato.tck.harness.scenario.PlaceboDumpTrigger">
 			<classpath path="${path}" />
 			<scenario name="142"/>
+			<jvmarg value="-Dkato.dump.placebo.location=${kato.dump.placebo.location}"/>
 		</tcksetup>
 		
 	</target>

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/pom.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/pom.xml Fri Nov 20
12:20:49 2009
@@ -51,6 +51,7 @@
 							<tasks>
 								<ant antfile="test.xml" dir="src/test/ant">
 									<property name="path" refid="maven.runtime.classpath" />
+									<property name="kato.dump.placebo.location" location="${project.build.directory}"/>
 								</ant>
 							</tasks>
 						</configuration>

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/src/test/ant/test.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/src/test/ant/test.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/src/test/ant/test.xml
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/src/test/ant/test.xml
Fri Nov 20 12:20:49 2009
@@ -4,10 +4,11 @@
 			<classpath path="${path}" />
 		</taskdef>
 	<target name="test">
-		<tcksetup dumptrigger="org.apache.kato.tck.scenario150.DumpTrigger150">
-			<classpath path="${path}" />
-			<scenario name="150"/>
-		</tcksetup>
-		
+		<tcksetup dumptrigger="org.apache.kato.tck.harness.scenario.PlaceboDumpTrigger">
+					<classpath path="${path}" />
+					<scenario name="150"/>
+					<jvmarg value="-Dkato.dump.placebo.location=${kato.dump.placebo.location}"/>
+				</tcksetup>
+				
 	</target>
 </project>
\ No newline at end of file

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/pom.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/pom.xml Fri Nov 20
12:20:49 2009
@@ -52,6 +52,7 @@
 							<tasks>
 								<ant antfile="test.xml" dir="src/test/ant">
 									<property name="path" refid="maven.runtime.classpath" />
+									<property name="kato.dump.placebo.location" location="${project.build.directory}"/>
 								</ant>
 							</tasks>
 						</configuration>

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/src/test/ant/test.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/src/test/ant/test.xml?rev=882534&r1=882533&r2=882534&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/src/test/ant/test.xml
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.160/src/test/ant/test.xml
Fri Nov 20 12:20:49 2009
@@ -5,10 +5,12 @@
 		</taskdef>
 	<target name="test">
 		<echo>${path}</echo>
-		<tcksetup dumptrigger="org.apache.kato.tck.scenario160.DumpTrigger160">>
-			<classpath path="${path}" />
-			<scenario name="160"/>
-		</tcksetup>
+		<tcksetup dumptrigger="org.apache.kato.tck.harness.scenario.PlaceboDumpTrigger">
+					<classpath path="${path}" />
+					<scenario name="160"/>
+					<jvmarg value="-Dkato.dump.placebo.location=${kato.dump.placebo.location}"/>
+				</tcksetup>
+				
 		
 	</target>
 </project>
\ No newline at end of file



Mime
View raw message