Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 77407 invoked from network); 18 Apr 2008 11:17:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Apr 2008 11:17:32 -0000 Received: (qmail 66161 invoked by uid 500); 18 Apr 2008 11:17:33 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 66133 invoked by uid 500); 18 Apr 2008 11:17:33 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 66124 invoked by uid 99); 18 Apr 2008 11:17:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2008 04:17:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2008 11:16:58 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C0595234C0E5 for ; Fri, 18 Apr 2008 04:14:21 -0700 (PDT) Message-ID: <1934066980.1208517261786.JavaMail.jira@brutus> Date: Fri, 18 Apr 2008 04:14:21 -0700 (PDT) From: "Vladimir Beliaev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Reopened: (HARMONY-3312) [classlib][build] need diagnostics if junit.jar is not in $ANT_HOME/lib In-Reply-To: <598450.1173180144704.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Beliaev reopened HARMONY-3312: --------------------------------------- > [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 > Priority: Minor > > I've tried to run HUT at fresh Harmony version with the command below: > $ cd /working_classlib > $ ant -Dtest.jre.home="/working_vm/build/deploy/jdk/jre" test > and failed with the following output: > [javac] ---------- > [javac] 1. ERROR in \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 > depends/jars/junit_3.8.2 > 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. > Thanks > Vladimir Beliaev -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.