James M Snell wrote:
Heh... no patch attached :-)

It's not been the best week ... I spent the last ten minutes setting up thunderbird (so long Mail.App).

fingers crossed!

AC

Index: pom.xml
===================================================================
--- pom.xml     (revision 523122)
+++ pom.xml     (working copy)
@@ -281,6 +281,7 @@
   </dependencyManagement>
   
   <modules>
+    <module>dependencies/i18n</module>
     <module>dependencies/json</module>
     <module>core</module>
     <module>parser</module>
Index: core/pom.xml
===================================================================
--- core/pom.xml        (revision 523122)
+++ core/pom.xml        (working copy)
@@ -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>
Index: dependencies/i18n/build.properties
===================================================================
--- dependencies/i18n/build.properties  (revision 0)
+++ dependencies/i18n/build.properties  (revision 0)
@@ -0,0 +1,7 @@
+# $Id$
+version=0.3.0-incubating-SNAPSHOT
+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
Index: dependencies/i18n/pom.xml
===================================================================
--- dependencies/i18n/pom.xml   (revision 0)
+++ dependencies/i18n/pom.xml   (revision 0)
@@ -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>
+  <parent>
+       <groupId>org.apache.abdera</groupId>
+       <artifactId>abdera</artifactId>
+       <version>0.3.0-incubating-SNAPSHOT</version>
+  </parent>
+  <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>
+               <scope>test</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>
Index: dependencies/i18n/build.xml
===================================================================
--- dependencies/i18n/build.xml (revision 0)
+++ dependencies/i18n/build.xml (revision 0)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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>

Reply via email to