I ran gradlew install, and after some time, it gave the following output:
Test failures in:
org.qi4j.extension.reindexer
FAILURE: Build failed with an exception.
* Where:
Build file '[snip]\qi4j-sdk\build.gradle' line: 242
* What went wrong:
Execution failed for task ':install'.
Cause: There was TEST FAILURES!! See list above.
Now, looking at build/reports/junit/index.html , I see this:
java.lang.Exception: Could not delete test data
at org.qi4j.index.reindexer.ReindexerTest.afterClass(ReindexerTest.java:127)
and looking at extensions/reindexer/build/testdata, there is one
directory qi4j-entities, containing a single qi4j-entities.lg file
with the size of 8 bytes. I am the owner of the file, and seem to have
all privileges for it, and deleting it manually works fine. Yet for
some reason that test fails.
Luckily it didn't affect installation. An interesting side-note is
that the build/reports/junit/index.html reports also 4 other test
failures (in SimpleNeoStoreTest ), yet gradle didn't mention them.
Additionally, for some reason the version of qi4j was "0". I used
latest develop branch from github (5.4.2011 commit
466068919e0491d7a007 ). I remember using "gradlew install" earlier,
and IIRC the version was automatically set to 1.3-SNAPSHOT back then,
do I need to manually set version now each time I do install? I had
M2_HOME set to my maven installation directory (v 3.0.3), and the
conf\settings.xml file used custom local repository location. Also, I
used fresh git checkout. Just telling all this information in case it
will help hunting down the reasons for what happened.
I don't have *nix OS at home nor at work, so I don't know if the
script for *nix will produce same errors. I have WinXP SP3 32bit as OS.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev