Please place any prop files you need to load from the class path in the
WEB-INF/classes dir. The only reason I placed the log4j.prop file in the lib
directory is because Log4J has to be initialized in standalone mode & those
logs need to be available.

Azeez

On Sat, Feb 20, 2010 at 5:19 PM, Supun Kamburugamuva <[email protected]> wrote:

> On Sat, Feb 20, 2010 at 3:13 PM, Hiranya Jayathilaka <[email protected]>
> wrote:
> > Folks, what is the best place to keep properties files in a Carbon based
> > product? I believe we got two options right now:
> > 1. CARBON_HOME/lib
> > 2. CARBON_HOME/webapps/ROOT/WEB-INF/classes
> > Currently the log4j.properties is kept in the lib directory. To be
> > consistent with that I have moved the properties files used by the ESB
> (eg:
> > synapse.properties) to the same directory. But when doing a application
> > server based deployment user must copy the files to the other location.
> >
>
> + 1 for the second option. Since we are changing from the previous
> version we need to document these properly.
>
> Thanks,
> Supun..
>
> > Thanks
> > --
> > Hiranya Jayathilaka
> > Software Engineer;
> > WSO2 Inc.;  http://wso2.org
> > E-mail: [email protected];  Mobile: +94 77 633 3491
> > Blog: http://techfeast-hiranya.blogspot.com
> >
> > _______________________________________________
> > Architecture mailing list
> > [email protected]
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
> >
> >
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>



-- 
Afkham Azeez
Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
email: [email protected] cell: +94 77 3320919
blog: http://afkham.org
twitter: http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to