[Ikvm-developers] Classpath !!!
Brought to you by:
jfrijters
|
From: Steve S. <st...@me...> - 2007-09-08 02:10:04
|
Thanks for the replies. Is it possible to specify a directory such that all
contents and sub directories will be included? The webapps directory
contains data for several different webpages. Do I have to specify each
file? Thanks,
Steve
From: ikv...@li...
[mailto:ikv...@li...] On Behalf Of
Christophe Faure
Sent: Monday, September 03, 2007 2:24 AM
To: ikv...@li...
Subject: Re: [Ikvm-developers] Classpath !!!
Jeroen Frijters wrote:
Steve Severance wrote:
I am converting a large opensource project the .net from java.
I have some of it working but I am having issues with the classpath.
The project includes an integrated webserver (I have all the
appropriate libraries converted and referenced) for providing
information about that systems status. The webserver loads its data
from the webapps directory which I assume corresponds to the resource
webapps. I have unable to figure out how to appropriately point to this
resource. The class loader does not find it. Am I missing something?
With this little information it's hard to know what's going on, but given
the subject I'm guessing that your trying to use the classpath environment?
The classpath isn't used by ikvmc compiled code. So if you want to load
resources from ikvmc compiled code, you have to include in the generated
assembly (e.g. by using the ikvmc -recurse or -resource options).
Regards,
Jeroen
Hi all.
YES some people use classpath to load property file or worst the use the
classpath loader to get file path !
Even if it is not the best programming pattern, it exist and __it is fully
supported by sun/ibm JDK__ Before version 0.30 IKVM used to support the
feature also but since the loader has silently changed, loading from
classpath is not anymore supported. :((
I use some third party libraries (jar file) and can not maintain the source
code , as this library load a lot of property file using System loader to
guess where the file is ! => WE CANNOT USE NEWEST VERSION OF IKVM !
regards
|