[ https://issues.apache.org/jira/browse/HARMONY-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Beliaev closed 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 <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
> <skippped...>
> 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.
|