evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / il / ili2c / dont-use-build-timestamp.patch
blobe3388c54ab536564cbc6b3ca22daea3ad0422ec3
1 diff --git a/build.xml b/build.xml
2 index d0493d8..50d4286 100644
3 --- a/build.xml
4 +++ b/build.xml
5 @@ -221,11 +221,6 @@
6 </jar>
7 </target>
8 <target depends="init,compile-core,copyres" name="jar-core">
9 - <propertyfile file="${versionfile}">
10 - <!-- <entry key="versionMicro" type="int" value="1" operation="+"/> -->
11 - <entry key="versionDate" type="date" value="now" pattern="yyyyMMdd"/>
12 - </propertyfile>
14 <jar jarfile="${build}/jar/${ant.project.name}-core.jar">
15 <!-- fileset dir="${build}/classes" excludes="ch/interlis/ili2c/tests/**/*.class" includes="ch/interlis/models/**/*.class,ch/interlis/ili2c/parser/**/*.class,ch/interlis/ili2c/generator/**/*.class,ch/interlis/ili2c/modelscan/**/*.class,ch/interlis/ili2c/metamodel/**/*.class,ch/interlis/ili2c/config/**/*.class,ch/interlis/ili2c/CompilerLogEvent.class,ch/interlis/ili2c/Ili2cException.class,ch/interlis/ili2c/Ili2cFailure.class,ch/interlis/ili2c/gui/UserSettings.class,ch/interlis/ilirepository/ReposManager.class,ch/interlis/ilirepository/impl/RepositoryAccessException.class,ch/interlis/ilirepository/Dataset.class"/-->
16 <fileset dir="${build}/classes-core" excludes="ch/interlis/ili2c/tests/**/*.class" />
17 diff --git a/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java b/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java
18 index 9e165af..86d8f89 100644
19 --- a/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java
20 +++ b/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java
21 @@ -219,7 +219,7 @@ public static final String MIMETYPE_XTF = "application/interlis+xml;version=2.3"
22 ret.append(branch);
23 ret.append('-');
25 - ret.append(resVersion.getString("versionDate"));
26 + ret.append("nixpkgs");
27 version = ret.toString();
29 return version;