[Jpackage-commits] dist/howl-logger/devel .cvsignore, 1.1, 1.2 howl-logger-1.0.2-jpp-depmap.xml, NONE, 1.1 howl-logger-1.0.2-pom.patch, NONE, 1.1 howl-logger-1.0.2-settings.xml, NONE, 1.1 howl-logger.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Sun Feb 1 23:19:05 CET 2009


Update of /home/projects/jpackage/cvs/dist/howl-logger/devel
In directory ryu.zarb.org:/tmp/cvs-serv27755/devel

Modified Files:
	.cvsignore sources 
Added Files:
	howl-logger-1.0.2-jpp-depmap.xml howl-logger-1.0.2-pom.patch 
	howl-logger-1.0.2-settings.xml howl-logger.spec 
Log Message:
Import howl-logger into devel

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/howl-logger/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	1 Feb 2009 22:18:30 -0000	1.1
--- .cvsignore	1 Feb 2009 22:19:02 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ howl-logger-1.0.2.tar.gz

--- NEW FILE: howl-logger-1.0.2-jpp-depmap.xml ---
<dependencies>
<!--

 <dependency>
   <maven>
     <groupId>org.apache.ant</groupId>
     <artifactId>ant-launcher</artifactId>
     <version>1.7.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>ant-launcher</artifactId>
     <version>1.7.0</version>
   </jpp>
 </dependency>
-->

</dependencies>

--- NEW FILE: howl-logger.spec ---
# Copyright (c) 2000-2009, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define section free
%define oname   howl

Name:           howl-logger
Summary:        High speed ObjectWeb logger
Url:            http://howl.objectweb.org/
Version:        1.0.2
Release:        1%{dist}
Epoch:          0
License:        Apache Software License 2
Group:          Development/Libraries/Java
BuildArch:      noarch
Source0:        howl-logger-%{version}.tar.gz
# svn export svn://svn.forge.objectweb.org/svnroot/howl/tags/HOWL_1_0_2/howl/logger/ howl-logger-1.0.2
Source1:        howl-logger-%{version}-settings.xml
Source2:        howl-logger-%{version}-jpp-depmap.xml
Patch0:         howl-logger-%{version}-pom.patch

BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  java-devel >= 0:1.5.0
BuildRequires:  ant >= 0:1.6.5
BuildRequires:  junit >= 0:3.8.1
BuildRequires:  maven2 >= 0:2.0.7
BuildRequires:  maven2-plugin-antrun
BuildRequires:  maven2-plugin-assembly
BuildRequires:  maven2-plugin-compiler
BuildRequires:  maven2-plugin-dependency
BuildRequires:  maven2-plugin-idea
BuildRequires:  maven2-plugin-install
BuildRequires:  maven2-plugin-jar
BuildRequires:  maven2-plugin-javadoc
BuildRequires:  maven2-plugin-plugin
BuildRequires:  maven2-plugin-project-info-reports
BuildRequires:  maven2-plugin-release
BuildRequires:  maven2-plugin-remote-resources
BuildRequires:  maven2-plugin-resources
BuildRequires:  maven2-plugin-site
BuildRequires:  maven2-plugin-surefire

Requires(post):    jpackage-utils >= 0:1.7.5
Requires(postun):  jpackage-utils >= 0:1.7.5

Requires:  java >= 0:1.5.0

BuildRoot:  %{_tmppath}/%{name}-%{version}-buildroot

%description
HOWL is a logger implementation providing features 
required by the ObjectWeb JOTM project, with a public 
API that is generally usable by any Transaction Manager. 
HOWL uses unformatted binary logs to maximize performance 
and specifies a journalization API with methods necessary 
to support JOTM recovery operations. 

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
%{summary}.

%prep
%setup -q 
chmod -R go=u-w *
for f in $(find . -name "*.jar"); do
  mv $f $f.no
done
cp %{SOURCE1} settings.xml
%patch0 -b .sav0

%build
#export JAVA_HOME=%{_jvmdir}/java-1.6.0
sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml
sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/maven2/plugins</url>|g" settings.xml

export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository

mkdir external_repo
ln -s %{_javadir} external_repo/JPP

export SETTINGS=$(pwd)/settings.xml
export MAVEN_OPTS="-Xmx128m"

mvn-jpp \
        -e \
        -s $SETTINGS \
        -Dmaven2.jpp.depmap.file=%{SOURCE2} \
        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
        install javadoc:javadoc

%install
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 target/%{oname}-%{version}.jar \
        $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
%add_to_maven_depmap org.objectweb.howl howl %{version} JPP %{name}
install -m 644 pom.xml \
   $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(-,root,root)
%{_javadir}/*
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*
%doc *.txt

%files javadoc
%defattr(-,root,root)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}

%changelog
* Thu Jan 22 2009 Ralph Apel <r.apel at r-apel.de> 0:1.0.2-1.jpp5
- 1.0.2
- First JPP-5 release

* Thu Jul 20 2006 Ralph Apel <r.apel at r-apel.de> 0:0.1.11-1jpp
- First JPP-1.7 release
- Upgrade to 0.1.11 as required by jonas-4.7.5

* Fri Mar 04 2005 Fernando Nasser <fnasser at redhat.com> 0:0.1.8-1jpp
- Add missing build dependency on saxon-scripts
- Upgrade to 0.1.8

* Tue Feb 01 2005 Ralph Apel <r.apel at r-apel.de> 0:0.1.7-2jpp
- Process project.xml files with saxon
- Don't tamper with $HOME
- Don't use build-jar-repository; explicitly ln -sf $(build-classpath ...)

* Mon Oct 11 2004 Ralph Apel <r.apel at r-apel.de> 0:0.1.7-1jpp
- First release


--- NEW FILE: howl-logger-1.0.2-settings.xml ---
<settings>
	<profiles>
		<profile>
			<id>JPP</id>
			<repositories>
				<repository>
					<id>internal</id>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>external</id>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>local</id>
					<layout>jpp</layout>
					<url>__MAVENREPO_DIR_PLACEHOLDER__</url>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>plugins-internal</id>
					<name>plugins-internal</name>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-external</id>
					<name>plugins-external</name>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-maven</id>
					<name>plugins-maven</name>
					<layout>jpp</layout>
					<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>JPP</activeProfile>
	</activeProfiles>
</settings>

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/howl-logger/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	1 Feb 2009 22:18:30 -0000	1.1
--- sources	1 Feb 2009 22:19:03 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 537c9595a99533977e37c7bd0455ac9e  howl-logger-1.0.2.tar.gz

--- NEW FILE: howl-logger-1.0.2-pom.patch ---
--- pom.xml.sav0	2006-06-15 20:19:03.000000000 +0200
+++ pom.xml	2008-08-29 14:58:13.000000000 +0200
@@ -5,7 +5,7 @@
     <artifactId>howl</artifactId>
     <name>HOWL logger</name>
     <packaging>jar</packaging>
-    <version>1.0.1-1</version>
+    <version>1.0.2</version>
 
     <url>http://forge.objectweb.org/projects/howl/</url>
     <description>HOWL is a logger implementation providing features required by the JOTM project. HOWL uses unformatted
@@ -111,6 +111,8 @@
                     <excludes>
                         <exclude implementation="java.lang.String">**/allTest.java</exclude>
                         <exclude implementation="java.lang.String">**/ExceptionTest.java</exclude>
+                        <exclude implementation="java.lang.String">**/ThroughputTest.java</exclude>
+                        <exclude implementation="java.lang.String">**/BigLogTest.java</exclude>
                     </excludes>
                 </configuration>
             </plugin>




More information about the JPackage-commits mailing list