AnsweredAssumed Answered

[solved]read alfresco configuration file in a java class

Question asked by ethan on Aug 13, 2010
Latest reply on Aug 24, 2010 by ethan
Hi :)

I would like to know if there's a class in the alfresco API which could allow me to read one of the xml configuration files that exists or access one of the alfresco folder (like the install folder). My goal is to ask the user to set a parameter (an ip adress) in an xml configuration file and then I could refer to it in a java class.
I know I could force the user to install alfresco in a specified directory and hard code the path in my class but I don't like to do this way.

Thank you :)

Outcomes