Package list libslf4j-java / 0e76a49
* New upstream release. * Merge changes from Ubuntu, thanks to James Page (Closes: #646092) : + Enable test suite: - d/ant.properties, d/build.xml: Define new targets to compile and execute test suites for all jar files. - d/control: Add ant-optional and junit to B-D's. - d/rules: Define DEB_ANT_CHECK_TARGET to execute test suite and add ant-junit and junit to DEB_JARS. + d/control: Remove surplus dependencies - libjavassist-java, libcommons-lang-java Damien Raude-Morvan 9 years ago
5 changed file(s) with 112 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
00 project.name=libslf4j-java
11 class.dir=classes
22 source.dir=src/main/java
3 test.dir=test
4 test.source.dir=src/test/java
5 test.class.dir=test/classes
6 test.res.dir=test/results
7 test.resource.dir=src/test/resources
38
49 jcl-over-slf4j.dir=jcl-over-slf4j
510 jul-to-slf4j.dir=jul-to-slf4j
1414 <delete dir="${slf4j-migrator.dir}/${class.dir}" quiet="true"/>
1515 <!-- <delete dir="${slf4j-ext.dir}/${class.dir}" quiet="true"/> -->
1616
17 <delete dir="${jcl-over-slf4j.dir}/${test.dir}" quiet="true"/>
18 <delete dir="${jul-to-slf4j.dir}/${test.dir}" quiet="true"/>
19 <delete dir="${log4j-over-slf4j.dir}/${test.dir}" quiet="true"/>
20 <delete dir="${slf4j-api.dir}/${test.dir}" quiet="true"/>
21 <delete dir="${slf4j-jcl.dir}/${test.dir}" quiet="true"/>
22 <delete dir="${slf4j-jdk14.dir}/${test.dir}" quiet="true"/>
23 <delete dir="${slf4j-log4j12.dir}/${test.dir}" quiet="true"/>
24 <delete dir="${slf4j-nop.dir}/${test.dir}" quiet="true"/>
25 <delete dir="${slf4j-simple.dir}/${test.dir}" quiet="true"/>
26 <delete dir="${slf4j-migrator.dir}/${test.dir}" quiet="true"/>
27
1728 <delete file="${jcl-over-slf4j.jar}" quiet="true"/>
1829 <delete file="${jul-to-slf4j.jar}" quiet="true"/>
1930 <delete file="${log4j-over-slf4j.jar}" quiet="true"/>
140151 -->
141152 </target>
142153
154 <target name="test-compile">
155 <mkdir dir="${slf4j-api.dir}/${test.class.dir}"/>
156 <javac srcdir="${slf4j-api.dir}/${test.source.dir}" destdir="${slf4j-api.dir}/${test.class.dir}"
157 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
158 <jar jarfile="${slf4j-api-test.jar}">
159 <fileset dir="${slf4j-api.dir}/${test.class.dir}">
160 <include name="**"/>
161 </fileset>
162 </jar>
163 <mkdir dir="${slf4j-jcl.dir}/${test.class.dir}"/>
164 <javac srcdir="${slf4j-jcl.dir}/${test.source.dir}" destdir="${slf4j-jcl.dir}/${test.class.dir}"
165 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
166 <mkdir dir="${slf4j-jdk14.dir}/${test.class.dir}"/>
167 <javac srcdir="${slf4j-jdk14.dir}/${test.source.dir}" destdir="${slf4j-jdk14.dir}/${test.class.dir}"
168 debug="true" source="1.4" target="1.4" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}:${slf4j-jdk14.jar}"/>
169 <mkdir dir="${slf4j-log4j12.dir}/${test.class.dir}"/>
170 <javac srcdir="${slf4j-log4j12.dir}/${test.source.dir}" destdir="${slf4j-log4j12.dir}/${test.class.dir}"
171 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
172 <mkdir dir="${slf4j-nop.dir}/${test.class.dir}"/>
173 <javac srcdir="${slf4j-nop.dir}/${test.source.dir}" destdir="${slf4j-nop.dir}/${test.class.dir}"
174 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
175 <mkdir dir="${slf4j-simple.dir}/${test.class.dir}"/>
176 <javac srcdir="${slf4j-simple.dir}/${test.source.dir}" destdir="${slf4j-simple.dir}/${test.class.dir}"
177 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
178 <mkdir dir="${slf4j-migrator.dir}/${test.class.dir}"/>
179 <javac srcdir="${slf4j-migrator.dir}/${test.source.dir}" destdir="${slf4j-migrator.dir}/${test.class.dir}"
180 debug="true" source="1.5" target="1.5" classpath="${slf4j-migrator.jar}"/>
181 <mkdir dir="${jcl-over-slf4j.dir}/${test.class.dir}"/>
182 <javac srcdir="${jcl-over-slf4j.dir}/${test.source.dir}" destdir="${jcl-over-slf4j.dir}/${test.class.dir}"
183 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-jdk14.jar}:${jcl-over-slf4j.jar}"/>
184 <mkdir dir="${jul-to-slf4j.dir}/${test.class.dir}"/>
185 <javac srcdir="${jul-to-slf4j.dir}/${test.source.dir}" destdir="${jul-to-slf4j.dir}/${test.class.dir}"
186 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-log4j12.jar}:${jul-to-slf4j.jar}"/>
187 <mkdir dir="${log4j-over-slf4j.dir}/${test.class.dir}"/>
188 <javac srcdir="${log4j-over-slf4j.dir}/${test.source.dir}" destdir="${log4j-over-slf4j.dir}/${test.class.dir}"
189 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-jdk14.jar}:${log4j-over-slf4j.jar}"/>
190 </target>
191
192 <macrodef name="test">
193 <attribute name="path"/>
194 <attribute name="component"/>
195 <sequential>
196 <mkdir dir="@{component}/${test.res.dir}"/>
197 <junit printsummary="yes" haltonfailure="yes">
198 <classpath>
199 <pathelement path="@{path}"/>
200 <pathelement location="@{component}/${test.class.dir}"/>
201 <pathelement location="@{component}/${test.resource.dir}"/>
202 <pathelement location="${slf4j-api.jar}"/>
203 </classpath>
204 <formatter type="plain"/>
205 <batchtest todir="@{component}/${test.res.dir}">
206 <fileset dir="@{component}/${test.source.dir}">
207 <include name="**/*TestCase.java"/>
208 <include name="**/*Test.java"/>
209 <exclude name="**/*$*"/>
210 <exclude name="**/Abstract*"/>
211 </fileset>
212 </batchtest>
213 </junit>
214 </sequential>
215 </macrodef>
216
217 <target name="test" depends="test-compile">
218 <test component="${slf4j-api.dir}" path="${slf4j-api.jar}"/>
219 <test component="${slf4j-jcl.dir}" path="${slf4j-api-test.jar}"/>
220 <test component="${slf4j-jdk14.dir}" path="${slf4j-api-test.jar}:${slf4j-jdk14.jar}"/>
221 <test component="${slf4j-log4j12.dir}" path="${slf4j-api-test.jar}:${slf4j-log4j12.jar}"/>
222 <test component="${slf4j-nop.dir}" path="${slf4j-api-test.jar}:${slf4j-nop.jar}"/>
223 <test component="${slf4j-simple.dir}" path="${slf4j-api-test.jar}:${slf4j-simple.jar}"/>
224 <test component="${slf4j-migrator.dir}" path="${slf4j-migrator.jar}"/>
225 <test component="${jcl-over-slf4j.dir}" path="${jcl-over-slf4j.jar}:${slf4j-jdk14.jar}"/>
226 <test component="${jul-to-slf4j.dir}" path="${jul-to-slf4j.jar}:${slf4j-log4j12.jar}"/>
227 <test component="${log4j-over-slf4j.dir}" path="${log4j-over-slf4j.jar}:${slf4j-jdk14.jar}"/>
228 </target>
229
143230 </project>
0 libslf4j-java (1.6.4-1) unstable; urgency=low
1
2 * New upstream release.
3 * Merge changes from Ubuntu, thanks to James Page (Closes: #646092) :
4 + Enable test suite:
5 - d/ant.properties, d/build.xml: Define new targets to compile and
6 execute test suites for all jar files.
7 - d/control: Add ant-optional and junit to B-D's.
8 - d/rules: Define DEB_ANT_CHECK_TARGET to execute test suite and add
9 ant-junit and junit to DEB_JARS.
10 + d/control: Remove surplus dependencies - libjavassist-java,
11 libcommons-lang-java
12
13 -- Damien Raude-Morvan <drazzib@debian.org> Tue, 01 Nov 2011 23:48:41 +0100
14
015 libslf4j-java (1.6.2-1) unstable; urgency=low
116
217 * New upstream release.
44 Uploaders: Varun Hiremath <varun@debian.org>,
55 Damien Raude-Morvan <drazzib@debian.org>
66 Build-Depends: ant,
7 ant-optional,
78 cdbs,
89 debhelper (>= 7),
910 default-jdk,
10 libcommons-lang-java,
11 junit,
1112 libcommons-logging-java,
12 libjavassist-java,
1313 liblog4j1.2-java,
1414 maven-repo-helper
1515 Standards-Version: 3.9.2
2020 Package: libslf4j-java
2121 Architecture: all
2222 Depends: ${misc:Depends}
23 Suggests: libcommons-logging-java, libjavassist-java, liblog4j1.2-java
23 Suggests: libcommons-logging-java, liblog4j1.2-java
2424 Description: Simple Logging Facade for Java
2525 The Simple Logging Facade for Java (or SLF4J) is intended to serve as
2626 a simple facade for various logging APIs allowing to the end-user to
66 VERSION := $(DEB_UPSTREAM_VERSION)
77 JAVA_HOME := /usr/lib/jvm/default-java
88 DEB_ANT_BUILD_TARGET := jar
9 DEB_ANT_CHECK_TARGET := test
910 DEB_ANT_BUILDFILE := debian/build.xml
10 DEB_JARS := commons-logging log4j-1.2
11 DEB_JARS := commons-logging log4j-1.2 ant-junit junit
1112 MODULES := jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api \
1213 slf4j-jcl slf4j-jdk14 slf4j-log4j12 slf4j-migrator slf4j-nop slf4j-simple
1314