Tapestry 3.1 build version problems

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Tapestry 3.1 build version problems

seloha .
I am having problems building tapestry 3.1.

First attempt using latest binary sources i.e. hivemind 1.1-beta-1 and
tapestry 3.1-alpha-1. This did not work, I think the code in hivemind has
been refactored and at least one of the classes required by tapestry alpha-1
was missing.

Second attempt hivemind 1.1-beta-1 and tapestry 3.1 cvs. This failed, first
problem with junit-3.8.1.jar which I placed in the appropriate directory
next failed Some tests failed.

Could someone point me to where I can get 3.1 sources that will work. Note
this should not make any difference but I am using mac os x.

Thanks,

Paul



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tapestry 3.1 build version problems

Erik Hatcher
First note that it's Tapestry 4.0 now, not 3.1 (same codebase, just a  
different number label).

I built from CVS HEAD this morning on Mac OS X with no problems using  
this command-line: "ant -Dhivebuild.skip-tests=true"

What problems are you having specifically?

     Erik


On May 6, 2005, at 9:49 AM, seloha . wrote:

> I am having problems building tapestry 3.1.
>
> First attempt using latest binary sources i.e. hivemind 1.1-beta-1  
> and tapestry 3.1-alpha-1. This did not work, I think the code in  
> hivemind has been refactored and at least one of the classes  
> required by tapestry alpha-1 was missing.
>
> Second attempt hivemind 1.1-beta-1 and tapestry 3.1 cvs. This  
> failed, first problem with junit-3.8.1.jar which I placed in the  
> appropriate directory next failed Some tests failed.
>
> Could someone point me to where I can get 3.1 sources that will  
> work. Note this should not make any difference but I am using mac  
> os x.
>
> Thanks,
>
> Paul
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tapestry 3.1 build version problems

seloha .
Thanks Erik

the build works with ant -Dhivebuild.skip-tests=true

but if I use just ant the build fails with:

specific build error:



    [junit] Testsuite: org.apache.tapestry.junit.mock.TestMocks
    [junit] Tests run: 45, Failures: 1, Errors: 0, Time elapsed: 150.371 sec

    [junit] Testcase:
TestUpload.xml(org.apache.tapestry.junit.mock.TestMocks):
FAILED
    [junit] Request #2/Match Confirmation: Response does not contain string
'Contents match.'.
    [junit] junit.framework.AssertionFailedError: Request #2/Match
Confirmation: Response does not contain string 'Contents match.'.
    [junit]     at
org.apache.tapestry.junit.mock.MockTester.matchSubstring(MockTester.java:610)
    [junit]     at
org.apache.tapestry.junit.mock.MockTester.executeOutputAssertions(MockTester.java:515)
    [junit]     at
org.apache.tapestry.junit.mock.MockTester.executeAssertions(MockTester.java:379)
    [junit]     at
org.apache.tapestry.junit.mock.MockTester.executeRequest(MockTester.java:198)
    [junit]     at
org.apache.tapestry.junit.mock.MockTester.execute(MockTester.java:147)
    [junit]     at
org.apache.tapestry.junit.mock.TestMocks.runTest(TestMocks.java:63)


    [junit] TEST org.apache.tapestry.junit.mock.TestMocks FAILED



this is at the bottom:


    [junit] Tests FAILED

BUILD FAILED
/usr/local/hivemind/hivebuild/project.xml:48: The following error occurred
while executing this line:
/usr/local/hivemind/hivebuild/project.xml:39: The following error occurred
while executing this line:
/usr/local/hivemind/hivebuild/module.xml:239: The following error occurred
while executing this line:
/usr/local/hivemind/hivebuild/module.xml:214: Some tests failed.


