configuration

Can I parameterize a CruiseControl.NET project configuration such that the parameters are exposed by the web interface?

六眼飞鱼酱① 提交于 2020-02-05 03:26:06
问题 I am currently trying to use NAnt and CruiseControl.NET to manage various aspects of my software development. Currently, NAnt handles just about everything, including replacing environment specific settings (e.g., database connection strings) based on an input target that I specify on the command line. CruiseControl.NET is used to build the application for the default environment (dev) anytime new code is committed. I also want CruiseControl.NET to invoke a build for my additional

Is there any way to change the Celery config programmatically, after app init?

好久不见. 提交于 2020-02-04 06:23:42
问题 I have set up a testing environment where I have Celery workers actually running in other processes, so that the full functionality of my system with Celery can be tested. This way, tasks actually run in a worker process and communicate back to the test runner, and so I don't need CELERY_ALWAYS_EAGER to test this functionality. That being said, in some situations I have tasks which trigger off other tasks without caring when they finish, and I'd like to create tests which do - that is, to

Is there any way to change the Celery config programmatically, after app init?

梦想与她 提交于 2020-02-04 06:22:49
问题 I have set up a testing environment where I have Celery workers actually running in other processes, so that the full functionality of my system with Celery can be tested. This way, tasks actually run in a worker process and communicate back to the test runner, and so I don't need CELERY_ALWAYS_EAGER to test this functionality. That being said, in some situations I have tasks which trigger off other tasks without caring when they finish, and I'd like to create tests which do - that is, to

Visual Studio 2015 : SQL Data Source : Unable to retrieve schema. Ensure that the ConnectionString and SelectCommand properties are valid

喜夏-厌秋 提交于 2020-02-04 01:25:44
问题 I have the following development environment for ASP.Net WebPage VS 2015 Professional Version, using .Net Framework 4.0 MySQL Server 5.6, MySQL .Net Connector 6.9.5 MySQL for Visual Studio 2.0.2 I am able to connect to the MySQL database server from Visual Studio Server Explorer. I am trying to create a SQL DataSource for MySQL Database. When I go through the configure data source wizard, it works fine by populating the tables and columns for each table in "Configure Select Statement form",

Visual Studio 2015 : SQL Data Source : Unable to retrieve schema. Ensure that the ConnectionString and SelectCommand properties are valid

不羁的心 提交于 2020-02-04 01:25:10
问题 I have the following development environment for ASP.Net WebPage VS 2015 Professional Version, using .Net Framework 4.0 MySQL Server 5.6, MySQL .Net Connector 6.9.5 MySQL for Visual Studio 2.0.2 I am able to connect to the MySQL database server from Visual Studio Server Explorer. I am trying to create a SQL DataSource for MySQL Database. When I go through the configure data source wizard, it works fine by populating the tables and columns for each table in "Configure Select Statement form",

config file in schedule.rb with Rails Whenever gem?

允我心安 提交于 2020-02-02 11:17:27
问题 I have a file called config.yml in my /config folder of my rails application. I also have an initializer: config/initializers/load_config.rb with the following code: APP_CONFIG = YAML.load_file("#{RAILS_ROOT}/config/config.yml") I am using the Whenever gem to set up a cron job, and would like to use my APP_CONFIG to call a function like so: #inside schedule.rb every 2.hours do runner "MyModel.someMethod('#{APP_CONFIG['some_value']}')" end but the Whenever gem doesn't seem to recognize the

Trouble with OpenCV setup on Visual Studio

倖福魔咒の 提交于 2020-01-30 11:42:25
问题 I'm trying to setup a simple OpenCV project using Microsoft Visual Studio 2008 in a 64-bit Windows 7 system. I don't have admin rights to the system and as such, I can't go for a fresh installation of OpenCV here. However, I do have the bin, include and lib directories of OpenCV, compiled on a simillar platform. I have launched a 'Visual C++ -> General -> Empty Project' and created a .cpp file which reads: #include <opencv/cv.h> #include <opencv/highgui.h> void main() { cv::Mat frame = cv:

How do I process .asp extensions using the .Net handler?

被刻印的时光 ゝ 提交于 2020-01-30 10:53:17
问题 I have an older classic ASP website that I am migrating over to IIS7.5. I don't feel like installing classic ASP on the server, and so I just want the .asp files to be treated as if they were .aspx files. How do I go about doing this in IIS7.5? EDIT: To clarify, I am NOT asking how to get classic ASP code to work under .Net. I am just asking how to map the .ASP file extension to be handled by the .net runtime. I will upgrade the code in the .asp files to .net. EDIT: I gave up and ended up

Log4j2 Custom appender: ERROR Attempted to append to non-started appender

一笑奈何 提交于 2020-01-30 05:00:35
问题 I have created a custom appender in log4j2. While using the custom appender, I am getting the following error: "ERROR Attempted to append to non-started appender". Any help is appreciated. 回答1: Log4j 2 checks for each log event that the appender is in a useable state. The error you are seeing is that Log4j detects that the appender is not ready to be used. Some appenders need to do preparation before they can be used. The start() lifecycle method is the place where appenders can do

Setting up line-height via TinyMCE

时间秒杀一切 提交于 2020-01-27 08:29:04
问题 Is there a way to give user possibility to easily changing line-height attribute of paragraph in tinyMCE editor? Something like its native "Font size" or "Format" <select> or anything else. I know I can use "edit CSS" functionality and set it up there. I'm looking for something more user-friendly. I can't find it anywhere. 回答1: As per my comment, Someone else was experiencing an issue similar to yours and a member of the TinyMCE forums provided a solution: http://www.tinymce.com/forum