Summary: | dev-java/ant installs even when there is an error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sandy McArthur <Sandy> |
Component: | [OLD] Development | Assignee: | Karl Trygve Kalleberg (RETIRED) <karltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 481 |
Description
Sandy McArthur
2002-02-03 15:44:11 UTC
need some "|| die"s? I'd say adding: [ -n "$JDK_HOME" ] || die "Java JDK not properly installed. Please (re)install." to the top of the src_compile() function would be enough. Since it depends on virtual/jdk-1.3, the environment should be setup correctly. However, maybe when an older jdk package is installed that didn't use the new java scheme yet, this dep is resolved but the required env var is not present. Is this possible? Yup, The enviroment was set up correctly when I re-emerged the jdk I was using. I guess I should use -rX on virtual deps, too, to avoid this problem. If this bug gets reopened later, I will bother :) |