fyi: the long running unit tests are fooling around with timing tests
and so they take awhile
because they are waiting for stuff to happen. it's a granularity issue.
if the timeouts are
too short, they fail on some platforms, notable vmware.
scott out
Niclas Hedhman wrote:
Gang,
it is a little bit difficult to get going with the codebase directly
from the SVN. I wouldn't call it rudimentary, although the BUILD.txt
steps you through it reasonably well. I would recommend a more
automated 'kick-start' later...
Well, things compiles and tests pass up until (see below);
The reason being that the examples are using ${env.TOOLS_DIR}...
(which I didn't set up). Either TOOLS_DIR should be documented on how
to set up (preferably automatically instead), or the examples need to
be changed.
Another thing; testcases that takes (on my system) 18 sec to execute,
should probably not be part of the default build. Personally, I only
include sub-second tests in the default build...
Otherwise, I am fine to dig deeper... ;-)
Cheers
Niclas
[taskdef] Could not load definitions from resource cloverlib.xml. It
could not be found.
Trying to override old definition of task csc
Trying to override old definition of task jsharpc
Trying to override old definition of task vbc
Trying to override old definition of task ildasm
Trying to override old definition of task ilasm
Trying to override old definition of task wsdltodotnet
Trying to override old definition of task importtypelib
validate-dependencies:
init-debug:
component-all:
[echo] chat
Trying to override old definition of task mdtool
dist-src:
[copy] Copying 1 file to
/Users/niclas/dev/asf/etch/examples/chat/target/dist-src
[copy] Copying 1 file to
/Users/niclas/dev/asf/etch/examples/chat/target/dist-src
[copy] Copying 1 file to
/Users/niclas/dev/asf/etch/examples/chat/target/dist-src/src/main/etch
[copy] Copying 4 files to
/Users/niclas/dev/asf/etch/examples/chat/target/dist-src/src/main/java
[copy] Copying 6 files to
/Users/niclas/dev/asf/etch/examples/chat/target/dist-src/src/main/csharp
[copy] Copying 13 files to
/Users/niclas/dev/asf/etch/target/Installers/dist/examples/chat
init-debug:
init:
generate-sources:
[etch] Etch : I : Command : Chat.etch : Compiling
/Users/niclas/dev/asf/etch/examples/chat/src/main/etch/Chat.etch...
[etch] Etch : I : Command : Chat.etch : Parsed Ok.
[etch] Etch : I : Command : Chat.etch : Checked Ok.
[etch] Etch : I : Command : Chat.etch : Generating Resources...
[etch] Etch : I : Command : Chat.etch : Compile Done.
[etch] Etch : I : Command : Chat.etch : Saving Resources...
[etch] Etch : I : Command : Chat.etch : Saving Resources Done.
[etch] Etch : I : Command : Chat.etch : Compiling
/Users/niclas/dev/asf/etch/examples/chat/src/main/etch/Chat.etch...
[etch] Etch : I : Command : Chat.etch : Parsed Ok.
[etch] Etch : I : Command : Chat.etch : Checked Ok.
[etch] Etch : I : Command : Chat.etch : Generating Resources...
[etch] Etch : I : Command : Chat.etch : Compile Done.
[etch] Etch : I : Command : Chat.etch : Saving Resources...
[etch] Etch : I : Command : Chat.etch : Saving Resources Done.
build-java:
[javac] Compiling 13 source files to
/Users/niclas/dev/asf/etch/examples/chat/target/classes
[javac] Compiling 18 source files to
/Users/niclas/dev/asf/etch/examples/chat/target/classes-test
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:22:
package org.junit does not exist
[javac] import org.junit.After;
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:23:
package org.junit does not exist
[javac] import org.junit.AfterClass;
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:24:
package org.junit does not exist
[javac] import org.junit.BeforeClass;
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:25:
package org.junit does not exist
[javac] import org.junit.Test;
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:47:
cannot find symbol
[javac] symbol : class BeforeClass
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @BeforeClass
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:66:
cannot find symbol
[javac] symbol : class AfterClass
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @AfterClass
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:82:
cannot find symbol
[javac] symbol : class Test
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @Test
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:94:
cannot find symbol
[javac] symbol : class Test
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @Test(expected = Failure.class)
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:107:
cannot find symbol
[javac] symbol : class Test
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @Test(expected = Failure.class)
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:119:
cannot find symbol
[javac] symbol : class Test
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @Test(expected = Failure.class)
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:131:
cannot find symbol
[javac] symbol : class Test
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @Test(expected = Failure.class)
[javac] ^
[javac]
/Users/niclas/dev/asf/etch/examples/chat/src/test/java/etch/examples/chat/TestRemoteChatServer.java:143:
cannot find symbol
[javac] symbol : class After
[javac] location: class etch.examples.chat.TestRemoteChatServer
[javac] @After
[javac] ^
[javac] 12 errors
BUILD FAILED
/Users/niclas/dev/asf/etch/build.xml:138: The following error occurred
while executing this line:
/Users/niclas/dev/asf/etch/build-support/etch.common.xml:190: The
following error occurred while executing this line:
/Users/niclas/dev/asf/etch/examples/build.xml:59: The following error
occurred while executing this line:
/Users/niclas/dev/asf/etch/build-support/etch.common.xml:213: The
following error occurred while executing this line:
/Users/niclas/dev/asf/etch/examples/chat/build.xml:141: Compile
failed; see the compiler error output for details.