|
From: <nic...@uk...> - 2005-02-23 00:55:46
|
Should it also load them from inside JAR's that are in the classpath? Also, note that the java application's classpath is defined by the wrapper.config file. How does it find the config file? ;-) It would be do-able to have a WRAPPER_HOME env var, but I usually find env-vars a very brittle mechanism for configuration of server applicati= ons. -Nick Internet abr...@gm...@lists.sourceforge.net - 22/02/2005 21:38 Please respond to wra...@li... Sent by: wra...@li... To: wrapper-user cc: Subject: AW: [Wrapper-user] wrapper and relative file locations Oh, and I forgot: even as a native application the wrapper could <naive>easily</naive> be enabled to use the classpath, because that's o= nly an environment variable which is easy to parse: Parse it, filter out al= l files and you got a list of directories where you can look for files gi= ven with relative path names. <naive>Shouldn't be too difficult, right?</na= ive> / Andreas -----Urspr=FCngliche 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 simple= r (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 include= s) also in the class path? That would make life much easier. For my application I have a directory named "run" in the classpath. Bel= ow that I have a "config" directory containing all configuration files I n= eed. 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 i= t using "#include config/base.conf", but that does not work. Regards, Andreas -- DSL Komplett von GMX +++ Superg=FCnstig 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=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ 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_id=14396&op=3Dick _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------- 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=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user = |