I just checked out from head again (didn't see any code changes) and am still getting this error:
-compile-init:
[mkdir] Created dir: /tmp/jakarta-tapestry/tapestry/target/ generated-java
     [echo]
     [echo]
[echo] *** Compiling Java sources to /tmp/jakarta-tapestry/ tapestry/target/classes ...
     [echo]
[javac] Compiling 744 source files to /tmp/jakarta-tapestry/ tapestry/target/classes [javac] /Users/warner/cvs/opensource/jakarta-tapestry/framework/ src/java/org/apache/tapestry/util/io/IoMessages.java:21: cannot resolve symbol
    [javac] symbol  : constructor MessageFormatter (java.lang.Class)
    [javac] location: class org.apache.hivemind.impl.MessageFormatter
[javac] private static final MessageFormatter _formatter = new MessageFormatter(IoMessages.class);
    [javac]                                                        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

I did look inside the generated-java directory and it's empty (is it supposed to be empty?). Here's what I'm unsure of, when I type java - version it still says 1.4 :
java -version
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)

Even though I've set 1.5 as the default VM.

What is ant using, is there a way to tell?

-warner


On Aug 17, 2005, at 10:35 PM, Mark Dillon wrote:

Ok, I have a successful build.  I got the latest from CVS head tonight
and I'm building against hivemind-1.1-beta-2
(jakarta-tapestry/config/build.properties has the sole property
hivebuild.dir=/Users/mdillon/Java/devCode/hivemind-1.1-beta-2/ hivebuild).
 I don't feel like finding and fixing the failing tests, so I'm
building with the VM property -Dhivebuild.skip-tests=true.  I did have
to add the servlet-api.jar to the classpath of the ant runtime
manually becuase otherwise I got this error:

[javac] /Users/mdillon/Java/devCode/jakarta-tapestry/contrib/ src/java/org/apache/tapestry/contrib/ajax/Timeout.java:20:
package javax.servlet.http does not exist
    [javac] import javax.servlet.http.HttpSession;
    [javac] ^
[javac] /Users/mdillon/Java/devCode/jakarta-tapestry/contrib/ src/java/org/apache/tapestry/contrib/ajax/Timeout.java:41:
cannot find symbol
    [javac] symbol  : class HttpSession
    [javac] location: class org.apache.tapestry.contrib.ajax.Timeout
    [javac] protected HttpSession getSession()

The bright side of that error is that XTile is being moved into the
contrib component library :)  Anyway, all this and I get a successful
build.  When I get some free time I'll delve into the failing tests.
BTW, I'm doing this with OS X 10.4 Tiger.  I'd like to hear your own
experiences if you're willing to share.  HTH...

Cheers,
Mark

On 8/17/05, Mark Dillon <[EMAIL PROTECTED]> wrote:

Hi Warren.  I'm moving this to the user list so as not to clutter the
dev list (at least until I figure out the solution).  I decided to
spend some time on this tonight.  Got the latest from head and
attempted to build.  My first attempt has failed.  I'm getting more
failed tests.  I'll keep you posted on my progress.  First try I get
this test failure:

    [junit] Testcase:
testFailure(org.apache.tapestry.test.TestAssertOutput): Caused an
ERROR
[junit] org.apache.tapestry.test.ScriptMessages.expectedSubstringMissing (Ljava/lang/String;Lorg/apache/hivemind/Location;)Ljava/lang/String;
    [junit] java.lang.NoSuchMethodError:
org.apache.tapestry.test.ScriptMessages.expectedSubstringMissing (Ljava/lang/String;Lorg/apache/hivemind/Location;)Ljava/lang/String; [junit] at org.apache.tapestry.test.assertions.AssertOutput.execute (AssertOutput.java:49) [junit] at org.apache.tapestry.test.TestAssertOutput.testFailure (TestAssertOutput.java:50)
    [junit] TEST org.apache.tapestry.test.TestAssertOutput FAILED
    [junit] Testsuite: org.apache.tapestry.test.TestAssertRegexp
[junit] Tests run: 6, Failures: 0, Errors: 3, Time elapsed: 0.015 sec
    [junit] Testcase:
testFailure(org.apache.tapestry.test.TestAssertRegexp): Caused an
ERROR
[junit] org.apache.tapestry.test.ScriptMessages.expectedRegexpMissing (Ljava/lang/String;Lorg/apache/hivemind/Location;)Ljava/lang/String;
    [junit] java.lang.NoSuchMethodError:
