#126 build.xml platform dependent properties

Version 1.2
open-accepted
5
2013-08-19
2013-03-07
No

Hi

The build.xml contains the following lines
<!-- load the build properties file -->
<property file="build.properties" />

<!-- Platform dependent properties -->
<property file="${os.name}_${os.arch}.properties" />
<property file="${os.name}.properties" />

Since thoses properties are immutable values, the properties defined in the Platform dependent properties will never override the properties from the build.properties file. Specially, the following properties from build.properties cannont be override by specific OS platform (my mingmw is on Z not on C)

# Compiler environment properties
compiler.dir = c:\\mingw
compiler.cc.bin.dir = ${compiler.dir}\\bin
compiler.ld.bin.dir = ${compiler.dir}
compiler.cc.cmd = g++
compiler.ld.cmd = g++

Discussion

  • Sly Technologies

    • status: open --> open-accepted
    • Group: --> Version 1.2
     
  • Sly Technologies

    Yes, that is a valid issue. We will address it at a different time, as we currently can not touch the buildscripts. However you do have a very valid point and we will address it.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks