473,569 Members | 2,762 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>Bu ilds the Derisk Incoming project</description>
<!-- Property definitions -->
<property name="clearcase Path" value="C:\Progr am
Files\Rational\ ClearCase\bin"/>
<property name="workingDi rPath"
value="C:\cruis e\views\develop _view\"/>
<target name="All" depends="Update ,Run"/>

<target name="Update">
<exec program="cleart ool.exe"
basedir="${clea rcasePath}\"
workingdir="${w orkingDirPath}"
commandline="up date" />
</target>

<target name="Run">
<nant buildfile="${wo rkingDirPath}\s olution.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" ?>
<cruisecontro l>

<project name="Test">
<workingDirecto ry>C:\cruise\vi ews\develop_vie w</workingDirector y>
<artifactDirect ory>C:\cruise\b uilds\artifacts </artifactDirecto ry>
<webURL>http://localhost/ccnet/Test</webURL>
<modificationDe laySeconds>60</modificationDel aySeconds>
<!-- above, set to 10 mins -->
<publishExcepti ons>true</publishExceptio ns>
<triggers>
<intervalTrigge r seconds="60" />
</triggers>
<state type="state" directory="C:\c ruise\builds\st ate" />

<sourcecontro l type="clearCase ">
<viewPath>C:\cr uise\views\deve lop_view\Test</viewPath>
<branch>_develo p</branch>
<autoGetSource> true</autoGetSource>
<useLabel>false </useLabel>
<useBaseline>fa lse</useBaseline>
<projectVobName >Test</projectVobName>
<viewName>devel op_view</viewName>
<executable>cle artool.exe</executable>
<timeout>300000 </timeout>
</sourcecontrol>
<nant>
<executable>C:\ Program
Files\NAnt\nant-0.85-rc4\bin\nant.ex e</executable>
<baseDirectory> C:\cruise\build s</baseDirectory>
<buildFile>crui se.build</buildFile>
<targetList>
<target>All</target>
</targetList>
<buildTimeoutSe conds>30000</buildTimeoutSec onds>
</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 1428

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

Similar topics

3
5188
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 problem we're seeing. After compiling a service with py2exe, running "service -install" and attempting to start it from the Services dialog, it pops...
0
3489
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 be appreciated. Simply leaving the threadMain() method if something unexpected occurs during thread execution leaves the thread in a...
9
2230
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 which makes calls to the service. We are using tcp channel which is using binaryformatter by default. The problem is that after a certain number of...
2
2568
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 security. I'm set for mixed mode and I've been running the service on the app server for over a month with no problem. My database is running on a second...
16
4882
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 Microsoft must be installed on their servers. Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses. This can be...
3
5572
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 event viewer and the Event viewer is set to overwrite events as needed. The problem is that when I boot the PC the service does not start and I got two...
0
850
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 documentation provided on cruisecontrol itself here is the content of my cruisecontrol build file ( which is watched
2
1930
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 catch more eyes and find someone who had the same problem and solved it or has more information about it. This is a summary of my problem:
4
3157
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 ServiceBase.OnStart() method. SCM throws a 1067 error as well. I get the same problem with NT AUTHORITY\LocalService. When I use the LocalSystem...
0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.