|
From: <abr...@gm...> - 2005-02-22 21:38:36
|
Oh, and I forgot: even as a native application the wrapper could <naive>easily</naive> be enabled to use the classpath, because that's only an environment variable which is easy to parse: Parse it, filter out all files and you got a list of directories where you can look for files given with relative path names. <naive>Shouldn't be too difficult, right?</naive> / Andreas -----Ursprüngliche Nachricht----- Von: wra...@li... [mailto:wra...@li...]Im Auftrag von nic...@uk... Gesendet: Dienstag, 22. Februar 2005 14:42 An: wra...@li... Betreff: Re: [Wrapper-user] wrapper and relative file locations Well, firstly, the wrapper is a native application, so it wont know too much about classpath ;-) Are you on windows or unix? You can pass absolute paths to the config files if that makes it simpler (just edit the batch/shell script file) -Nick Internet ABr...@gm...@lists.sourceforge.net - 22/02/2005 09:35 Please respond to wra...@li... Sent by: wra...@li... To: wrapper-user cc: Subject: [Wrapper-user] wrapper and relative file locations Hi, I do not quite understand why the wrapper's path name behavior is so dependent on the wrappers location. Is it possible for the wrapper to find config-files (especially includes) also in the class path? That would make life much easier. For my application I have a directory named "run" in the classpath. Below that I have a "config" directory containing all configuration files I need. Inside of java I can alwas load them using the ClassLoader and "config/filename". I would like to place a basic wrapper configuration there and include it using "#include config/base.conf", but that does not work. Regards, Andreas -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. **************************************************************************** ****************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |