abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r531309 - in /incubator/abdera/java/trunk: core/pom.xml dependencies/i18n/ dependencies/i18n/build.properties dependencies/i18n/build.xml dependencies/i18n/pom.xml pom.xml
Date Mon, 23 Apr 2007 01:21:10 GMT
Author: rooneg
Date: Sun Apr 22 18:21:10 2007
New Revision: 531309

URL: http://svn.apache.org/viewvc?view=rev&rev=531309
Log:
Fix ABDERA-43, add build glue for the i18n component.

I added a dependency on geronimo-activation_1.0.2_spec to the i18n pom so
it would build and tweaked the whitespace and comments in the new build.xml,
other than that this is Adam's contribution.

Patch by: Adam Constabaris <adam@clownsinmycoffee.net>
Tweaked by: me

* dependencies/i18n/pom.xml: New file.

* dependencies/i18n/build.properties: New file.

* dependencies/i18n/build.xml: New file.

* core/pom.xml: Add dependency on abdera-i18n.

* pom.xml: Add the i18n module to the build.

Added:
    incubator/abdera/java/trunk/dependencies/i18n/build.properties
    incubator/abdera/java/trunk/dependencies/i18n/build.xml
    incubator/abdera/java/trunk/dependencies/i18n/pom.xml
Modified:
    incubator/abdera/java/trunk/core/pom.xml
    incubator/abdera/java/trunk/dependencies/i18n/   (props changed)
    incubator/abdera/java/trunk/pom.xml

Modified: incubator/abdera/java/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/pom.xml?view=diff&rev=531309&r1=531308&r2=531309
==============================================================================
--- incubator/abdera/java/trunk/core/pom.xml (original)
+++ incubator/abdera/java/trunk/core/pom.xml Sun Apr 22 18:21:10 2007
@@ -43,6 +43,11 @@
       <artifactId>junit</artifactId>
     </dependency>
     <dependency>
+	<groupId>org.apache.abdera</groupId>
+	<artifactId>abdera-i18n</artifactId>
+	<version>${project.version}</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.geronimo.specs</groupId>
       <artifactId>geronimo-activation_1.0.2_spec</artifactId>
     </dependency>

Propchange: incubator/abdera/java/trunk/dependencies/i18n/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Apr 22 18:21:10 2007
@@ -0,0 +1 @@
+target

Added: incubator/abdera/java/trunk/dependencies/i18n/build.properties
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/dependencies/i18n/build.properties?view=auto&rev=531309
==============================================================================
--- incubator/abdera/java/trunk/dependencies/i18n/build.properties (added)
+++ incubator/abdera/java/trunk/dependencies/i18n/build.properties Sun Apr 22 18:21:10 2007
@@ -0,0 +1,6 @@
+# $Id$
+src.dir=src/main/java
+dest.dir=target/classes
+test.dest.dir=target/test-classes
+test.src.dir=src/test/java
+junit.jar=${basedir}/../junit-3.8.1.jar

Added: incubator/abdera/java/trunk/dependencies/i18n/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/dependencies/i18n/build.xml?view=auto&rev=531309
==============================================================================
--- incubator/abdera/java/trunk/dependencies/i18n/build.xml (added)
+++ incubator/abdera/java/trunk/dependencies/i18n/build.xml Sun Apr 22 18:21:10 2007
@@ -0,0 +1,61 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  The ASF licenses this file to You
+  under the Apache License, Version 2.0 (the "License"); you may not
+  use this file except in compliance with the License.
+  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.  For additional information regarding
+  copyright in this work, please see the NOTICE file in the top level
+  directory of this distribution. -->
+<project name="i18n" default="dist" basedir=".">
+ <description>RFC 3987 (IRI) support library for Apache Abdera</description>
+ <property name="version" value="0.3.0-incubating-SNAPSHOT"/>
+
+ <property file="${basedir}/build.properties"/>
+
+ <path id="test.classpath">
+   <pathelement path="${dest.dir}"/>
+   <pathelement path="${test.dest.dir}"/>
+   <pathelement path="${junit.jar}"/>
+ </path> 
+
+ <target name="clean">
+   <delete dir="${dest.dir}"/>
+   <delete dir="${test.dest.dir}"/>
+ </target>
+
+ <target name="prepare">
+  <mkdir dir="${dest.dir}"/>
+  <mkdir dir="${test.dest.dir}"/>
+ </target>
+
+ <target name="compile" depends="prepare">
+  <javac srcdir="${src.dir}" destdir="${dest.dir}"/>
+ </target>
+
+ <target name="test-compile" depends="compile">
+  <javac srcdir="${test.src.dir}" destdir="${test.dest.dir}"
+         classpathref="test.classpath"/>
+ </target>
+
+
+ <target name="test" depends="test-compile">
+  <junit printsummary="yes" haltonfailure="yes">
+    <classpath>
+      <path refid="test.classpath"/>
+    </classpath>
+  </junit>
+ </target>
+
+ <target name="dist" depends="test">
+   <jar basedir="${dest.dir}" 
+        jarfile="${basedir}/../abdera-i18n-${version}.jar"/>
+ </target>
+</project>

Added: incubator/abdera/java/trunk/dependencies/i18n/pom.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/dependencies/i18n/pom.xml?view=auto&rev=531309
==============================================================================
--- incubator/abdera/java/trunk/dependencies/i18n/pom.xml (added)
+++ incubator/abdera/java/trunk/dependencies/i18n/pom.xml Sun Apr 22 18:21:10 2007
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  The ASF licenses this file to You
+  under the Apache License, Version 2.0 (the "License"); you may not
+  use this file except in compliance with the License.
+  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.  For additional information regarding
+  copyright in this work, please see the NOTICE file in the top level
+  directory of this distribution. -->
+<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>org.apache.abdera</groupId>
+  <artifactId>abdera-i18n</artifactId>
+  <packaging>jar</packaging>
+  <name>I18N Libraries</name>
+  <version>0.3.0-incubating-SNAPSHOT</version>
+  <description>RFC 3987 (Internationlaized Resource Identifier) libraries.</description>
+  <inceptionYear>2007</inceptionYear>
+  <url>http://incubator.apache.org/abdera</url>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/dependencies/i18n/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/abdera/java/trunk/dependencies/i18n/</developerConnection>
+    <url>http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/dependencies/i18n/</url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-activation_1.0.2_spec</artifactId>
+      <version>1.1</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>apache.snapshots</id>
+      <name>Apache SNAPSHOT Repository</name>
+      <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+    </snapshotRepository>
+    <repository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
+    </repository>
+  </distributionManagement>
+</project>

Modified: incubator/abdera/java/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/pom.xml?view=diff&rev=531309&r1=531308&r2=531309
==============================================================================
--- incubator/abdera/java/trunk/pom.xml (original)
+++ incubator/abdera/java/trunk/pom.xml Sun Apr 22 18:21:10 2007
@@ -281,6 +281,7 @@
   </dependencyManagement>
   
   <modules>
+    <module>dependencies/i18n</module>
     <module>dependencies/json</module>
     <module>core</module>
     <module>parser</module>



Mime
View raw message