Re: [Ikvm-developers] scanning jars for class files
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2013-02-14 16:35:31
|
> 1) What would be the path to Foo.class ? Where does IKVM expect it to > be? The file is read in by ikvmc and put into the assembly's resource jar. > 2) I would not know ahead of time which classes need to be available as > resources. It's potentially any class on the classpath, so it's > basically everything in all the jars I pass to ikvmc. That's sort of > the point of what Spring is doing: you give it a base package at runtime > and it finds all the classes wherever they may be. Are you suggesting > that at build time, I write something to iterate over all the jars and > build an index of all the classes so that I can set them all as > resources in ikvmc? Yes. > 3) What is a response file? A text file that contains ikvmc parameters (one per line). This allows you to have a large number of parameters. You pass it to ikvmc by using the @response.txt option (where response.txt is the filename). Regards, Jeroen |