<br><br><br>&gt;From: Erik Hatcher
&lt;[hidden email]&gt;<br>&gt;Reply-To: &quot;Tapestry
users&quot; &lt;[hidden email]&gt;<br>&gt;To:
&quot;Tapestry users&quot;
&lt;[hidden email]&gt;<br>&gt;Subject: Re: Tapestry 3.1
build version problems<br>&gt;Date: Fri, 6 May 2005 13:54:14
-0400<br>&gt;<br>&gt;First note that it's Tapestry 4.0 now, not 3.1 (same
codebase, just <br>&gt;a  different number label).<br>&gt;<br>&gt;I built
from CVS HEAD this morning on Mac OS X with no problems <br>&gt;using  this
command-line: &quot;ant
-Dhivebuild.skip-tests=true&quot;<br>&gt;<br>&gt;What problems are you
having specifically?<br>&gt;<br>&gt;     Erik<br>&gt;<br>&gt;<br>&gt;On May
6, 2005, at 9:49 AM, seloha . wrote:<br>&gt;<br>&gt;&gt;I am having problems
building tapestry 3.1.<br>&gt;&gt;<br>&gt;&gt;First attempt using latest
binary sources i.e. hivemind 1.1-beta-1  <br>&gt;&gt;and tapestry
3.1-alpha-1. This did not work, I think the code in  <br>&gt;&gt;hivemind
has been refactored and at least one of the classes  <br>&gt;&gt;required by
tapestry alpha-1 was missing.<br>&gt;&gt;<br>&gt;&gt;Second attempt hivemind
1.1-beta-1 and tapestry 3.1 cvs. This  <br>&gt;&gt;failed, first problem
with junit-3.8.1.jar which I placed in the  <br>&gt;&gt;appropriate
directory next failed Some tests failed.<br>&gt;&gt;<br>&gt;&gt;Could
someone point me to where I can get 3.1 sources that will  <br>&gt;&gt;work.
Note this should not make any difference but I am using mac  <br>&gt;&gt;os
x.<br>&gt;&gt;<br>&gt;&gt;Thanks,<br>&gt;&gt;<br>&gt;&gt;Paul<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;---------------------------------------------------------------------<br>&gt;&gt;To
unsubscribe, e-mail:
<br>&gt;&gt;[hidden email]<br>&gt;&gt;For
additional commands, e-mail:
<br>&gt;&gt;[hidden email]<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;---------------------------------------------------------------------<br>&gt;To
unsubscribe, e-mail: [hidden email]<br>&gt;For
additional commands, e-mail:
<br>&gt;[hidden email]<br>&gt;<br>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tapestry 3.1 build version problems

Erik Hatcher

On May 6, 2005, at 2:57 PM, seloha . wrote:

> Thanks Erik
>
> the build works with ant -Dhivebuild.skip-tests=true
>
> but if I use just ant the build fails with:
>
> specific build error:
>
>
>
>    [junit] Testsuite: org.apache.tapestry.junit.mock.TestMocks
>    [junit] Tests run: 45, Failures: 1, Errors: 0, Time elapsed:  
> 150.371 sec
>
>    [junit] Testcase: TestUpload.xml
> (org.apache.tapestry.junit.mock.TestMocks):
> FAILED
>    [junit] Request #2/Match Confirmation: Response does not contain  
> string 'Contents match.'

Yes, it's a known issue due to line ending variations on different  
platforms.  It'd work if you were on Windows, but you aren't and  
neither am I.

     Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tapestry 3.1 build version problems

seloha .
Thanks again Erik at least I know now how to build tapestry 4.0.

Now onwards to the more interesting challenge of using it.

<br><br><br>&gt;From: Erik Hatcher
&lt;[hidden email]&gt;<br>&gt;Reply-To: &quot;Tapestry
users&quot; &lt;[hidden email]&gt;<br>&gt;To:
&quot;Tapestry users&quot;
&lt;[hidden email]&gt;<br>&gt;Subject: Re: Tapestry 3.1
build version problems<br>&gt;Date: Fri, 6 May 2005 15:24:50
-0400<br>&gt;<br>&gt;<br>&gt;On May 6, 2005, at 2:57 PM, seloha .
wrote:<br>&gt;<br>&gt;&gt;Thanks Erik<br>&gt;&gt;<br>&gt;&gt;the build works
with ant -Dhivebuild.skip-tests=true<br>&gt;&gt;<br>&gt;&gt;but if I use
just ant the build fails with:<br>&gt;&gt;<br>&gt;&gt;specific build
error:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;    [junit] Testsuite:
org.apache.tapestry.junit.mock.TestMocks<br>&gt;&gt;    [junit] Tests run:
45, Failures: 1, Errors: 0, Time elapsed:  <br>&gt;&gt;150.371
sec<br>&gt;&gt;<br>&gt;&gt;    [junit] Testcase: TestUpload.xml
<br>&gt;&gt;(org.apache.tapestry.junit.mock.TestMocks):<br>&gt;&gt;FAILED<br>&gt;&gt;
    [junit] Request #2/Match Confirmation: Response does not
<br>&gt;&gt;contain  string 'Contents match.'<br>&gt;<br>&gt;Yes, it's a
known issue due to line ending variations on different  <br>&gt;platforms.  
It'd work if you were on Windows, but you aren't and  <br>&gt;neither am
I.<br>&gt;<br>&gt;    
Erik<br>&gt;<br>&gt;<br>&gt;---------------------------------------------------------------------<br>&gt;To
unsubscribe, e-mail: [hidden email]<br>&gt;For
additional commands, e-mail:
<br>&gt;[hidden email]<br>&gt;<br>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]