Archive for the ‘Development’ Category

Mercurial server on windows IIS

Friday, February 19th, 2010

http://vampirebasic.blogspot.com/2009/06/running-mercurial-on-windows.html

http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdir-on-iis

Good starting point. Comments mention in order to push, have to create windows user, and add them to push list.

Grails: Error starting Sun’s native2ascii

Sunday, February 14th, 2010

Building Blocks » Grails: Error starting Sun’s native2ascii

Found this link when ran into error described. If pointing at JRE, doesn’t work. Have to point at JDK

Batch files and portions of file parameter

Thursday, March 26th, 2009

The following table outlines how you can modify the passed parameter.

Parameter Description
%1 The normal parameter.
%~f1 Expands %1 to a fully qualified pathname. If you passed only a filename from the current directory, this parameter would also expand to the drive or directory.
%~d1 Extracts the drive letter from %1.
%~p1 Extracts the path from %1.
%~n1 Extracts the filename from %1, without the extension.
%~x1 Extracts the file extension from %1.
%~s1 Changes the n and x options’ meanings to reference the short name. You would therefore use
%~sn1 for the short filename and %~sx1 for the short extension.

The following table shows how you can combine some of the parameters.

Parameter Description
%~dp1 Expands %1 to a drive letter and path only.
%~sp1 For short path.
%~nx1 Expands %1 to a filename and extension only.