473,503 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 846

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

Similar topics

3
5174
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
3483
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
2216
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
2564
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
4870
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
5566
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
1424
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
1926
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
3144
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
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
382
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.