org.apache.tapestry.test.ScriptMessages.expectedRegexpMissing (Ljava/lang/String;Lorg/apache/hivemind/Location;)Ljava/lang/String; [junit] at org.apache.tapestry.test.assertions.AssertRegexp.execute (AssertRegexp.java:62) [junit] at org.apache.tapestry.test.TestAssertRegexp.testFailure (TestAssertRegexp.java:49)
    [junit] Testcase:
testMatchesWrongCount (org.apache.tapestry.test.TestAssertRegexp): Caused
an ERROR
[junit] org.apache.tapestry.test.ScriptMessages.incorrectRegexpMatchCount (Ljava/lang/String;Lorg/apache/hivemind/Location;II)Ljava/lang/ String;
    [junit] java.lang.NoSuchMethodError:
org.apache.tapestry.test.ScriptMessages.incorrectRegexpMatchCount (Ljava/lang/String;Lorg/apache/hivemind/Location;II)Ljava/lang/ String; [junit] at org.apache.tapestry.test.assertions.AssertRegexp.executeMatches (AssertRegexp.java:95) [junit] at org.apache.tapestry.test.assertions.AssertRegexp.execute (AssertRegexp.java:53) [junit] at org.apache.tapestry.test.TestAssertRegexp.testMatchesWrongCount (TestAssertRegexp.java:84)
    [junit] Testcase:
testMatchesFailure(org.apache.tapestry.test.TestAssertRegexp): Caused
an ERROR
[junit] org.apache.tapestry.test.ScriptMessages.incorrectRegexpMatch(Ljava/ lang/String;Lorg/apache/hivemind/Location;Ljava/lang/String;)Ljava/ lang/String;
    [junit] java.lang.NoSuchMethodError:
org.apache.tapestry.test.ScriptMessages.incorrectRegexpMatch(Ljava/ lang/String;Lorg/apache/hivemind/Location;Ljava/lang/String;)Ljava/ lang/String; [junit] at org.apache.tapestry.test.assertions.AssertRegexp.executeMatches (AssertRegexp.java:87) [junit] at org.apache.tapestry.test.assertions.AssertRegexp.execute (AssertRegexp.java:53) [junit] at org.apache.tapestry.test.TestAssertRegexp.testMatchesFailure (TestAssertRegexp.java:121)
    [junit] TEST org.apache.tapestry.test.TestAssertRegexp FAILED

Cheers,
Mark

On 8/17/05, Warner Onstine <[EMAIL PROTECTED]> wrote:

Here's the error that I'm currently getting which I don't know is
related to 1.5 or not:

      [echo]
      [echo]
      [echo] *** Compiling Java sources to /tmp/jakarta-tapestry/
tapestry/target/classes ...
      [echo]
     [javac] Compiling 72 source files to /tmp/jakarta-tapestry/
tapestry/target/classes
[javac] /Users/warner/cvs/opensource/jakarta-tapestry/ framework/
src/java/org/apache/tapestry/util/io/IoMessages.java:21: cannot
resolve symbol
[javac] symbol : constructor MessageFormatter (java.lang.Class) [javac] location: class org.apache.hivemind.impl.MessageFormatter
     [javac]     private static final MessageFormatter _formatter =
new MessageFormatter(IoMessages.class);
[javac] ^ [javac] Note: Some input files use or override a deprecated API.
     [javac] Note: Recompile with -deprecation for details.
     [javac] 1 error

I have downloaded HiveMind and configured the build.properties file
to point to it.

-warner

On Aug 16, 2005, at 9:19 AM, Mark Dillon wrote:


I have, yes.  If I recall, the only problem I had was a couple of
failing tests due to CRLF issues. I just commented out a couple of lines in the failing tests and all was well. I can dig up the exact
lines if you need them.  I've been using 4.0b3 lately so haven't
bothered building the head.  Any specific problems you're having?

Cheers,
Mark

On 8/16/05, Warner Onstine <[EMAIL PROTECTED]> wrote:


Hi all,
I know that once you download a developer seed from apple you aren't
supposed to talk about problems with it, I just want to know if
anyone has setup tap 4 successfully with 1.5 on OS X.

-warner

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





------------------------------------------------------------------- --
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: 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