> "gradle install" succeeds if I run in with the SUN JDK but always fails
> when building on OpenJDK with the following errors:

Great, that's a place to start. I've had a problem running in openjdk as
well also due to generic support. I'm planning to spend some time
investigating this week.

Josh

On Jun 19, 2011 6:50 AM, "martijn.list" <martijn.l...@gmail.com> wrote:
>
> On 06/19/2011 02:57 PM, Josh Canfield wrote:
> > Hmm, as a reference point can you try with the Sun JDK?
>
> "gradle install" succeeds if I run in with the SUN JDK but always fails
> when building on OpenJDK with the following errors:
>
> [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]
 ^
> [ant:javac]
>
/home/build/src/tapestry/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/MarkupWriterImpl.java:279:
> 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]
 ^
> [ant:javac]
>
/home/build/src/tapestry/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java:78:
> warning: non-varargs call of varargs method with inexact argument type
> for last parameter;
> [ant:javac] cast to java.lang.Object for a varargs call
> [ant:javac] cast to java.lang.Object[] for a non-varargs call and to
> suppress this warning
> [ant:javac]         spec.put("months", new
JSONArray(symbols.getMonths()));
> [ant:javac]                                                           ^
> [ant:javac]
>
/home/build/src/tapestry/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ComponentWorker.java:124:
> setPublishedParameters(java.util.List<java.lang.String>) in
> org.apache.tapestry5.model.MutableEmbeddedComponentModel cannot be
> applied to (java.util.List<java.lang.Object>)
> [ant:javac]
>
embedded.setPublishedParameters(CollectionFactory.newList(TapestryInternalUtils.splitAtCommas(names)));
> [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
>
>
>
> "gradle build" however always fails but this seems to be caused by not
> being able to start Firefox. I'm building on a headless server (i.e., no
> X). Is it possible to skip this test?
>
> Kind regards,
>
> Martijn
>
>
> > On Jun 19, 2011 4:28 AM, "martijn.list" <martijn.l...@gmail.com> 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: dev-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: dev-h...@tapestry.apache.org
> >>
> >
>
>
> --
> Djigzo open source email encryption
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>

Reply via email to