You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by Fernando Arreola <jf...@usc.edu> on 2011/03/06 08:30:36 UTC
Compiling OODT
Hello,
I am new to OODT and am having trouble getting started.
I have downloaded the source code by downloading the
"apache-oodt-0.2-src.tar.gz" file and extracting the contents. I have also
downloaded maven 2.2.1 and installed it. I then proceeded to compile OODT by
typing "mvn install" at the top level OODT directory. It ran for a long
while then it states that Build failed. The only failure is see is the
following: "Running org.apache.oodt.commons.util.
XMLTest Test run: 9 Failures: 1". In the report it states:
-------------------------------------------------------------------------------
Test set: org.apache.oodt.commons.util.XMLTest
-------------------------------------------------------------------------------
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.547 sec
<<< FAILURE!
testDOM(org.apache.oodt.commons.util.XMLTest) Time elapsed: 0.094 sec <<<
FAILURE!
junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch,
got value = 3750466362
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:63)
Not sure if this is important or not, but I am unable to find the location
where all the compile artifacts (.class) are. Is there a location where the
.class files are placed? I am unable to find them and I am wondering if the
test failure is causing them to not be created.
Thanks,
Fernando Arreola
Re: Compiling OODT
Posted by Sean Kelly <ke...@apache.org>.
Hello and thanks for trying out OODT.
> Test set: org.apache.oodt.commons.util.XMLTest
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.547 sec
> <<< FAILURE!
You can skip the tests that are failing by running:
mvn install -DskipTests
> Not sure if this is important or not, but I am unable to find the location
> where all the compile artifacts (.class) are. Is there a location where the
> .class files are placed? I am unable to find them and I am wondering if the
> test failure is causing them to not be created.
Artifacts are created in "target" subdirectories in the build directory tree, and are also placed into your Maven repository when you run "mvn install".
--k
Re: Compiling OODT
Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Fernando,
Thanks for your email. Sean Kelly just discussed this same issue that another user was having, see:
http://s.apache.org/CNg
A couple of questions:
1. are you compiling on Windows?
2. what version of Maven are you using?
Thanks!
Cheers,
Chris
On Mar 5, 2011, at 11:30 PM, Fernando Arreola wrote:
> Hello,
>
> I am new to OODT and am having trouble getting started.
>
> I have downloaded the source code by downloading the
> "apache-oodt-0.2-src.tar.gz" file and extracting the contents. I have also
> downloaded maven 2.2.1 and installed it. I then proceeded to compile OODT by
> typing "mvn install" at the top level OODT directory. It ran for a long
> while then it states that Build failed. The only failure is see is the
> following: "Running org.apache.oodt.commons.util.
> XMLTest Test run: 9 Failures: 1". In the report it states:
>
> -------------------------------------------------------------------------------
> Test set: org.apache.oodt.commons.util.XMLTest
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.547 sec
> <<< FAILURE!
> testDOM(org.apache.oodt.commons.util.XMLTest) Time elapsed: 0.094 sec <<<
> FAILURE!
> junit.framework.AssertionFailedError: Stringified DOM document CRC mismatch,
> got value = 3750466362
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:63)
>
>
> Not sure if this is important or not, but I am unable to find the location
> where all the compile artifacts (.class) are. Is there a location where the
> .class files are placed? I am unable to find them and I am wondering if the
> test failure is causing them to not be created.
>
> Thanks,
> Fernando Arreola
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
Twitter: @chrismattmann
Facebook: http://facebook.com/chris.mattmann
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++