Friday, July 13, 2007

How to crash/hang PHPEclipse/Subclipse in Windows

  1. Create a new php file
  2. insert the following code


    <?php
    /*
    * Created on Jul 13, 2007
    *
    * To change the template for this generated file go
    * to Window - Preferences - PHPeclipse - PHP - Code
    * Templates
    */
    ?>
    <!DOCTYPE html PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta
    equiv="Content-Type"
    content="text/html; charset=ISO-8859-1">
    <title>Product Info</title>
    </head>
    <body onmouseout="javascript:window.close();">
    Comming soon: some real cool stuff.
    </body>
    </html>

  3. Save file
If anyone can save this code in PHPEclipse without hanging Eclipse in Windows send me your system details. If anyone knows a setting that will prevent this from hanging let me know.