harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-981) [drlvm][build] link to the CLASSLIB is hardcoded into build.xml
Date Tue, 01 Aug 2006 15:00:14 GMT
    [ 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"/>
   <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=...

(* 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


View raw message