java -> ikvm -> ilmerge (internalize) -> dll

"Ryan, Brent" <[email protected]> Sun, 21 Dec 2014 21:08:09 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <D0BCA0E9.1A8CB%[email protected]>
One feature of ikvm we’d like to have is the ability to internalize all of the dependencies of the dll we generate via IKVM.  Is this supported or do we still need to put our build process through ILMerge with internalize options to get this?

The main reason we want to do this is that we have 2 or more java projects that we’re spitting out IKVM dll files from and each of these DLLs have some of the same/shared dependencies between them, but these dependencies are only used internally to the DLL and not directly by our C# codebase.  In theory, if we could just internalize these dependencies then these conflicts would go away.

Any recommendations on how to best solve this problem?

The options we’ve come up with so far are: 1) try to extract all of the common stuff into a set of common dll files  2) Try to use extern alias features of C#  3) ILMerge with internalize support.  It seems like option 3 would be the best if it worked.

--
Brent Ryan
Enterprise Architect
skype: brent.ryan
mobile: 480.229.1001

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers