commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Reilly <timothyrei...@gmail.com>
Subject Re: New componenent: i18n
Date Sat, 09 Oct 2004 02:06:15 GMT
Daniel,

Catching up on my emails for a moment...I noticed no one has replied
here, unless I missed it? Curious about your question I checked out
i18n ... hmm..seems: pomArtifactId comes from the name element and not
the id element. I recognize the error as possible missing <package>
element. In this case since project.xml in sandbox-build reads:

 <package>org.apache.commons.${pom.artifactId.substring(8)}.*</package>

... and you have a capital I18n in the name element... it didn't find
the sources for the package i18n. Just a letter-case thing.

Remember the ASL 2.0. in the project.xml

Below are 2 patches (with an additional thing (something I needed
once) in the patches. This line in project.properties and related in
the pom;

+commons.project.extendsUri=../sandbox-build/

Allowing parameterization of the relative path to sandbox-build

Index: project.properties
===================================================================
RCS file: /home/cvspublic/jakarta-commons-sandbox/i18n/project.properties,v
retrieving revision 1.3
diff -u -r1.3 project.properties
--- project.properties 6 Oct 2004 08:48:07 -0000 1.3
+++ project.properties 9 Oct 2004 01:50:09 -0000
@@ -34,3 +34,9 @@
# Jars set explicity by path.
# ------------------------------------------------------------------------
maven.jar.xml-im-exporter = ${basedir}/lib/xml-im-exporter1.1.jar
+
+# ------------------------------------------------------------------------
+# Commons specific
+# ------------------------------------------------------------------------
+# Allow flexible checkout of these two projects
+commons.project.extendsUri=../sandbox-build/

Index: project.xml
===================================================================
RCS file: /home/cvspublic/jakarta-commons-sandbox/i18n/project.xml,v
retrieving revision 1.4
diff -u -r1.4 project.xml
--- project.xml 6 Oct 2004 08:48:07 -0000 1.4
+++ project.xml 9 Oct 2004 02:02:13 -0000
@@ -1,7 +1,23 @@
<?xml version="1.0"?>
+<!--
+   Copyright 2004 The Apache Software Foundation
+
+   Licensed 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.
+  -->
<project>
-  <extend>../sandbox-build/project.xml</extend>
-  <name>Commons I18n</name>
+  <extend>${commons.project.extendsUri}project.xml</extend>
+  
+  <name>Commons i18n</name>
  <id>commons-i18n</id>
  <logo>/images/i18n-logo-white.png</logo>
  <url>http://jakarta.apache.org/commons/sandbox/i18n/</url>
@@ -21,10 +37,10 @@
      <id>dflorey</id>
      <email>dflorey@apache.org</email>
      <organization>Apache Software Foundation</organization>
-      <timezone>+2</timezone>
      <roles>
         <role>Java Developer</role>
      </roles>
+      <timezone>+2</timezone>
    </developer>
  </developers>
  

hth,
-TR


On Mon, 4 Oct 2004 15:54:41 +0200, Daniel Florey <daniel.florey@web.de> wrote:
> Hi folks,
> 
> I'm a Slide committer for a while and now extracted a tiny package called
> i18n that I found to be very useful in several projects in the past.
> 
> I wanted to add it to the sandbox, but unfortunately didn't even manage to
> build the site with maven correctly. Everything works fine except the
> javadoc generation.
> 
> The javadoc-plugin states that no sources can be found. I've upgraded to
> javadoc plugin 1.7 but this won't help.
> 
> Can anyone of the maven experts around have a look at this problem? As I'm
> very new to maven I think it's most likely fault.
> 
> I've just added the sources to the CVS ({sandbox}/i18n).
> 
> Many thanks in advance,
> 
> 
> Daniel
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message