summaryrefslogtreecommitdiff
blob: f5775dc81565fdbf4b9407ae6225b13a7ae3c764 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
Index: build.xml
===================================================================
RCS file: /cvsroot/nntprss/nntprss/build.xml,v
retrieving revision 1.7
diff -r1.7 build.xml
16d15
<   <property name="nntprss-start.jar" value="${basedir}/nntprss-start.jar"/>
24c23,53
<       <fileset dir="${ext}\lib">
---
>       <fileset dir="/opt/jetty/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/opt/jetty/extra/lib/">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/hsqldb/lib/">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/log4j/lib/">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/crimson-1/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/commons-httpclient/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/xmlrpc/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/opt/sun-j2ee-1.3.1/lib/">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/commons-dbcp/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/commons-pool/lib">
>         <include name="*.jar"/>
>       </fileset>
>       <fileset dir="/usr/share/jdbm-1/lib/">
43d71
<     <delete file="${nntprss-start.jar}" quiet="true"/>
62,69d89
<   <target name="nntprss-start.jar" depends="classes">
<     <jar jarfile="${nntprss-start.jar}" basedir="${bin}" 
<      manifest="${etc}/MANIFEST.MF" >
<        <include name="org/methodize/nntprss/Startup.class" />
<     </jar>
<   </target>
<   
<   <!-- ==================================================================== -->
73,74d92
<        <exclude name="org/methodize/nntprss/Startup.class" />
<        <include name="xml/**"  />
79c97
<   <target name="jars" depends="nntprss-start.jar,nntprss.jar"
---
>   <target name="jars" depends="nntprss.jar"
91,108d108
<     <zip destfile="${basedir}/../nntprss-${version}.zip">
<       <zipfileset dir="ext/lib" includes="*" prefix="nntprss/ext/lib" />
<       <zipfileset dir="src/xml" includes="*" prefix="nntprss/xml" />
<       <zipfileset dir="." prefix="nntprss">
<         <include name="CHANGELOG"/>
<         <include name="LICENSE.TXT"/>
<         <include name="log4j.properties"/>
<         <include name="nntprss.exe"/>
<         <include name="nntprss.jar"/>
<         <include name="nntprss-config.xml"/>
<         <include name="nntprss-start.jar"/>
<         <include name="README.TXT"/>
<         <include name="users.properties.sample"/>
<         <include name="WINDOWS-SERVICE.TXT"/>
<         <include name="nntprss.ico"/>
<         <include name="systray4j.dll"/>
<       </zipfileset>
<     </zip>
111d110
<       <tarfileset dir="ext/lib" includes="*" prefix="nntprss/ext/lib" />
119d117
<         <include name="nntprss-start.jar"/>
122d119
<         <include name="WINDOWS-SERVICE.TXT"/>
124d120
<         <include name="systray4j.dll"/>
134,146d129
<     <zip destfile="${basedir}/../nntprss-src-${version}.zip">
<       <zipfileset dir="src" includes="**/*.java" prefix="nntprss/src"/>
<       <zipfileset dir="etc" includes="MANIFEST.MF" prefix="nntprss/etc" />
<       <zipfileset dir="src/xml" includes="*" prefix="nntprss/src/xml" />
<       <zipfileset dir="." prefix="nntprss">
<         <include name="build.xml"/>
<         <include name="build.properties"/>
<         <include name="CHANGELOG"/>
<         <include name="LICENSE.TXT"/>
<         <include name="README.TXT"/>
<       </zipfileset>
<     </zip>
< 
Index: etc/MANIFEST.MF
===================================================================
RCS file: /cvsroot/nntprss/nntprss/etc/MANIFEST.MF,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 MANIFEST.MF
2c2
< Main-Class: org.methodize.nntprss.Startup
---
> Main-Class: org.methodize.nntprss.Main
5c5
< Name: org.methodize.nntprss.Startup.class
---
> Name: org.methodize.nntprss.Main.class
Index: src/org/methodize/nntprss/Main.java
===================================================================
RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/Main.java,v
retrieving revision 1.11
diff -r1.11 Main.java
62d61
<     private WindowsSysTray windowsSysTray = null;
75,78d73
<             if (windowsSysTray != null) {
<                 windowsSysTray.shutdown();
<             }
< 
120,126d114
<             if (System
<                 .getProperty("os.name")
<                 .toLowerCase()
<                 .startsWith("windows")) {
<                 windowsSysTray = new WindowsSysTray();
<             }
< 
154,160d141
<             if (windowsSysTray != null) {
<                 windowsSysTray.setAdminURL(
<                     "http://127.0.0.1:" + adminServer.getPort() + "/");
<                 windowsSysTray.setChannelManager(channelManager);
<                 windowsSysTray.showStarted();
<             }
<