You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Svitlana Nesterenko <sv...@gmail.com> on 2014/04/04 17:00:52 UTC

[lang] Problem with running tests

Hi!
I would like to contribute to commons-lang project, but encountered a
problem.
So, first of all, I made a repository checkout from :
https://svn.apache.org/repos/asf/commons/trunks-proper/

Then I compiled the lang project (mvn compile) and when I  try to run tests
(mvn test) it fails with:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[26,25]
package org.hamcrest.core does not exist
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,49]
cannot find symbol
  symbol:   variable IsNot
  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,9]
cannot access org.hamcrest.Matcher
  class file for org.hamcrest.Matcher not found
[ERROR]
/D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[513,25]
cannot find symbol
  symbol:   variable IsNot
  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE

It seems that hamcrest is a dependency of junit, but somehow it is not
found.
I would appreciate if someone could help me with this issue.

-- 

Best regards,
Svitlana Nesterenko

Re: [lang] Problem with running tests

Posted by Benedikt Ritter <be...@gmail.com>.
Oh, really? Didn't know that. Well, then there might be a problem in trunk of lang or with Svitana's environment.

Send from my mobile device

> Am 05.04.2014 um 20:08 schrieb Henri Yandell <fl...@gmail.com>:
> 
> Note that checking out from trunks-proper should check out the same code.
> It's a way to check out all of the Commons component's trunks at the same
> time.
> 
> Hen
> 
> 
> On Fri, Apr 4, 2014 at 9:36 AM, Benedikt Ritter <be...@gmail.com>wrote:
> 
>> Hello Svitana,
>> 
>> you've checken out from the wrong location. The codebase is at
>> https://svn.apache.org/repos/asf/commons/proper/lang/trunk
>> 
>> Please try that and report any issues you encounter with this that code.
>> 
>> Regards,
>> Benedikt
>> 
>> Send from my mobile device
>> 
>>> Am 04.04.2014 um 17:00 schrieb Svitlana Nesterenko <
>> svitana.nesterenko@gmail.com>:
>>> 
>>> Hi!
>>> I would like to contribute to commons-lang project, but encountered a
>>> problem.
>>> So, first of all, I made a repository checkout from :
>>> https://svn.apache.org/repos/asf/commons/trunks-proper/
>>> 
>>> Then I compiled the lang project (mvn compile) and when I  try to run
>> tests
>>> (mvn test) it fails with:
>>> 
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>> 
>> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[26,25]
>>> package org.hamcrest.core does not exist
>>> [ERROR]
>>> 
>> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,49]
>>> cannot find symbol
>>> symbol:   variable IsNot
>>> location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
>>> [ERROR]
>>> 
>> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,9]
>>> cannot access org.hamcrest.Matcher
>>> class file for org.hamcrest.Matcher not found
>>> [ERROR]
>>> 
>> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[513,25]
>>> cannot find symbol
>>> symbol:   variable IsNot
>>> location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
>>> [INFO] 4 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> 
>>> It seems that hamcrest is a dependency of junit, but somehow it is not
>>> found.
>>> I would appreciate if someone could help me with this issue.
>>> 
>>> --
>>> 
>>> Best regards,
>>> Svitlana Nesterenko
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [lang] Problem with running tests

Posted by Henri Yandell <fl...@gmail.com>.
Note that checking out from trunks-proper should check out the same code.
It's a way to check out all of the Commons component's trunks at the same
time.

Hen


On Fri, Apr 4, 2014 at 9:36 AM, Benedikt Ritter <be...@gmail.com>wrote:

> Hello Svitana,
>
> you've checken out from the wrong location. The codebase is at
> https://svn.apache.org/repos/asf/commons/proper/lang/trunk
>
> Please try that and report any issues you encounter with this that code.
>
> Regards,
> Benedikt
>
> Send from my mobile device
>
> > Am 04.04.2014 um 17:00 schrieb Svitlana Nesterenko <
> svitana.nesterenko@gmail.com>:
> >
> > Hi!
> > I would like to contribute to commons-lang project, but encountered a
> > problem.
> > So, first of all, I made a repository checkout from :
> > https://svn.apache.org/repos/asf/commons/trunks-proper/
> >
> > Then I compiled the lang project (mvn compile) and when I  try to run
> tests
> > (mvn test) it fails with:
> >
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR]
> >
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[26,25]
> > package org.hamcrest.core does not exist
> > [ERROR]
> >
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,49]
> > cannot find symbol
> >  symbol:   variable IsNot
> >  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
> > [ERROR]
> >
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,9]
> > cannot access org.hamcrest.Matcher
> >  class file for org.hamcrest.Matcher not found
> > [ERROR]
> >
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[513,25]
> > cannot find symbol
> >  symbol:   variable IsNot
> >  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
> > [INFO] 4 errors
> > [INFO] -------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> >
> > It seems that hamcrest is a dependency of junit, but somehow it is not
> > found.
> > I would appreciate if someone could help me with this issue.
> >
> > --
> >
> > Best regards,
> > Svitlana Nesterenko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Re: [lang] Problem with running tests

Posted by Benedikt Ritter <be...@gmail.com>.
Hello Svitana,

you've checken out from the wrong location. The codebase is at https://svn.apache.org/repos/asf/commons/proper/lang/trunk

Please try that and report any issues you encounter with this that code.

Regards,
Benedikt

Send from my mobile device

> Am 04.04.2014 um 17:00 schrieb Svitlana Nesterenko <sv...@gmail.com>:
> 
> Hi!
> I would like to contribute to commons-lang project, but encountered a
> problem.
> So, first of all, I made a repository checkout from :
> https://svn.apache.org/repos/asf/commons/trunks-proper/
> 
> Then I compiled the lang project (mvn compile) and when I  try to run tests
> (mvn test) it fails with:
> 
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[26,25]
> package org.hamcrest.core does not exist
> [ERROR]
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,49]
> cannot find symbol
>  symbol:   variable IsNot
>  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
> [ERROR]
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[512,9]
> cannot access org.hamcrest.Matcher
>  class file for org.hamcrest.Matcher not found
> [ERROR]
> /D:/apache/commons/trunks-proper/lang/src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:[513,25]
> cannot find symbol
>  symbol:   variable IsNot
>  location: class org.apache.commons.lang3.StringUtilsEqualsIndexOfTest
> [INFO] 4 errors
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> 
> It seems that hamcrest is a dependency of junit, but somehow it is not
> found.
> I would appreciate if someone could help me with this issue.
> 
> -- 
> 
> Best regards,
> Svitlana Nesterenko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org