db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject Re: where schema name is set?
Date Mon, 27 Feb 2006 20:41:22 GMT
Hi Erik,

maven.xml generates a pmf properties file with the schema name in it.  
Here's the code snippet:

    <goal name="doRuntck.jdori">
        <path id="this.jdori.classpath">
            <pathelement 
location="${jdo.tck.enhanced.dir}/${jdo.tck.identitytype}.jar"/>
            <path refid="jdori.classpath"/>
        </path>
        <u:loadText file="${basedir}/src/conf/${jdori.pmf.properties}"
                    var="PMFProps"/>
        <j:file name="${jdo.tck.testclasses.dir}/${jdori.pmf.properties}"
                omitXmlDeclaration="true">
            ${PMFProps}
            ### Properties below added by maven goal doRuntck.jdori
            <!-- 
javax.jdo.option.Mapping=${jdo.tck.database}${jdo.tck.mapping} -->
            javax.jdo.option.Mapping=standard${jdo.tck.mapping}
            javax.jdo.mapping.Schema=${schemaname}
        </j:file>

The same code is in the doRuntck.iut.

-- Michelle

erik@jpox.org wrote:

>Hi,
>
>Where in the TCK the schema name is set (At runtime, not at the time the schema
>is created) ?
>
>Thanks,
>
>
>  
>


Mime
View raw message