You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (Created) (JIRA)" <ji...@apache.org> on 2012/01/05 12:31:39 UTC

[jira] [Created] (NUTCH-1243) Junit jar removed from lib

Junit jar removed from lib
--------------------------

                 Key: NUTCH-1243
                 URL: https://issues.apache.org/jira/browse/NUTCH-1243
             Project: Nutch
          Issue Type: Bug
          Components: build
    Affects Versions: 1.5
         Environment: Ivy 2.1.0 - 20090925235825
            Reporter: Julien Nioche


When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled. This seems to happen with Ivy 2.1 but not with Ivy 2.2.
We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.
As seen in [NUTCH-995] a workaround is to call : 'ant -lib ivy test' but having the value coded in the build script would be better

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1243) Junit jar removed from lib

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180341#comment-13180341 ] 

Hudson commented on NUTCH-1243:
-------------------------------

Integrated in Nutch-trunk #1716 (See [https://builds.apache.org/job/Nutch-trunk/1716/])
    NUTCH-1243 Unit Jar removed from lib

jnioche : http://svn.apache.org/viewvc/nutch/trunk/viewvc/?view=rev&root=.&revision=1227565
Files : 
* /nutch/trunk/ivy/ivy.xml

                
> Junit jar removed from lib
> --------------------------
>
>                 Key: NUTCH-1243
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1243
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.5
>         Environment: Ivy 2.1.0 - 20090925235825
>            Reporter: Julien Nioche
>
> When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled.
> -This seems to happen with Ivy 2.1 but not with Ivy 2.2.-
> -We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.-
> Actually the issue also happens with Ivy 2.2. I will commit a quick fix consisting of adding junit in the default ivy configuration, however it will be good to get to the bottom of this. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (NUTCH-1243) Junit jar removed from lib

Posted by "Julien Nioche (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Nioche updated NUTCH-1243:
---------------------------------

    Description: 
When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled.

-This seems to happen with Ivy 2.1 but not with Ivy 2.2.-
-We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.-

Actually the issue also happens with Ivy 2.2. I will commit a quick fix consisting of adding junit in the default ivy configuration, however it will be good to get to the bottom of this. 

  was:
When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled. This seems to happen with Ivy 2.1 but not with Ivy 2.2.
We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.
As seen in [NUTCH-995] a workaround is to call : 'ant -lib ivy test' but having the value coded in the build script would be better

    
> Junit jar removed from lib
> --------------------------
>
>                 Key: NUTCH-1243
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1243
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.5
>         Environment: Ivy 2.1.0 - 20090925235825
>            Reporter: Julien Nioche
>
> When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled.
> -This seems to happen with Ivy 2.1 but not with Ivy 2.2.-
> -We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.-
> Actually the issue also happens with Ivy 2.2. I will commit a quick fix consisting of adding junit in the default ivy configuration, however it will be good to get to the bottom of this. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1243) Junit jar removed from lib

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180361#comment-13180361 ] 

Hudson commented on NUTCH-1243:
-------------------------------

Integrated in nutch-trunk-maven #92 (See [https://builds.apache.org/job/nutch-trunk-maven/92/])
    NUTCH-1243 Unit Jar removed from lib

jnioche : http://svn.apache.org/viewvc/nutch/trunk/viewvc/?view=rev&root=&revision=1227565
Files : 
* /nutch/trunk/ivy/ivy.xml

                
> Junit jar removed from lib
> --------------------------
>
>                 Key: NUTCH-1243
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1243
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.5
>         Environment: Ivy 2.1.0 - 20090925235825
>            Reporter: Julien Nioche
>
> When calling 'ant test' the junit jar is added to the lib dir by Ivy but gets removed before the test classes are compiled.
> -This seems to happen with Ivy 2.1 but not with Ivy 2.2.-
> -We do have 2.2 in the /ivy directory but the ant script uses whatever is found in ~/.ant/lib - ideally we would like to be able to force the location of the jar file.-
> Actually the issue also happens with Ivy 2.2. I will commit a quick fix consisting of adding junit in the default ivy configuration, however it will be good to get to the bottom of this. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira