You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Salikh Zakirov (JIRA)" <ji...@apache.org> on 2006/08/01 17:00:14 UTC
[jira] Commented: (HARMONY-981) [drlvm][build] link to the CLASSLIB
is hardcoded into build.xml
[ http://issues.apache.org/jira/browse/HARMONY-981?page=comments#action_12424890 ]
Salikh Zakirov commented on HARMONY-981:
----------------------------------------
The property is not "hardcoded" in build.xml per se.
You can always override the default value by running
build.bat -Dexternal.dep.CLASSLIB=.../
And if you want to do environment reading, then the code like below can serve you
<property environment="env"/>
<condition property="external.dep.CLASSLIB.loc" value="${env.CLASSLIB_HOME}">
<isset property="env.CLASSLIB_HOME"/>
</condition>
<available property="classlib.okay" file="${external.dep.CLASSLIB.loc}/lib/boot/luni.jar"/>
<fail unless="classlib.okay">Error:
Can't find Harmony class library.
Please set the environment variable CLASSLIB_HOME
or pass the classlib locations as -Dexternal.dep.CLASSLIB.loc=...
</fail>
(* untested *).
Feel free to submit the above as patch if you feel the urge.
> [drlvm][build] link to the CLASSLIB is hardcoded into build.xml
> ---------------------------------------------------------------
>
> Key: HARMONY-981
> URL: http://issues.apache.org/jira/browse/HARMONY-981
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Vladimir Ivanov
>
> link to the CLASSLIB is hardcoded into build.xml (line 65) as
> <property name="external.dep.CLASSLIB.loc" value="../../../../classlib/trunk" />
> instead of use the predefined property from property file. Something like that:
> <property name="external.dep.CLASSLIB.loc" value="${CLASSLIB_HOME}" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira