473,326 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Problem with ccnet service

Hi All

I am using cruise control for continuous integration with clearcase
for this I am using 2 build files, One for cruise control and one for
nant

all this is done according to the documentation provided on
cruisecontrol itself

here is the content of my cruisecontrol build file ( which is watched
and called by ccnet service)

<?xml version="1.0"?>

<project name="OSDE204" default="All" basedir=".">
<description>Builds the Derisk Incoming project</description>
<!-- Property definitions -->
<property name="clearcasePath" value="C:\Program
Files\Rational\ClearCase\bin"/>
<property name="workingDirPath"
value="C:\cruise\views\develop_view\"/>
<target name="All" depends="Update,Run"/>

<target name="Update">
<exec program="cleartool.exe"
basedir="${clearcasePath}\"
workingdir="${workingDirPath}"
commandline="update" />
</target>

<target name="Run">
<nant buildfile="${workingDirPath}\solution.build"/>
</target>

</project>

now this cruise build first calling cleartool command and updating the
view and then it should run the solution.build ( nant build file which
actually builds the project )

The problem is that when I run this cruise.build from command prompt
there is no error and everythign works fine.. but ccnet service is not
able to call my Run Task.

There might be any error in ccnet.config file so I am giving that one
also here
<?xml version="1.0" encoding="utf-8" ?>
<cruisecontrol>

<project name="Test">
<workingDirectory>C:\cruise\views\develop_view</workingDirectory>
<artifactDirectory>C:\cruise\builds\artifacts</artifactDirectory>
<webURL>http://localhost/ccnet/Test</webURL>
<modificationDelaySeconds>60</modificationDelaySeconds>
<!-- above, set to 10 mins -->
<publishExceptions>true</publishExceptions>
<triggers>
<intervalTrigger seconds="60" />
</triggers>
<state type="state" directory="C:\cruise\builds\state" />

<sourcecontrol type="clearCase">
<viewPath>C:\cruise\views\develop_view\Test</viewPath>
<branch>_develop</branch>
<autoGetSource>true</autoGetSource>
<useLabel>false</useLabel>
<useBaseline>false</useBaseline>
<projectVobName>Test</projectVobName>
<viewName>develop_view</viewName>
<executable>cleartool.exe</executable>
<timeout>300000</timeout>
</sourcecontrol>
<nant>
<executable>C:\Program
Files\NAnt\nant-0.85-rc4\bin\nant.exe</executable>
<baseDirectory>C:\cruise\builds</baseDirectory>
<buildFile>cruise.build</buildFile>
<targetList>
<target>All</target>
</targetList>
<buildTimeoutSeconds>30000</buildTimeoutSeconds>
</nant>

<merge>
<files>
<file>C:\cruise\TestResults\*-Result.xml</file>
</files>
</merge>
</project>

</cruisecontrol>

can anyone help? I am sure there is no error in my build files as from
command prompt everythign works exactly fine

Thanks in advance
Akash

Aug 25 '06 #1
0 1413

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David Fraser | last post by:
Hi We are trying to debug a problem with services created using py2exe. It seems that these problems have arisen after services were installed and removed a few times. OK, first the actual...
0
by: David | last post by:
I've written a small windows service, and I'm having a problem that I'm spending a lot more time on than I'd like. If anyone has experienced this problem and has any hints or solutions; they would...
9
by: Sudesh Sawant | last post by:
Hello, We have an application which communicates using remoting. There is a server which is a Windows Service. The server exposes an object which is a singleton. The client is a Web Application...
2
by: epaetz | last post by:
I'm getting Not associated with a trusted SQL Server connection errors on a .Net windows service I wrote, when it's running on my application server. It's not a problem with mixed mode...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
3
by: adasilva | last post by:
I have create a Windows service that uses a timer to access a Web Service. The service is set to start Automatically and its using the local system account. The service also logs events to the...
0
by: softwareakash | last post by:
Hi All I am using cruise control for continuous integration with clearcase for this I am using 2 build files, One for cruise control and one for nant all this is done according to the...
2
by: =?Utf-8?B?aGVsZmk=?= | last post by:
Hi all, I have replied with my own questions to an older post entry but after a while I thought it's better to start a new thread based on the previous one. Perhaps with the new thread I will...
4
by: Dave Burns | last post by:
I am self hosting a Web Service in a Windows service. I am trying to start the service using the NT AUTHORITY\NetworkService account. I get a NullReferenceException on ServiceHost.Open() in the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.