You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2005/07/31 06:09:58 UTC

Re: Can't build Tapestry 4

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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 


-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Can't build Tapestry 4

Posted by Jamie Orchard-Hays <ja...@dang.com>.
What info do you need? I'll forwarded it on.

Jamie


On Jul 31, 2005, at 12:09 AM, 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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
>>
>>
>
>
> -- 
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Can't build Tapestry 4

Posted by p green <pg...@dsl.pipex.com>.
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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tapestry-dev- 
>>>> help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> -- 
>>> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tapestry-dev- 
>>> help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Can't build Tapestry 4

Posted by Jamie Orchard-Hays <ja...@dang.com>.
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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tapestry-dev- 
>>> help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>
>>
>> -- 
>> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Can't build Tapestry 4

Posted by p green <pg...@dsl.pipex.com>.
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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
>>
>>
>
>
> -- 
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>


Re: Can't build Tapestry 4

Posted by Jamie Orchard-Hays <ja...@dang.com>.
In order to solve this problem I need more guidance than this. There  
are a gazillion test files.

Can we get together somehow and work this out? I can't do anything  
with Tap 4 until this is solved.

jamie



On Jul 31, 2005, at 12:09 AM, 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 <ja...@dang.com> 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: tapestry-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>>
>>
>>
>
>
> -- 
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org