You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Egor Pasko <eg...@gmail.com> on 2007/12/27 17:38:04 UTC

[drlvm][build] build.sh smoke.test broken with unsatisfied convert-test dependency

$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="${@{from}}"/>
                <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


Re: [drlvm][build] build.sh smoke.test broken with unsatisfied convert-test dependency

Posted by Egor Pasko <eg...@gmail.com>.
On the 0x3BA day of Apache Harmony George Timoshenko wrote:
> Yesterday I was forced to update and rebuild classlib because of the
> problem.
> 
> I do not know what is better to duplicate the code for DRLVM and
> classlib or just wait until everybody beat the problem by rebuilding
> fresh classlib and the problem disappeares.

cool! works for me after svn-upping the classlib. Thanks, George!

-- 
Egor Pasko


Re: [drlvm][build] build.sh smoke.test broken with unsatisfied convert-test dependency

Posted by George Timoshenko <ge...@gmail.com>.
Yesterday I was forced to update and rebuild classlib because of the 
problem.

I do not know what is better to duplicate the code for DRLVM and 
classlib or just wait until everybody beat the problem by rebuilding 
fresh classlib and the problem disappeares.