[classycle] Initial import (#844792)
by gil
commit 1ba8f3407222dc650fc0458c044d473a8ef4dd45
Author: gil <puntogil(a)libero.it>
Date: Thu Aug 2 18:15:22 2012 +0200
Initial import (#844792)
.gitignore | 1 +
classycle-1.4-build.patch | 39 ++++++++++++++++++++++
classycle-1.4.pom | 40 ++++++++++++++++++++++
classycle.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 161 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..034ea80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/classycle-1.4-src-svn.tar.gz
diff --git a/classycle-1.4-build.patch b/classycle-1.4-build.patch
new file mode 100644
index 0000000..c5fd96f
--- /dev/null
+++ b/classycle-1.4-build.patch
@@ -0,0 +1,39 @@
+--- build.xml 2012-04-14 08:27:38.000000000 +0200
++++ build.xml-gil 2012-04-14 09:52:39.297225675 +0200
+@@ -12,15 +12,15 @@
+ <property name="OUTPUT_PATH_SRCTEST" value="classes"/>
+
+ <!-- set output path for generation of apidoc ============================-->
+- <property name="OUTPUT_PATH_APIDOC" value="docs/WebSite/apidoc"/>
++ <property name="OUTPUT_PATH_APIDOC" value="target/site/apidocs"/>
+
+ <!-- set distribution file name ==========================================-->
+ <property name="DIST_NAME" value="classycle${version}.zip"/>
+
+ <!-- set classpath for compilation of src ================================-->
+ <path id="src_classpath">
+- <fileset dir="lib">
+- <include name="**/*.jar"/>
++ <fileset dir="/usr/share/java">
++ <include name="ant/ant-testutil.jar"/>
+ </fileset>
+ </path>
+
+@@ -74,7 +74,8 @@
+ <!-- generate jar ======================================================-->
+ <target name="jar" depends="clean, compile_src"
+ description="Create jar">
+- <jar destfile="classycle.jar" basedir="${OUTPUT_PATH_SRC}">
++ <mkdir dir="target"/>
++ <jar destfile="target/classycle-${version}.jar" basedir="${OUTPUT_PATH_SRC}">
+ <manifest>
+ <attribute name="Main-Class" value="classycle.Analyser"/>
+ </manifest>
+@@ -94,7 +95,6 @@
+ version="true"
+ use="true"
+ windowtitle="Classycle"
+- overview="overview.html"
+ failonerror="true"/>
+ </target>
+
diff --git a/classycle-1.4.pom b/classycle-1.4.pom
new file mode 100644
index 0000000..c70fd9c
--- /dev/null
+++ b/classycle-1.4.pom
@@ -0,0 +1,40 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.specs2</groupId>
+ <artifactId>classycle</artifactId>
+ <packaging>jar</packaging>
+ <description>classycle</description>
+ <version>1.4</version>
+ <name>classycle</name>
+ <organization>
+ <name>org.specs2</name>
+ </organization>
+ <url>http://classycle.sourceforge.net/</url>
+ <licenses>
+ <license>
+ <name>BSD-style</name>
+ <url>http://www.opensource.org/licenses/bsd-license.php</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <url>http://classycle.svn.sourceforge.net/svnroot/classycle</url>
+ <connection>scm:svn:http://classycle.svn.sourceforge.net/svnroot/classycle</connection>
+ </scm>
+ <developers>
+ <developer>
+ <id>Franz-Josef Elmer</id>
+ <name>Franz-Josef Elmer</name>
+ <url>http://classycle.sourceforge.net/</url>
+ </developer>
+ </developers>
+ <dependencies>
+ <dependency>
+ <groupId>org.scala-lang</groupId>
+ <artifactId>scala-library</artifactId>
+ <version>2.9.1</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
diff --git a/classycle.spec b/classycle.spec
new file mode 100644
index 0000000..8550d95
--- /dev/null
+++ b/classycle.spec
@@ -0,0 +1,80 @@
+Name: classycle
+Version: 1.4
+Release: 2%{?dist}
+Summary: Analysing Tools for Java Class and Package Dependencies
+Group: Development/Libraries
+License: BSD
+URL: http://classycle.sourceforge.net/
+# http://downloads.sourceforge.net/project/classycle/classycle1.4.zip without build file
+# svn co -r209 https://classycle.svn.sourceforge.net/svnroot/classycle/trunk/Classycle/ classycle-1.4
+# tar czf classycle-1.4-src-svn.tar.gz classycle-1.4
+Source0: %{name}-%{version}-src-svn.tar.gz
+Source1: http://repo1.maven.org/maven2/org/specs2/%{name}/%{version}/%{name}-%{ver...
+# various fix
+Patch0: %{name}-%{version}-build.patch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+
+BuildRequires: ant
+BuildRequires: ant-testutil
+BuildRequires: junit4
+
+Requires: java
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description
+Classycle tools analyse static class and package dependencies
+of Java applications or libraries. Main features: Cyclic
+dependency detection (beyond JDepend), XML report, checking layered
+architectures. The tools runs from command line and as Ant tasks.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q
+%patch0 -p0
+cp -p %{SOURCE1} pom.xml
+%pom_remove_dep "org.scala-lang:scala-library"
+
+%build
+
+# skip test for various reasons
+ant jar apidoc
+
+
+%install
+
+mkdir -p %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%doc LICENSE.txt README.html
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+* Thu Aug 02 2012 gil cattaneo <puntogil(a)libero.it> 1.4-2
+- Remove the Maven build method
+
+* Sat Apr 14 2012 gil cattaneo <puntogil(a)libero.it> 1.4-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..da53f23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd336a4681f529ba8fe3b0230f8962a5 classycle-1.4-src-svn.tar.gz
11 years, 9 months
[javaparser] Initial import (#843404)
by gil
commit 77c7b56310b182d88a36034f74279c5e6c79ea32
Author: gil <puntogil(a)libero.it>
Date: Thu Aug 2 18:05:14 2012 +0200
Initial import (#843404)
.gitignore | 1 +
javaparser-1.0.8-remove-wagon-svn.patch | 18 +++++
javaparser-1.0.8.pom | 112 +++++++++++++++++++++++++++++++
javaparser.spec | 100 +++++++++++++++++++++++++++
sources | 1 +
5 files changed, 232 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e824af2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/javaparser-1.0.8-src.zip
diff --git a/javaparser-1.0.8-remove-wagon-svn.patch b/javaparser-1.0.8-remove-wagon-svn.patch
new file mode 100644
index 0000000..634493d
--- /dev/null
+++ b/javaparser-1.0.8-remove-wagon-svn.patch
@@ -0,0 +1,18 @@
+--- pom.xml 2010-03-28 22:21:45.000000000 +0200
++++ pom.xml-gil 2012-07-26 10:36:23.199603016 +0200
+@@ -62,13 +62,13 @@
+ <testSourceDirectory>test</testSourceDirectory>
+ <outputDirectory>bin</outputDirectory>
+ <testOutputDirectory>bin</testOutputDirectory>
+- <extensions>
++ <!--extensions>
+ <extension>
+ <groupId>org.jvnet.wagon-svn</groupId>
+ <artifactId>wagon-svn</artifactId>
+ <version>1.9</version>
+ </extension>
+- </extensions>
++ </extensions-->
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
diff --git a/javaparser-1.0.8.pom b/javaparser-1.0.8.pom
new file mode 100644
index 0000000..601e713
--- /dev/null
+++ b/javaparser-1.0.8.pom
@@ -0,0 +1,112 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.google.code.javaparser</groupId>
+ <artifactId>javaparser</artifactId>
+ <packaging>jar</packaging>
+ <name>Java 1.5 Parser and AST</name>
+ <version>1.0.8</version>
+ <description>A Java 1.5 Parser with AST generation and visitor support. The AST records the source code structure, javadoc and comments. It is also possible to change the AST nodes or create new ones to modify the source code.</description>
+ <url>http://code.google.com/p/javaparser/</url>
+ <issueManagement>
+ <system>Google Code</system>
+ <url>http://code.google.com/p/javaparser/issues/</url>
+ </issueManagement>
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <url>http://code.google.com/p/javaparser/source/browse/</url>
+ <connection>http://javaparser.googlecode.com/svn/trunk/</connection>
+ </scm>
+ <inceptionYear>2007</inceptionYear>
+ <developers>
+ <developer>
+ <name>Júlio Vilmar Gesser</name>
+ <email>jgesser(a)gmail.com</email>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Hendy Irawan</name>
+ <email>hendy(a)soluvas.com</email>
+ <url>http://www.HendyIrawan.com/</url>
+ <organization>Soluvas</organization>
+ <organizationUrl>http://www.Soluvas.com/</organizationUrl>
+ </contributor>
+ </contributors>
+ <distributionManagement>
+ <site>
+ <id>javaparser-site</id>
+ <name>JavaParser</name>
+ <url>http://code.google.com/p/javaparser</url>
+ </site>
+ <downloadUrl>http://code.google.com/p/javaparser/downloads/</downloadUrl>
+ <repository>
+ <id>javaparser-release</id>
+ <name>JavaParser Maven Releases Repository</name>
+ <url>svn:https://javaparser.googlecode.com/svn/maven2</url>
+ </repository>
+ <snapshotRepository>
+ <id>javaparser-snapshots</id>
+ <name>JavaParser Maven Snapshots Repository</name>
+ <url>svn:https://javaparser.googlecode.com/svn/maven2-snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+ <outputDirectory>bin</outputDirectory>
+ <testOutputDirectory>bin</testOutputDirectory>
+ <extensions>
+ <extension>
+ <groupId>org.jvnet.wagon-svn</groupId>
+ <artifactId>wagon-svn</artifactId>
+ <version>1.9</version>
+ </extension>
+ </extensions>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>ignore/**</exclude>
+ <exclude>**/*$*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ <resources>
+ </resources>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>java.net.m2</id>
+ <url>http://download.java.net/maven/2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+</project>
\ No newline at end of file
diff --git a/javaparser.spec b/javaparser.spec
new file mode 100644
index 0000000..970a91d
--- /dev/null
+++ b/javaparser.spec
@@ -0,0 +1,100 @@
+Name: javaparser
+Version: 1.0.8
+Release: 1%{?dist}
+Summary: Java 1.5 Parser and AST
+Group: Development/Libraries
+License: GPLv3+ and LGPLv3+
+URL: http://code.google.com/p/javaparser/
+Source0: http://javaparser.googlecode.com/files/%{name}-%{version}-src.zip
+Source1: http://%{name}.googlecode.com/svn/maven2/com/google/code/%{name}/%{name}/%{version}/%{name}-%{version}.pom
+# remove org.jvnet.wagon-svn wagon-svn 1.9
+Patch0: %{name}-%{version}-remove-wagon-svn.patch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+
+# test deps
+BuildRequires: junit
+
+BuildRequires: javacc
+BuildRequires: maven
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-surefire-plugin
+# BuildRequires: maven-surefire-provider-junit4
+BuildRequires: sonatype-oss-parent
+
+Requires: java
+Requires: jpackage-utils
+BuildArch: noarch
+
+%description
+A Java 1.5 Parser with AST generation and visitor support.
+The AST records the source code structure, java doc and
+comments. It is also possible to change the AST nodes or
+create new ones to modify the source code.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -c
+
+cp -p %{SOURCE1} pom.xml
+%patch0 -p0
+
+for s in $(find . -name "*.java");do
+ native2ascii -encoding UTF8 ${s} ${s}
+done
+
+for d in COPYING readme.txt ; do
+ iconv -f iso8859-1 -t utf-8 $d > $d.conv && mv -f $d.conv $d
+ sed -i 's/\r//' $d
+done
+
+sed -i 's/\r//' COPYING.LESSER
+
+%build
+
+(
+ cd src/japa/parser
+ rm JavaCharStream.java ParseException.java Token.java TokenMgrError.java
+ javacc.sh java_1_5.jj
+)
+
+# test skip http://code.google.com/p/javaparser/issues/detail?id=43
+mvn-rpmbuild -Dproject.build.sourceEncoding=UTF-8 -Dmaven.test.skip=true install javadoc:aggregate
+
+%install
+
+mkdir -p %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+mkdir -p %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%files
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%doc COPYING COPYING.LESSER readme.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc COPYING COPYING.LESSER readme.txt
+
+%changelog
+* Thu Jul 26 2012 gil cattaneo <puntogil(a)libero.it> 1.0.8-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..565508d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84b3df6e8cf6331e6d3f7eaebbd70140 javaparser-1.0.8-src.zip
11 years, 9 months
Re: [java-sig-commits] classpathx-mail has been deprecated
by Orion Poplawski
On 07/30/2012 03:09 AM, Mikolaj Izdebski wrote:
> Hi all,
>
> classpathx-mail has recently been deprecated. Please build your packages
> against javamail package, which should be compatible with classpathx-mail.
>
> classpathx-mail used to have javamail virtual provide, so unless your
> packages referenced classpathx-mail directly there should be no need
> to change them (but in this case release tag bump and rebuild may still
> be needed).
>
> The following packages were using classpathx-mail:
> * ant,
> * apache-commons-email,
> * apache-commons-vfs,
> * axis,
> * axis2,
> * bouncycastle-mail,
> * cxf,
> * dumbster,
> * ironjacamar,
> * jboss-as,
> * jtnef,
> * maven-doxia,
> * mx4j,
> * ooo2gd,
> * ovirt-engine,
> * quartz,
> * resteasy.
>
> Thanks,
> Mikolaj Izdebski
>
I think the mass rebuild may have taken care of this. At least the jtnef
build on July 20th built against javamail-1.4.3-11.fc18.noarch.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com
11 years, 9 months
[Bug 845076] New: Fix OSGi manifests for httpmime jar
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=845076
Bug ID: 845076
QA Contact: extras-qa(a)fedoraproject.org
Severity: unspecified
Version: rawhide
Priority: unspecified
CC: java-sig-commits(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, kdaniel(a)redhat.com,
mizdebsk(a)redhat.com, sochotni(a)redhat.com
Assignee: sochotni(a)redhat.com
Summary: Fix OSGi manifests for httpmime jar
Regression: ---
Story Points: ---
Classification: Fedora
OS: Unspecified
Reporter: arobinso(a)redhat.com
Type: Bug
Documentation: ---
Hardware: Unspecified
Mount Type: ---
Status: NEW
Component: httpcomponents-client
Product: Fedora
httpmime.jar used to export org.apache.http.entity.mime.content,
org.apache.http.entity.mime but the manifest in the rawhide package does not.
Can this be redone?
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 9 months
[httpcomponents-client] Fix OSGi manifest in httpmime
by Mikolaj Izdebski
commit 9dc0c8be526bab9ecf42b3a9cd2e34396cae470c
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Wed Aug 1 18:49:40 2012 +0200
Fix OSGi manifest in httpmime
httpcomponents-client.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec
index ea4ab74..eef08f2 100644
--- a/httpcomponents-client.spec
+++ b/httpcomponents-client.spec
@@ -3,7 +3,7 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@@ -53,7 +53,7 @@ Requires: jpackage-utils
# Add proper Apache felix bundle plugin instructions
# so that we get a reasonable OSGi manifest.
-for module in httpclient httpclient; do
+for module in httpclient httpmime; do
%pom_xpath_remove "pom:project/pom:packaging" $module
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" $module
done
@@ -138,6 +138,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
+* Wed Aug 1 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 4.2.1-3
+- Fix OSGi manifest in httpmime
+
* Fri Jul 27 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 4.2.1-2
- Install NOTICE.txt file
- Fix javadir directory ownership
11 years, 9 months