[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] Headless mode: how to launch processes?
From:       boraldo <boraldo () hotbox ! ru>
Date:       2008-10-28 9:23:05
Message-ID: 20203770.post () talk ! nabble ! com
[Download RAW message or body]


It's very strange but when I used absolute path in grinder.script everything
started to work !!

boraldo wrote:
> 
> If I understand properly:
> 		ConsoleConnectionFactory consoleConnectionFactory = new
> ConsoleConnectionFactory();
> 		ConsoleConnection connection =
> consoleConnectionFactory.connect("localhost", 6372);
> 		String propertiesFileName =
> "C:/develop/grinder-3.1/workspace/console/grinder.properties";
> 		File propertiesFile = new File(propertiesFileName); 
> 		GrinderProperties grinderProperties = new
> GrinderProperties(propertiesFile);
> 		connection.startWorkerProcesses(grinderProperties);
> 		connection.close();
> 
> But when I launch it:
> 
> 25.10.08 15:23:20 (agent): received a start message
> 25.10.08 15:23:20 (agent): The Grinder 3.1
> 25.10.08 15:23:20 (agent): The script file
> 'C:\develop\grinder-3.1\workspace\con
> sole\my.py' does not exist or is not readable.
> 25.10.08 15:23:20 (agent): finished, waiting for console signal
> 
> I swear that C:\develop\grinder-3.1\workspace\console\my.py does exist !!
> 
> What I did wrong ?
> 

-- 
View this message in context: \
http://www.nabble.com/Headless-mode%3A-how-to-launch-processes--tp20163294p20203770.html
 Sent from the Grinder - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic