Skip to content
/ ikvm Public
forked from gluck/ikvm

Clone of CVS repository of IKVM (from Jeroen Frijters)

License

Notifications You must be signed in to change notification settings

tianlian0/ikvm

 
 

Repository files navigation

Clone of CVS repository of IKVM (from Jeroen Frijters).

CVS HEAD is mapped to origin branch.

Commands used for converting/sync'ing:
	rsync -av rsync://ikvm.cvs.sourceforge.net/cvsroot/ikvm/ /tmp/ikvm
	cvsps --norc -z 1200 -x --cvs-direct -x -A --root /tmp/ikvm ikvm > log.txt
	# For the initial push, I manipulated the log to remove useless commit messages,
	#  to cleanup the history a bit...
	git cvsimport -d /tmp/ikvm -v -P log.txt -C ikvm.git -u -z 1200 -A authors -k ikvm


## Build

See HOWTO for the build instructions.  The quick start is

- Install NAnt (https://sourceforge.net/projects/nant/files/nant/0.92/).

**A note on using NAnt**.  If you encounter a System.Security.SecurityException
while running nant, apply the following fix.

From [stackoverflow](https://stackoverflow.com/questions/8605122/how-do-i-resolve-configuration-errors-with-nant-0-91)

> I found that the problem was Windows security related in that the downloaded
> NAnt zip file needed additional security related configuration to be performed:
> before extracting, one must right click on the zip file, select Properties and
> under the General tab, click the button labelled Unblock, the click OK on the
> Properties window.  Now, extract the file to your desired location.

- Must be set to use JDK 8.

- Download ICSharpCode.SharpZipLib.dll (http://www.icsharpcode.net/opensource/sharpziplib/) and copy to the bin folder.

- Download openjdk-8u45-b14 (http://www.frijters.net/openjdk-8u45-b14-stripped.zip) and unpack in the peer folder to ikvm.

- In the root folder run nant.

```nant```

Produces a release build.

```nant -D:debug=true```

Produces a debug build with all. pdb files in the bin folder.

- To produce the strongly named assemblies

Add the ikvm-key.snk to the key container

```sn.exe -i ikvm-key.snk ikvm-key```

And run nant

```nant signed```

## Package NuGet

- build a signed version of the project
- from the nuget directory run these commands
- nant IKVM.nuspec
- nant nupkg
- To publish set your nuget Api key:
````
nuget.exe setApiKey <api key here>
````
- then use nuget push to push nug nuget gallery:
````
nuget.exe push IKVM.WINDWARD.8.5.0.2.nupkg -Source https://api.nuget.org/v3/index.json
````

## build jdk8
sudo yum -y groupinstall "Development Tools"
sudo yum -y install libXtst-devel libXt-devel libXrender-devel cups-devel freetype-devel alsa-lib-devel
sudo yum -y install gcc-c++ kernel-devel
sudo yum -y install fontconfig-devel zip unzip
sudo yum -y install java-1.7.0-openjdk-devel.x86_64
chmod +x ./configure
./configure

About

Clone of CVS repository of IKVM (from Jeroen Frijters)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 55.0%
  • C# 42.5%
  • HTML 1.9%
  • Other 0.6%