Skip to content

Commit 5038195

Browse files
committed
include a license in jars.
We wait until this branch is merged with the master and apply proper licensing (reuse) afterwards.
1 parent 4cd5d7c commit 5038195

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

build/build-documentation.xml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<target name="javadoc-jar" depends="javadoc,determine-version,build" description="Pack Javadoc into a JAR">
6565
<property name="javadoc-jar.file" value="${ivy.module}-${version}-javadoc.jar"/>
6666
<jar jarfile="${javadoc-jar.file}">
67+
<metainf dir="." includes="LICENSE"/>
6768
<fileset dir="Javadoc" />
6869
</jar>
6970
</target>

build/build-jar-yices2.xml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
includes="${yices2Classes}"
2424
excludes="${jar.excludesInYices2Jar}"
2525
whenmanifestonly="fail">
26+
<metainf dir="." includes="LICENSE"/>
2627
<manifest>
2728
<attribute name="Class-Path" value="${yices2Classpath.jar}"/>
2829
<attribute name="Main-Class" value="${class.main}"/>

build/build-jar.xml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
includes="**"
2727
excludes="${jar.excludes}"
2828
whenmanifestonly="fail">
29+
<metainf dir="." includes="LICENSE"/>
2930
<manifest>
3031
<attribute name="Class-Path" value="${classpath.jar}"/>
3132
<attribute name="Main-Class" value="${class.main}"/>
@@ -41,6 +42,7 @@
4142
whenmanifestonly="fail">
4243
<fileset dir="${source.dir}/" includes="**/*.java" excludes="${jar.sources.excludes}"/>
4344
<fileset dir="${source.generated.dir}/" includes="**/*.java" excludes="${jar.sources.excludes}"/>
45+
<metainf dir="." includes="LICENSE"/>
4446
<manifest>
4547
<attribute name="Implementation-Title" value="${ant.project.name}"/>
4648
<attribute name="Implementation-Version" value="${version}"/>

0 commit comments

Comments
 (0)