Re: ScriptRunner does not continue if firefox is called with <exec> task

Carlos Vinueza <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <7783992.171257974917359.JavaMail.SYSTEM@4home-carlos>
I found that I need to pkill the firefox process in order to allow CC to continue with the next step in the task. 

Thanks. 
----- Original Message ----- 
From: "Carlos Vinueza" <[email protected]> 
To: [email protected] 
Sent: Wednesday, November 11, 2009 11:44:34 AM GMT -08:00 US/Canada Pacific 
Subject: [Cruisecontrol-user] ScriptRunner does not continue if firefox is called with <exec> task 


I need to run a Selenium test suite in a headless Linux box. My configuration is ok and if I run my ant task manually everything works fine. 

But if I call the task from Cruise Control, it does execute but it never continues to the next step, just the <echo> one in the file below. My simplified ant build file looks like this: 

Any help or idea is appreciated. 

Thanks. 

<?xml version="1.0"?> 
<project name="PortalInstall" basedir="." default="build"> 
<target name="build"> 
<exec executable="firefox"> 
<env key="DISPLAY" value=":99.0"/> 
<arg file="index.html"/> 
</exec> 
<echo>Finishing...</echo> 
</target> 
</project> 

and my project section like this: 

<project name="Firefox-Call"> 
<listeners> 
<currentbuildstatuslistener file="logs/${project.name}/status.txt"/> 
</listeners> 
<modificationset quietperiod="30"> 
<svn localWorkingCopy="projects/Portal-AdminTests"/> 
</modificationset> 
<schedule interval="300"> 
<ant anthome="apache-ant-1.7.0" 
buildfile="projects/${project.name}/buildFirefox.xml"/> 
</schedule> 
<log> 
<merge dir="projects/${project.name}/target/test-results"/> 
</log> 
<publishers>... 
... 
</publishers> 
</project> 


------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july 
_______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.