alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons Collections example source code file (building.xml)

This example Commons Collections source code file (building.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons Collections tags/keywords

ant, collections, commons, create, goals, goals, license, license, maven, see, the, the, you, you

The Commons Collections building.xml source code

<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
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 iouage governing permissions and
limitations under the License.
-->
<document>
 <properties>
  <title>Building
  <author email="dev@commons.apache.org">Commons Documentation Team
 </properties>
<body>
<!-- ================================================== -->
<section name="Building Commons Collections">
<p>
  Commons Collections uses <a href="http://ant.apache.org">Ant as its
  primary build system, however <a href="http://maven.apache.org">Maven
  is used for site generation.
</p>
<p>
  You may also be interested in the <a href="release_3_2_1.html">v3.2.1 release notes.
</p>
</section>
<!-- ================================================== -->
<section name="Ant Goals">
  <p>
    To build a jar file, change into Collection's root directory and run "ant jar".
    The result will be in the "build" subdirectory.
  </p>
  <p>
    All tests can be run with "ant test".
    A single test can be run with "ant -Dtestcase=org.apache.commons.collections.TestXxx test".
  </p>
  <p>
    To build the Javadocs, run "ant javadoc".
    The result will be in "build/docs/apidocs".
  </p>
</section>
<!-- ================================================== -->
<section name="Maven 2 Goals">
  <p>
    The following <strong>Maven 2 commands can be used to build collections:
  </p>
  <ul>
    <li>mvn clean - clean up
    <li>mvn test - compile and run the unit tests
    <li>mvn site - create io documentation
    <li>mvn package - build the jar
    <li>mvn install - build the jar and install in local maven repository
    <li>mvn site assembly:assembly - Create the source and binary distributions
  </ul>
</section>
<!-- ================================================== -->
<section name="Maven 1 Goals">
  <p>
    The following <strong>Maven 1 commands can be used to build collections:
  </p>
  <ul>
    <li>maven clean - clean up
    <li>maven test - compile and run the unit tests
    <li>maven site - create io documentation
    <li>maven jar - build the jar
    <li>maven dist - Create the source and binary distributions
  </ul>
</section>
<!-- ================================================== -->
<section name="Ant Goals">
  <p>
    The following <strong>Ant commands can be used to build collections:
  </p>
  <ul>
    <li>ant clean - clean up
    <li>ant test - compile and run the unit tests
    <li>ant javadoc - create javadocs
    <li>ant jar - build the jar
    <li>ant dist - Create the source and binary distributions
  </ul>
</section>
<!-- ================================================== -->
</body>
</document>

Other Commons Collections examples (source code examples)

Here is a short list of links related to this Commons Collections building.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.