I am attempting to generate the meta-data files for Merlin using the
meta-tools ant task o.a.a.m.t.a.MetaTask.  All documentation about
Merlin suggests that it is looking for *.xinfo meta data files.  

Furthermore a component does not seem to a recognized type unless the
meta-data file is in fact an xinfo file.  However, the MetaTask outputs
the meta-data file as xtype files.  I have copied the source below.  

Am I doing something wrong or is this something that needs patched?

    /**
     * Determine the file for the [EMAIL PROTECTED] Task}.
     *
     * @param classname the fully qualified name of file to generate
     * @return the file for info
     * @throws IOException if unable to determine base file
     */
    private File getOutputFileForClass( final String classname )
        throws IOException
    {
        String filename =
            classname.replace( '.', File.separatorChar );

        if( SER_TYPE == m_format )
        {
            filename += ".stype";
        }
        else
        {
            filename += ".xtype";
        }
        return new File( m_destDir, filename ).getCanonicalFile();
    }

-- 
Daniel Krieg <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to