$subj

Author: varlax
Date: Mon Dec 24 23:59:43 2007
New Revision: 606771

URL: http://svn.apache.org/viewvc?rev=606771&view=rev
Log:
Allow using both package and filepath formats for selecting smoke tests;
other minor enhancements.

<convert-test blablabla is not defined, so ant fails here with message:
Could not create task or type of type: convert-test

if I add the convert-test code to the working_vm/build/make/build.xml,
everything works:

    <macrodef name="convert-test">
        <attribute name="from"/>
        <attribute name="to"/>
        <sequential>
            <pathconvert property="@{to}" setonempty="no">
                <path path="[EMAIL PROTECTED]"/>
                <chainedmapper>
                    <filtermapper>
                        <replaceregex pattern="\.java$$"/>
                    </filtermapper>
                    <unpackagemapper from="${basedir}${file.separator}*" 
to="*.java"/>
                </chainedmapper>
            </pathconvert>
        </sequential>
    </macrodef>

but I do not want to commit this copypaste immediately. How do we
share ant code between VM & Classlib in the right way?

-- 
Egor Pasko

Reply via email to