Re: cruisecontol (2.7) working directory

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
By default the cruisecontrol.log is created where you are running CC from.
You should be able to change this by changing the log4j.properties.

So how does it come to know from where to read the config.xml?
>

Because you're using the -configfile option to tell it where to find it?

Jtf


On Mon, Mar 30, 2009 at 11:18 PM, Adil Karampurwala <[email protected]>wrote:

>  Hi,
>
> I have cruistrol intalled in "E:\cruisecontrol" , path for
> cruisecontrol.bat is "E:\cruisecontrol\main\bin". Cruise control working
> directory is "E:\cruisecontrol_builds" were config file is present.
> When I run
> C:\Documents and Settings\serveruser>java
> -Djavax.management.builder.initial=mx4
> j.server.MX4JMBeanServerBuilder
> -Dcc.library.dir=E:\cruisecontrol\main\bin\\..\l
> ib -Dcc.dist.dir=E:\cruisecontrol\main\bin\\..\dist -jar
> E:\cruisecontrol_builds
> \main\dist\cruisecontrol-launcher.jar -lib
> E:\cruisecontrol\main\bin\\..\..\bina
> ryrelease\lib -configfile E:\cruisecontrol_builds\config.xml
>
> it creates log (cruisecontrol.log) in the current directory (C:\Documents
> and Settings\serveruser).
>
> I want logs to be created in cruisecontrol working directory
> (E:\cruisecontrol_builds)
>
>  While running CC "cruisecontrol.bat" is run from
> "E:\cruisecontrol\main\bin" and path for config.xml (in
> "E:\cruisecontrol_builds")  is not passed as argument to "cruisecontrol.bat
> " .
> So how does it come to know from where to read the config.xml?
>
>
> Regards,
>
>
> Adil Karampurwala,
> "Legal Disclaimer: This electronic message and all contents contain
> information from Cybage Software Private Limited which may be privileged,
> confidential, or otherwise protected from disclosure. The information is
> intended to be for the addressee(s) only. If you are not an addressee, any
> disclosure, copy, distribution, or use of the contents of this message is
> strictly prohibited. If you have received this electronic message in error
> please notify the sender by reply e-mail to and destroy the original message
> and all copies. Cybage has taken every reasonable precaution to minimize the
> risk of malicious content in the mail, but is not liable for any damage you
> may sustain as a result of any malicious content in this e-mail. You should
> carry out your own malicious content checks before opening the e-mail or
> attachment."
> www.cybage.com
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


-- 
Build engineering training: http://ci-guys.com/training.php

------------------------------------------------------------------------------

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.