updateProperty( project, "dpml.cache", cache );
project.setProperty( "dpml.cache", cache );
    private static void checkProperties( Project project ) throws BuildException    {        String version = Transit.VERSION;        updateProperty( project, "dpml.transit.version", version );        File home = Transit.DPML_HOME;        File system = Transit.DPML_SYSTEM;        File data = Transit.DPML_DATA;        File prefs = Transit.DPML_PREFS;        File docs = new File( data, "docs" );        File dist = new File( data, "dist" );        File logs = new File( data, "logs" );        updateProperty( project, "dpml.home", home.getAbsolutePath() );        updateProperty( project, "dpml.system", system.getAbsolutePath() );        updateProperty( project, "dpml.data", data.getAbsolutePath() );        updateProperty( project, "dpml.docs", docs.getAbsolutePath() );        updateProperty( project, "dpml.dist", dist.getAbsolutePath() );        updateProperty( project, "dpml.logs", dist.getAbsolutePath() );        updateProperty( project, "dpml.prefs", prefs.getAbsolutePath() );        try        {            String cache = m_MODEL.getCacheModel().getCacheDirectory().getAbsolutePath();            updateProperty( project, "dpml.cache", cache );        }        catch( Throwable e )        {            throw new BuildException( e );        }        String auth = project.getProperty( "dpml.transit.authority" );        if( null != auth )        {            System.setProperty( "dpml.transit.authority",               System.getProperty( "dpml.transit.authority", auth ) );        }    }