office-gobmx/external/java_websocket/patches/ant-build.patch
Caolán McNamara 20eed0f37d cid#1545413 drop PerMessageDeflateExtension
Change-Id: Iac5133ebddf026037af22e0f22fead658348b108
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157696
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-09 13:27:25 +02:00

27 lines
820 B
Diff

--- /dev/null 1970-01-01 01:00:00.000000000 +0100
+++ b/build.xml 2023-08-30 11:43:05.152647141 +0100
@@ -0,0 +1,24 @@
+<project default="all">
+ <target name="all" depends="jar" />
+
+ <target name="compile">
+ <mkdir dir="build/classes" />
+ <javac includeantruntime="false" srcdir="src/main/java"
+ destdir="build/classes" encoding="UTF-8">
+ <exclude name="**/PerMessageDeflateExtension.java"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <mkdir dir="dist"/>
+ <jar destfile="dist/java_websocket.jar">
+ <fileset dir="build/classes" includes="**/*.class" />
+ </jar>
+ </target>
+
+ <target name="clean">
+ <delete dir="build" />
+ <delete dir="dist" />
+ </target>
+
+</project>