Changeset 13641 in josm


Ignore:
Timestamp:
2018-04-16T19:27:21+02:00 (7 years ago)
Author:
stoecker
Message:

allow to specify noJAVAFX as environment variable with 'export JOSM_NOJAVAFX=1'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r13575 r13641  
    1111<project xmlns:as="antlib:org.codehaus.mojo.animal_sniffer" name="josm" default="dist" xmlns:jacoco="antlib:org.jacoco.ant" xmlns:if="ant:if" xmlns:unless="ant:unless">
    1212    <target name="init-properties">
     13        <property environment="env"/>
    1314        <!-- Load properties in a target and not at top level, so this build file can be
    1415        imported from an IDE ant file (Netbeans) without messing up IDE properties.
     
    1920        <property name="test.dir" location="${base.dir}/test"/>
    2021        <property name="src.dir" location="${base.dir}/src"/>
    21         <property name="noJavaFX" value="0"/>
     22        <condition property="noJavaFX" value="${env.JOSM_NOJAVAFX}" else="0">
     23                <isset property="env.NOJAVAFX"/>
     24        </condition>
    2225        <property name="build.dir" location="${base.dir}/build"/>
    2326        <property name="dist.dir" location="${base.dir}/dist"/>
Note: See TracChangeset for help on using the changeset viewer.