Re: How to override logDir for multipleprojects in CruiseControl

Steve Murphy <[email protected]> Thu, 21 Jun 2012 10:05:33 +0100
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi Ravi,

Have you tried not setting logDir at all?

I could be wrong but I thought CruiseControl automatically set the logdir to a folder with the same name as the project.  So under cruisecontrol-2.7.1/logs there will be a folder for each project.

My CruiseControl server runs several projects in parallel and I do not recall having to do anything to get the individual project log folder.  The only mention of logDir I can find in my configuration is for the htmlemail publisher.

Steve

From: Ravi Roy 
Sent: Thursday, June 21, 2012 5:26 AM
To: [email protected] 
Subject: Re: [Cruisecontrol-user] How to override logDir for multipleprojects in CruiseControl


On Thu, Jun 21, 2012 at 9:22 AM, Ravi Roy <[email protected]> wrote:

  Hi List,

  I googled to find the solution or pointers towards my problem but I could not seem to find. 

  My problem :

  I want to build two or more projects in CC in parallel but I can not set the logDir for these projects. I read in the documentation that we can set a common definition for logDir for each project on top level like :

  <property name="cc.logdir" value="logs\${projectname}" />

  and specifically we can override the logDir for each project by defining the property on project level like :

  <property name="cc.logdir" value="customdir" /> 

  But this does not work.

  In case of a single project, I found out that in web.xml "logDir" value is set to "logs" which is perfect. How this works in case of multiple project, I'm clueless.

  Can somebody give some pointers as to how it works?

Sorry, I forgot to mention that, CC version I'm using is 2.7.1.

  Thanks you in advance.

  Note : Kindly keep me in TO or CC of this thread, since I'm not subscribed to this list.

  Regards
  Ravi.





--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ 


--------------------------------------------------------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user