[Git][java-team/swtchart][master] 2 commits: Add org.swtchart.ext to package
Jochen Sprickerhof
gitlab at salsa.debian.org
Fri May 11 13:54:10 BST 2018
Jochen Sprickerhof pushed to branch master at Debian Java Maintainers / swtchart
Commits:
cbf870cb by Jochen Sprickerhof at 2018-05-11T14:53:11+02:00
Add org.swtchart.ext to package
- - - - -
717895ff by Jochen Sprickerhof at 2018-05-11T14:53:11+02:00
Rename libraries to swtchart[-ext].jar
- - - - -
3 changed files:
- debian/build.xml
- debian/libswtchart-java.install
- + debian/libswtchart-java.links
Changes:
=====================================
debian/build.xml
=====================================
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -9,11 +9,22 @@
<replace file="org.swtchart/META-INF/MANIFEST.MF.OUT"
token=";singleton:=true" value="" />
+ <mkdir dir="org.swtchart.ext/bin"/>
+ <copy file="org.swtchart.ext/META-INF/MANIFEST.MF"
+ tofile="org.swtchart.ext/META-INF/MANIFEST.MF.OUT"/>
+ <replace file="org.swtchart.ext/META-INF/MANIFEST.MF.OUT"
+ token="qualifier" value="dist" />
+ <replace file="org.swtchart.ext/META-INF/MANIFEST.MF.OUT"
+ token=";singleton:=true" value="" />
+
</target>
<target name="clean">
<delete dir="org.swtchart/bin"/>
<delete file="org.swtchart/META-INF/MANIFEST.MF.OUT"/>
- <delete file="org.swtchart.jar"/>
+ <delete file="swtchart.jar"/>
+ <delete dir="org.swtchart.ext/bin"/>
+ <delete file="org.swtchart.ext/META-INF/MANIFEST.MF.OUT"/>
+ <delete file="swtchart-ext.jar"/>
</target>
<target depends="init,doc" name="build">
<javac debug="true" destdir="org.swtchart/bin" source="1.6" target="1.6">
@@ -23,12 +34,28 @@
<pathelement location="org.swtchart/bin"/>
</classpath>
</javac>
- <jar destfile="org.swtchart.jar" manifest="org.swtchart/META-INF/MANIFEST.MF.OUT">
+ <jar destfile="swtchart.jar" manifest="org.swtchart/META-INF/MANIFEST.MF.OUT">
<manifest>
<attribute name="Class-Path" value="/usr/share/java/swt4.jar"/>
</manifest>
<fileset dir="org.swtchart/bin"/>
</jar>
+ <javac debug="true" destdir="org.swtchart.ext/bin" source="1.6" target="1.6">
+ <src path="org.swtchart.ext/src"/>
+ <classpath>
+ <pathelement location="/usr/share/java/swt4.jar"/>
+ <pathelement location="/usr/share/java/org.eclipse.jface.jar"/>
+ <pathelement location="/usr/share/java/org.eclipse.core.commands_3.6.1.dist.jar"/>
+ <pathelement location="swtchart.jar"/>
+ <pathelement location="org.swtchart.ext/bin"/>
+ </classpath>
+ </javac>
+ <jar destfile="swtchart-ext.jar" manifest="org.swtchart.ext/META-INF/MANIFEST.MF.OUT">
+ <manifest>
+ <attribute name="Class-Path" value="/usr/share/java/swt4.jar"/>
+ </manifest>
+ <fileset dir="org.swtchart.ext/bin"/>
+ </jar>
</target>
<target name="doc">
<javadoc destdir="api">
=====================================
debian/libswtchart-java.install
=====================================
--- a/debian/libswtchart-java.install
+++ b/debian/libswtchart-java.install
@@ -1 +1,2 @@
-org.swtchart.jar usr/share/java
+swtchart.jar usr/share/java
+swtchart-ext.jar usr/share/java
=====================================
debian/libswtchart-java.links
=====================================
--- /dev/null
+++ b/debian/libswtchart-java.links
@@ -0,0 +1 @@
+/usr/share/java/swtchart.jar /usr/share/java/org.swtchart.jar
View it on GitLab: https://salsa.debian.org/java-team/swtchart/compare/39077d2268427a277d4ba6acddce5b20d62af9a8...717895ffcd9b5daa0d7be7070237302b3ecf97c4
---
View it on GitLab: https://salsa.debian.org/java-team/swtchart/compare/39077d2268427a277d4ba6acddce5b20d62af9a8...717895ffcd9b5daa0d7be7070237302b3ecf97c4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180511/1d96e787/attachment.html>
More information about the pkg-java-commits
mailing list