Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the format of the Remap XML file for IKVM?

Tags:

xml

ikvm

In this article Jeroen explains an example of using an XML file to remap Java Bean getters and setters to .NET Properties.

What would the XML file look like if I wanted to, say, remap a Java method called showDialog() to ShowDialog() in .NET? Has anyone worked with the remapping option before? Any idea where to get information on how it works other than inspecting the remapper.cs source code?

Edit #1 - Found something that definitely helps a bit: the map.xml file in the OpenJDK folder seems to have the same format.

Edit #2 Ouch. 7 views in 16 hours. :-) I have officially reached the fringes of SO knowledge... ;)

like image 331
Epaga Avatar asked Sep 22 '08 14:09

Epaga


1 Answers

Seems you will have to use MapFileGenerator.java mentioned in the article referred ;-)

More info can be found on BeanInfo here.

like image 78
Lukáš Rampa Avatar answered Sep 23 '22 02:09

Lukáš Rampa