harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3312) [classlib][build] need diagnostics if junit.jar is not in $ANT_HOME/lib
Date Tue, 06 Mar 2007 11:22:24 GMT
[classlib][build] need diagnostics if junit.jar is not in $ANT_HOME/lib

                 Key: HARMONY-3312
                 URL: https://issues.apache.org/jira/browse/HARMONY-3312
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: any
            Reporter: Vladimir Beliaev

I've tried to run HUT at fresh Harmony version with the command below:

  $ cd <trunk>/working_classlib
  $ ant -Dtest.jre.home="<runk>/working_vm/build/deploy/jdk/jre" test

and failed with the following output:

    [javac] ----------
    [javac] 1. ERROR in <trunk>\working_classlib\modules\accessibility\...\AccessibleBundleTest.java
    [javac]  (at line 25)
    [javac]     import junit.framework.TestCase;
    [javac]            ^^^^^
    [javac] The import junit cannot be resolved

although I have jnuit.jar in 


It turned out that junit.jar must be located in ${ANT_HOME}/lib directory (as well as ecj_3.2.jar)
to avoid the error above.

Please, improve the classlib build to
1.  check that junit.jar is located in ${ANT_HOME}/lib 
2.  (optinall, I'm not sure) check that junit.jar of proper version is located in ${ANT_HOME}/lib

3. if "not located" then print "what to do" message (like is done for ecj_3.2.jar) and exit
instead of starting compilation.

Vladimir Beliaev

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message