473,659 Members | 2,662 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 852

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

Similar topics

3
5205
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 up the message "Windows could not start the Service on Local Computer. For more information,...
0
3495
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 ThreadState.Running state. This (apparently??) causes the Thread.Join() in service.OnStop() to hang...
9
2243
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 remoting calls the calls dont get through to the server. The client application makes the call and...
2
2574
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 server and both are under the same domain. The problem has occurred twice over the last two months.
16
4902
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 easily verified: Implement the following in a web service method (just raises a SOAPException with a...
3
5577
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 error messages in the System log: (Event 7000. The <MyService> service failed to start due to the...
0
1430
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
1933
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
3162
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 account, my domain account, or another regular user account, the windows service starts just fine.
0
8427
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8330
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8850
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8523
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6178
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
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 we have to send another system
2
1737
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.