|
RE: Dependant Libs: msg#00015java.enhydra.general
I'm not sure if this will help in your case, but ANT has builtin tasks that support the concept of filters. It allows you to copy a single input file, and selectively replace text, (like paths etc) as the file is being copied. So if you are deploying to W32 you could replace paths one way, or if you are deploying to unix your files would have different contents. There is also a pathconvert built-in ant taskdef that takes a targetOS parameter to help with building paths for differing platforms. I'm an Ant newbie myself, but it sure is flexible and not very hard to used. It was specifially designed to handle problems just like the one you mentioned. Hope this helps. Mike. -----Original Message----- From: Nick Downey [mailto:ndowney@xxxxxxxxxxxxxx] Sent: Wednesday, December 04, 2002 10:14 AM To: enhydra@xxxxxxxxxxx Subject: Enhydra: Dependant Libs I have an Enhydra Super-Servlet application which depends on two external jar files. I have, and continue to, develop the application under Linux, but it is deployed on Win 2k. Currently I am modifying the APPCP environment variable within my run script to ensure that the requisite jars are infact in the classpath before the app starts, Ala - APPCP="${CLASSPATH}:lib/com.telt.com.jar:lib/jcifs.jar" To make my life simple - and in the hopes that I can move this change out of the run script - I have ensured that these jars are available in the lib directory, underneath my parent project input/output directories. And that all works fine. My question is in reference to minimizing the impact of changing platforms between development and deployment. Is the run script the correct place to make additions to the application classpath, or have I failed to read some documentation? Any change that I make to the run.in script I also have to make to the run.bat.in script. Is there another way? Thanks -- Nickolas Emmanuel A. Downey Teltronics, Inc. 678.581.8046 ndowney@xxxxxxxxxxxxxx _______________________________________________ Enhydra mailing list Enhydra@xxxxxxxxxxx http://www.enhydra.org/mailman/listinfo.cgi/enhydra
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: need help with sessions, Petr Stehlik |
|---|---|
| Next by Date: | Enhydra and MS IIS 5.0, Jason Dittmer |
| Previous by Thread: | Dependant Libs, Nick Downey |
| Next by Thread: | Re: need help with sessions, Petr Stehlik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |