You are trying to access a SQL Server database. It has been setup for integrated authentication. You know this because when you login via a tool like DBArtisan you don’t need to enter a user name or password. Authentication is through Windows itself.
You figure out that you need a specific JDBC url.
For example,
Continue reading →Scenerio:
Using ant to call a taskdef that I created. It should log but needed to get the task to see my log4j.properties files.
In the path definition i put a pathelement who’s location pointed directly at the log4j.properties file. This causes the problem as it seems that Ant tries to open any file on the classpath that isn’t a jar.
Solution
Continue reading →In the directory where you have a collection of tar.gz files.
for FILE in $(ls); do tar -zxvf $FILE; done
Continue reading →
Recently resurrected a project and updated the latest dependencies. When trying to release via the SCP task in Ant it just hung.
I found that the best combination of Ant and Jsch is for now (Oct 08) to be
Ant 1.7.0 and Jsch 0.1.29.
Remember to put Jsch’s jar file in ant’s lib directory.
Continue reading →The other day I was editing a httpd.conf file and wanted to comment a large section. On the server I was using the comment syntax wasn’t setup for these types of files.
So, to quickly accomplish I just needed to set the comment-start variable to “#”.
For example,
M-: (setq comment-start "#") RET
Continue reading →