Background: Assume I use the following powershell script from my local machine to automatically map some network drives.
$net = $(New-Object -ComObject WScript.Network);
$net.MapNetworkDrive("p:", "\\papabox\files");
$net = $(New-Object -ComObject WScript.Network);
$net.MapNetworkDrive("q:", "\\quebecbox\files");
## problem -- this on...
I need to access some files on servers from servlet. They have different paths on my development machine and on the deployment server. I would like to put some config file (with paths) somewhere (like shared dir in capistrano deployment) so application could read it. Or maybe set some property on the application server or anything like t...
How do I know whether a syslog daemon which is already running is configured to accept remote packets? I do not have admin privileges. The default setting says NO. I want to know whether it is overridden when the syslogd is started.
...
May I know what is the best practice of using org.apache.commons.logging.LogFactory.getLog?
For me, I use it the following way :
public class A
{
private static final Log log = LogFactory.getLog(A.class);
}
public class B
{
private static final Log log = LogFactory.getLog(B.class);
}
So, if I have 100 of classes, 100 of stat...
I am trying to build Apache 1.3.41 with mod_perl 1.31 for deployment to a Solaris 8 SPARC server. We must use 1.3 for now because of a number of essential applications currently deployed to a very large scale web site.
I am using the new(er) APACI technique as described in the mod_perl install docs but when I look at the compilation com...
Hi
Is it possible to create a MVC website without having to create a MVC web application via Visual Studio? Basically I just want it to be a simple website and not to have to recompile it in VS. I want to develop it as a 'Web Site' on a test server and connect with front page extensions in VS express. If I copy the files from a MVC Appl...
I'm not a WinForms developer, but have been doing ASP.NET for quite some time.
I have to write something in VB.NET that just pushes some simple data to a database.
So I created the VB.NET WinForms app (Visual Studio 2005).
When I run the app it works fine for using:
Dim conMyData As SqlConnection
Dim cmdInsert As SqlCommand
...
In my Xcode project, I'm looking at the "Target Info" window, "Build" tab. In the list of compiler settings, for most of my configurations ("Release", "Distribution", and "Ad Hoc"), there's a settings section called "GCC 4.2 - Preprocessing". When I switch to my "Debug" configuration, that section goes away.
What can I do to make my "De...
I need to set the user variables and settings for every user in a domine when I am configuring the workstation for him.
the settings. are :Advanced performance options- visual effects for best performances
2. Java Auto update option is to be disabled or unchecked
3.in Internet security sttings under Download - Misclanious -DIsply Mixed...
I'm running ruby script/server from the command line and getting
ActiveRecord-JDBC is for use with JRuby only
it then suggests gem install activerecord-jdbcmysql-adapter
but when I try this it says that
(no such file to load -- java) (RuntimeError)
I've tried a fresh install of Rails and reinstalling the gems, but still not joy. A...
I want to handle two kinds of global configuration settings:
Settings which can be altered by the user, like if notification mails for certain events are sent or not.
Settings which are tied to a specific product edition, like disabling a feature in a free version, which is only available in the commercial version.
What's the best w...
I've been waging a bit of a battle with MVC recently, trying to get it deployed and working correctly on my web host server. While the host (ixwebhosting) has been very prompt and efficient at resolving some of the technical difficulties, I'm still encountering odd behaviours around getting the views to render.
Specific issues I've str...
Hi,
When coding systems which use configuration information, it is always a best practice to soft code these on some medium like Xml so these values can be edited without recompiling the entire system.
However, plenty of values like Urls are hard coded and these can change. What's the benefit in coding this way? This obviously reduces ...
Where should I store my Android application's configuration settings? Coming from the .NET world I was expecting something like .config. Do I create a file under res/values, and use that?
...
Hi there,
I've installed VMWare Server on CentOS and have WinXPx64 running under it fine. However I cannot work out how to get the answers I gave to the questions VMware asks when I installed it. To be honest I guessed a few answers, took the default on most and changed a few based on my best judgement. So it might be a bit lucky I g...
Hi,
I am currently setting up a Sql Server Reporting Services onto a Windows 2000 server with IIS5 and SQL Server 2005.
The only thing I cannot get to configure is the Web Service Identity, in that the ASP .NET Service Account is blank and is read only.
I have tried adding the ASP account (machinename\ASPNET) into rsreportserver.config...
my iphone app builds fine in debug configuration, but when i change it to release, i get hundreds of errors, starting with "CoreServices/CoreServices.h: No such file or directory" in AudioFileComponent.h - part of the AudioToolbox framework.
i can't find where in the project/build settings is responsible for this.. thanks for any help.
...
I have a single un-managed C++ console-app solution (.sln) with two projects (.vcproj) both are built as .exe. I want to run them both at the same time (one is a client and one is a server). How do I configure my Visual Studio such that when I hit a single button, say F5, it would be smart enough to run one after another, in the order th...
Are there any patterns or best practices that can be used to simplify changing configuration profiles for java web applications across multiple environments. e.g. JDBC URLs, SOAP end-points, etc.
As a bit of background to help clarify my question, I work with several large java web applications that during any given release cycle move...
Hi,
if I am not wrong, Telelogic Synergy mapped new files to a type depending of their extensions.
If the extension is unknown, the file is by default declare as a base type ascii.
Is it possible to make sure that "unknown" file type end up as binary rather than ascii ?
Thanks,
Thomas
...