Re: [Ikvm-developers] problem with execution directory
Brought to you by:
jfrijters
|
From: Bruce A. <bru...@te...> - 2007-07-31 13:04:10
|
That's the way assemblies work. You can tell it to looks in other than the GAC and the directory that the original assembly was loaded from through a side-by-side assembly (http://msdn2.microsoft.com/en-us/library/aa376307.aspx), but there's reall= y not the equivalent of a search path. Are all of the classes being loading IKVM assemblies? If so, have you considered compiling them into a single assembly? Andreas Fr=C3=B6hlich wrote: >=20 > I have got a Problem while executing an assembly. It doesnt find the=20 > files which have to be loaded after executing. The search dir is always= =20 > the bin directory from ikvm.... >=20 > Setup: > JavaClass (which is startet) initiates a main execution class from an=20 > assembly. this works fine, but when the assembly tries to load more=20 > classes and config files, it alwas looks only in the binary dir from ikvm= . > I already changed the current dir from the environment objekt after the= =20 > instantiation, but it still looks at the wrong place. > Does anyone know how to force the current working dir to be the place=20 > where the assembly is loaded from? >=20 > regards > Pocket >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers >=20 >=20 --=20 View this message in context: http://www.nabble.com/problem-with-execution-= directory-tf4191984.html#a11923578 Sent from the IKVM .NET - Dev mailing list archive at Nabble.com. |