Changeset 7085 in josm for trunk/build.xml


Ignore:
Timestamp:
2014-05-09T06:41:29+02:00 (5 years ago)
Author:
Don-vip
Message:

allow to disable auto-save of preferences file for unit tests (ant chmod does not seem to work from Jenkins)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r7079 r7085  
    267267            <replace file="${test.dir}/config/@{testfamily}-josm.home/preferences.xml" encoding="UTF-8" token="@OSM_USERNAME@" value="${osm.username}"/>
    268268            <replace file="${test.dir}/config/@{testfamily}-josm.home/preferences.xml" encoding="UTF-8" token="@OSM_PASSWORD@" value="${osm.password}"/>
    269                 <!-- Works only on Windows, does nothing on Unix -->
    270                 <attrib file="${test.dir}/config/@{testfamily}-josm.home/preferences.xml" readonly="true"/>
    271             <!-- Works only on Unix, does nothing on Windows -->
    272                 <chmod file="${test.dir}/config/@{testfamily}-josm.home/preferences.xml" perm="ugo-w" verbose="true"/>
    273269        </sequential>
    274270    </macrodef>
Note: See TracChangeset for help on using the changeset viewer.