Re: [Agileplanner-devel] PropertiesManager
Brought to you by:
teiniker
From: Kreuter D. <dav...@fh...> - 2006-11-24 18:28:41
|
Gasper Thomas wrote: > > Hy! > Hab ein Problem mit dem PropertiesManager. > Und zwar: > propertyPath = System.getProperty("user.dir") + File.separator + "etc" > + File.separator; > > Da kommt bei mir dann C:\eclipse\etc heraus. > Natürlich wird dann das jdbcProperties File nicht gefunden, da es in > meinem Workspace liegt. > Es hat erst funktioniert als ich das File dort hin kopiert habe. > > Meine Frage also: > Kann man das im Eclipse einstellen damit der Pfad passt, oder kann man > den propertyPath > so angeben, dass er für alle (Windows/Linux) gleich zugänglich ist > ohne das File zu kopieren? > > mfg > Gasper Thomas > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Agileplanner-devel mailing list > Agi...@li... > https://lists.sourceforge.net/lists/listinfo/agileplanner-devel > salü! meiner meinung nach gehört die jdbc.properties ins webapps/AgilePlanner dir vom tomcat, damit man unabhängig vom filesystem tree des os ist. aber keine ahnung wie man die datei dann anspricht, ohne eine fixe URL zu verwenden. vielleicht hat einer eine idee. mfg david |