AnsweredAssumed Answered

[Resolved] Module with properties files

Question asked by dranakan on May 29, 2009
Latest reply on Jun 24, 2009 by dranakan

I would like to create my own properties files for my module. These properties are for example an adresse host. My module has the directory like this :

   … Java class which need

To access my file, I will use : File file = new File(???). My problem is the access to this file. In my java class, I would to have access to this place : (c:\alfresco\tomcat\webapps\alfresco\).

Are they a variable containing the path to c:\alfresco\tomcat\webapps\alfresco\ ? (the goal is to have a module working on tomcat and Jboss (the path are differents).

Thanks :)