info.magnolia.cms.core.SystemProperty.getProperty(SystemProperty.MAGNOLIA_APP_ROOTDIR) is probably what you are looking for
HTH, Jan On Jun 30, 2010, at 6:50 PM, Rakesh Vidyadharan wrote: > I need to create a scheduled job that will retrieve a list of featured > content and dump the data as an XML file under docroot. How do I get > information about the physical location of the docroot from an command? I > could store some static variables into a servlet to get at the real path, but > is there something easier? > > Thanks > Rakesh > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
