Eclipse CRLF and File Encoding
If you are sharing a project which would be edited both in Windows and Unix systems, then its best to set the New text file line delimiter settings for eclipse to Unix. To do this Open Eclipse preferences from Windows->Preferences. Navigate to General -> Workspace and then for the “New text file line delimiter” choose radio button “Other” and from the list select “Unix”. Also since eclipse by default is not using file encoding UTF-8, its best to set that also while you are doing this. Under “Text file encoding” choose radio button “Other” and from the list select “UTF-8”.
Apache Ant target execute based on condition
To execute an Ant target based on condition, use the “if” attribute of the target,
if the module-A-present property is set (to any value, e.g. false), the target will be run.
http://ant.apache.org/manual/targets.html#targets
As of Ant 1.8.0, you may instead use property expansion; a value of true (or on or yes) will enable the item, while false (or off or no) will disable it. Other values are still assumed to be property names and so the item is enabled only if the named property is defined.
Internet Explorer min-width CSS property does not work
If the min-width property does not work in Internet Explorer
http://www.w3schools.com/cssref/pr_dim_min-width.asp
check if your html has DOCTYPE setup.
min-width details from MSDN site - http://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx states that>This property is enabled only under the strict !DOCTYPE.
Wubi 8.04, errors while installing
While running Wubi.exe got from Ubuntu 8.04.4 LTS (Hardy Heron) download page http://releases.ubuntu.com/8.04/,
The error shown in screenshot occurs.
The problem seems to be because of mismatch between Wubi.exe and download URLs in http://releases.ubuntu.com/8.04/. To solve this problem download the Wubi.exe for 8.04 from Wubi SourceForge site http://sourceforge.net/projects/wubi/files/Wubi/
Steps to start Tomcat windows service in Debug mode
*Change Directory under Tomcat bin folder C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin
*Run tomcat7w.exe
*Under Java/ Java Options, enter lines above all the -D options -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n Make sure the above 2 lines are in separate lines
REferences - http://wiki.apache.org/tomcat/FAQ/Developing#Q1