commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@zenplex.com>
Subject Re: cvs commit: jakarta-commons/logging project.xml
Date Fri, 09 Aug 2002 21:41:48 GMT
On Fri, 2002-08-09 at 17:32, rsitze@us.ibm.com wrote:
> Hmm... If I understand that right, then that is NOT the behaviour you want 
> for formal build 'dist'.

This was discussed briefly in that how would you actually know what you
have. Depends who is building the distribution. If it's built with 1.4
does it run properly on 1.3. I haven't tried it myself.

What I added is a mimic of what's currently being done in Ant builds
like commons-logging and avalon-framework.

Currently commons-logging will happily build the dist if Java 1.4 is not
present. A simple warning would suffice if the package is indeed
supposed to be built with 1.4. Same thing is easily accomplished in
Maven.
 
> I thought the project.xml was part of gump?  If not, never mind. 

That file is a Maven project descriptor. Nothing to do with Gump.

> Otherwise, I would think that it should be *very* vocal about broken 
> builds if dependencies cannot be found.

I don't know what the official policy is with respect to commons-logging
in particular. I suspect Craig does it with Java 1.4.

> 
> *******************************************
> Richard A. Sitze
> IBM WebSphere WebServices Development
> 
> 
> jvanzyl     2002/08/09 12:59:49
> 
>   Modified:    logging  project.xml
>   Log:
>   o With the addition of a <sourceModification> element I can now build
>     commons-logging with Java 1.3. The Jdk14Logger class is exclude if
>     you don't have what you need to build it.
>  
>   Revision  Changes    Path
>   1.4       +11 -0     jakarta-commons/logging/project.xml
>  
>   Index: project.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/logging/project.xml,v
>   retrieving revision 1.3
>   retrieving revision 1.4
>   diff -u -r1.3 -r1.4
>   --- project.xml                26 Jul 2002 20:29:46 -0000 1.3
>   +++ project.xml                9 Aug 2002 19:59:49 -0000 1.4
>   @@ -35,4 +35,15 @@
>  
>      </dependencies>
>  
>   +  <build>
>   +    <sourceModifications>
>   +      <sourceModification>
>   +        <className>java.util.logging.Logger</className>
>   +        <excludes>
>   +          <exclude>**/Jdk14Logger.java</exclude>
>   +        </excludes>
>   +      </sourceModification>
>   +    </sourceModifications>
>   +  </build>
>   +
>    </project>
>  
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jason@apache.org
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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


Mime
View raw message