Skip to main content

Posts

Showing posts from May, 2009

Building IKVM Source

Building IKVM Source

Setup

1. Download IKVM source code from http://sourceforge.net/project/showfiles.php?group_id=69637
2. Download classpath-0.95 from (http://www.frijters.net/classpath-0.95-stripped.zip)
3. Download openjdk6-b12 from (http://www.frijters.net/openjdk6-b12-stripped.zip)

Unzip openjdk6-b12 and classpath-0.95 into the unzipped IKVM Source. For example

ikvm-0.38.0.2
--- classpath-0.95
--- openjdk6-b12

Tool required (Other version of these tools might work) :-

1. Nant (i used 0.86 Beta1)

2. JDK 1.6 Update 13 (or lower)

3. VS 2008 or 2005

4. .Net Framework in particular (cl - vc compiler, ilasm)


To Compile
----------------------------------
1. Run nant to compile the required assembly

2. Use VS2008 to build IKVM source (CTRL + Shift + B)

That's it.

Example JQuery event when posting Form using multipart/form-data

JQuery event to use once your form is fully posted to the server


$(document).ready(function()
{
$("#target_upload").load(function ()
{
//// Put in code to execute after the iframe is loaded or posted ////
});

});

Sample of your Form :-


<form id="uploadPhotoFrm" enctype="multipart/form-data" action="upLoaderPhoto.php" method="POST" onsubmit="return true;" target="target_upload">

<iframe id='target_upload' name='target_upload' src='' style='width:1px;height:1px;border:0'></iframe>

<li> <input id="uploadedfile" type="file" title="Upload a file to showcase your portfolio" size="20" name="uploadedfile"/>
</li>

<li> <input type="submit" name="subBtn" class="standardButton" value="Upload" onclick="uploadImageCmd();">…