File: 0001-no-windows-service.patch

package info (click to toggle)
davmail 6.4.0.3755-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,380 kB
  • sloc: java: 38,127; xml: 4,420; sh: 321; makefile: 16
file content (27 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Alexandre Rossi <alexandre.rossi@gmail.com>
Date: Mon, 01 Oct 2012 13:58:42 +0200
Subject: Avoid winrun4j build dependency (new build property)
Forwarded: https://sourceforge.net/p/davmail/patches/52/

---
 build.xml |    1 +
 1 file changed, 1 insertion(+)

--- davmail.git.orig/build.xml	2025-06-17 15:48:01.869003426 +0200
+++ davmail.git/build.xml	2025-06-17 15:48:28.017440236 +0200
@@ -106,6 +106,7 @@
         <javac srcdir="src/java" destdir="target/classes" source="9" debug="on" encoding="UTF-8"
                includeantruntime="false">
             <exclude name="davmail/exchange/auth/*Interactive*" unless="is.javafx"/>
+            <exclude name="davmail/service/DavService.java" if="nowindowsservice"/>
             <compilerarg value="--add-exports"/>
             <compilerarg value="java.naming/com.sun.jndi.ldap=ALL-UNNAMED"/>
             <compilerarg value="--add-exports"/>
@@ -122,6 +123,7 @@
                includeantruntime="false">
             <exclude name="davmail/exchange/auth/*Interactive*" unless="is.javafx"/>
             <exclude name="davmail/util/SystemdNotify.java" unless="is.jna"/>
+            <exclude name="davmail/service/DavService.java" if="nowindowsservice"/>
             <classpath>
                 <path refid="classpath"/>
             </classpath>