Re: [Ikvm-developers] Classpath !!!
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-09-10 04:45:50
|
Steve Severance wrote: > Is there a way with recurse to assign them to specific names? The > application is expecting the classpath name to be webapps. I tried > using the wildcard with the -resource but that says that it is an > illegal character. > If I specify just the directory then it says that access is denied, > although I assume that is another way of saying that you can't pick a > directory. > Another although less desirable option would be to change the resource > name manually later. The trick is to put all the resources in a separate directory. So for examp= le: resources\webapps\images\foo.jpg resources\webapps\docs\blah.html Now you can use "-recurse:resouces\*" to include all those resources with t= he proper name. Alternatively, you can also create a jar file with the resources and pass t= hat jar file to ikvmc. All non-class files in a jar are automatically inclu= ded as resources in the assembly. Regards, Jeroen |