I am using Java 1.4.2 which is why I need to make some of the changes listed

Paul

On 1 Aug 2005, at 03:20, Jamie Orchard-Hays wrote:

Are these because of Java 5 dependencies? If so, that's not my problem. I'm on Java 5.

Jamie


On Jul 31, 2005, at 4:57 AM, p green wrote:


I am using OS X and have found that to get the source to build I have to do the following:

in file framework/src/scripts/TestUpload.xml

I have to comment out every occurrence of the following lines:

        <assert-output name="Match Confirmation">
        Contents match.
        </assert-output>

in file framework/src/test/org/apache/tapestry/form/validator/ TestValidatorFactory.java

comment out the following method:

    public void testInstantiateFailure()
    {
        Map map = new HashMap();

        map.put("fred", newContribution(false, Object.class));

        ValidatorFactoryImpl vf = new ValidatorFactoryImpl();
        vf.setValidators(map);

        try
        {
            vf.constructValidatorList("fred");
            unreachable();
        }
        catch (ApplicationRuntimeException ex)
        {
            assertEquals(
"Error initializing validator 'fred' (class java.lang.Object): java.lang.Object",
                    ex.getMessage());
        }

    }


This generally works although I do not have sdk1.5 so do not run the annotations so modify my build.xml file in the source root to:

    <filelist id="project.modules"
        dir="."
files="framework/build.xml portlet/build.xml contrib/ build.xml"/>

I also have to add:

<property file="${root.dir}/project.properties"/>

to every subdirectory build.xml file otherwise certain files are not found.

I do not know whether this will help, I have not built the latest cvs but it has always worked upto beta3.

Paul


On 31 Jul 2005, at 05:09, Howard Lewis Ship wrote:



There's been suspicions that a couple of test files are checked in as
ascii, not binary, causing problems in a couple of tests (that are
very exacting about line endings).  Need some more details.

On 7/30/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:



I've got HEAD versions of Tapestry and Hivemind. I've followed the
Wiki instructions for building them. I've set the config files. When
I run, it breaks on the tests.

Any clue how to get beyond this?

BUILD FAILED
/Users/jamieorc/jakarta/hivemind-head/hivebuild/project.xml:52: The
following error occurred while executing this line:
/Users/jamieorc/jakarta/hivemind-head/hivebuild/project.xml:43: The
following error occurred while executing this line:
/Users/jamieorc/jakarta/hivemind-head/hivebuild/module.xml:237: The
following error occurred while executing this line:
/Users/jamieorc/jakarta/hivemind-head/hivebuild/module.xml:212: Some
tests failed.

Total time: 5 minutes 18 seconds


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







--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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









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




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

Reply via email to