Hmm, as a reference point can you try with the Sun JDK?
On Jun 19, 2011 4:28 AM, "martijn.list" <[email protected]> wrote:
> I tried to install Tapestry 5 trunk on a freshly installed Ubuntu 10.04
> server.
>
> This is what I did:
>
> 1. installed OpenJDK, Maven, Ant and Gradle, subversion
> 2. checked out Tapestry 5 Trunk
> 3. Tried to build Tapestry
>
> Step 3 wasn't successful. Whatever I tried, I always ended up with some
> vague error message that either a test failed or that there were some
> compile errors.
>
> For example:
>
> Running the install task
>
> $ gradle install
>
> resulted in:
>
> [ant:javac]
>
/home/build/src/tapestry/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/FieldValidatorSourceImpl.java:81:
>
expandMacros(java.util.List<org.apache.tapestry5.internal.services.ValidatorSpecification>)
> in org.apache.tapestry5.internal.services.FieldValidatorSourceImpl
> cannot be applied to (java.util.List<java.lang.Object>)
> [ant:javac] List<ValidatorSpecification> specs =
> expandMacros(newList(originalSpec));
> [ant:javac] ^
> [ant:javac]
>
/home/build/src/tapestry/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/MarkupWriterImpl.java:264:
> incompatible types
> [ant:javac] found : java.lang.Object
> [ant:javac] required: org.apache.tapestry5.MarkupWriterListener
> [ant:javac] for (MarkupWriterListener l :
> CollectionFactory.newList(listeners))
> [ant:javac]
>
> [SNIP]
>
> [ant:javac] ^
> [ant:javac] Note: Some input files use or override a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] Note: Some input files use unchecked or unsafe operations.
> [ant:javac] Note: Recompile with -Xlint:unchecked for details.
> [ant:javac] 4 errors
> [ant:javac] 1 warning
>
>
> Running the build task
>
> $ gradle build
>
> resulted in:
>
> :plastic:test
> Test org.apache.tapestry5.plastic.FieldPropertyMethodCreation FAILED
> 107 tests completed, 1 failure
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':plastic:test'.
> Cause: There were failing tests. See the report at
> /home/build/src/tapestry/trunk/plastic/build/reports/tests.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
>
> I clearly must be doing wrong. Is there a guide on how to build Tapestry
> from source?
>
> Kind regards,
>
> Martijn Brinkers
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to