Code Search for Developers
 
 
  

checklicense.xml from cruisecontrol at Krugle


Show checklicense.xml syntax highlighted

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/********************************************************************************
 * CruiseControl, a Continuous Integration Toolkit
 * Copyright (c) 2007, ThoughtWorks, Inc.
 * 200 E. Randolph, 25th Floor
 * Chicago, IL 60601 USA
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *     + Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *
 *     + Redistributions in binary form must reproduce the above
 *       copyright notice, this list of conditions and the following
 *       disclaimer in the documentation and/or other materials provided
 *       with the distribution.
 *
 *     + Neither the name of ThoughtWorks, Inc., CruiseControl, nor the
 *       names of its contributors may be used to endorse or promote
 *       products derived from this software without specific prior
 *       written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ********************************************************************************/
-->

<project>
	<target name="-check.license">
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="p4.jar" />
			<param name="production.license.file" value="p4-license.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="commons-collections-3.2.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="commons-io-1.3.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="commons-lang-2.2.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="commons-logging-1.1.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="mx4j.jar" />
			<param name="production.license.file" value="mx4j-license.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="mx4j-remote.jar" />
			<param name="production.license.file" value="mx4j-license.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="mx4j-tools.jar" />
			<param name="production.license.file" value="mx4j-license.txt" />
		</antcall>

		<antcall target="-check.license.exist">
			<param name="production.library.file" value="joda-time-1.4.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="log4j-1.2.12.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-aop.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-beans.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-context.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-core.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-jmx.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-support.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-web.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
        <antcall target="-check.license.exist">
            <param name="production.library.file" value="spring-webmvc.jar" />
            <param name="production.license.file" value="apache-license-2.0.txt" />
        </antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="velocity-1.5.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
		<antcall target="-check.license.exist">
			<param name="production.library.file" value="velocity-tools-view-1.2.jar" />
			<param name="production.license.file" value="apache-license-2.0.txt" />
		</antcall>
        <!-- we're not checking a license of the aopalliance.jar because that is in the public domain -->
    </target>

	<target name="-check.license.exist">
		<echo message="checking license for included jar ${production.library.file}....." />
		<available file="${basedir}/lib/${production.library.file}" property="jar.exist" />
		<available file="${basedir}/lib/licenses/${production.license.file}" property="license.exist" />
		<fail message="You are missing ${production.library.file} ">
			<condition>
				<isFalse value="${jar.exist}" />
			</condition>
		</fail>
		<fail message="You may be missing ${production.license.file}">
			<condition>
				<isFalse value="${license.exist}" />
			</condition>
		</fail>
	</target>

	<target name="--check.license" depends="-check.license" />
	<target name="check.license" depends="-check.license" description="check whether library is added and license missing" />
</project>







See more files for this project here

cruisecontrol

CruiseControl is a framework for a continuous build process. It includes, but is not limited to, plugins for email notification, Ant, and various source control tools. A web interface is provided to view the details of the current and previous builds.

Project homepage: http://sourceforge.net/projects/cruisecontrol
Programming language(s): Java,XML
License: other

  jsunit/
    app/
      css/
        jsUnitStyle.css
        readme
      emptyPage.html
      jsTestHelper.js
      jsUnitCore.js
      jsUnitMockTimeout.js
      jsUnitTestManager.js
      jsUnitTestSuite.js
      jsUnitTracer.js
      jsUnitVersionCheck.js
      main-counts-errors.html
      main-counts-failures.html
      main-counts-runs.html
      main-counts.html
      main-data.html
      main-errors.html
      main-frame.html
      main-loader.html
      main-progress.html
      main-results.html
      main-status.html
      testContainer.html
      testContainerController.html
      xbDebug.js
    css/
      jsUnitStyle.css
    images/
      green.gif
      logo_jsunit.gif
      powerby-transparent.gif
      red.gif
    java/
      bin/
      config/
        farm_xwork.xml
        xwork.xml
      lib/
        ant.jar
        commons-el.jar
        commons-logging.jar
        jasper-compiler.jar
        jasper-runtime.jar
        javax.servlet.jar
        jdom.jar
        jsunit.jar
        junit.jar
        ognl.jar
        org.mortbay.jetty.jar
        oscore.jar
        rife-continuations.jar
        start.jar
        stop.jar
        webwork-2.2-beta-4.jar
        xercesImpl-2.6.2.jar
        xwork-1.1.jar
    licenses/
      JDOM_license.txt
      Jetty_license.html
      MPL-1.1.txt
      gpl-2.txt
      index.html
      lgpl-2.1.txt
      mpl-tri-license-c.txt
      mpl-tri-license-html.txt
    tests/
      ajax_periodical_refresh_active_build_executer_test.html
      ajax_periodical_refresh_active_build_output_executer_oncomplete_test.html
      ajax_periodical_refresh_dashboard_executer_oncomplete_test.html
      ajax_periodical_refresh_dashboard_update_inactive_partial_links_test.htm
      ajax_periodical_refresh_dashboard_update_project_box_test.html
      ajax_refresh_active_build_commit_message_test.html
      ajax_tree_navigator_test.html
      ajax_update_icons_and_invoke_callback_function_test.html
      build_bar_observer_test.html
      build_detail_toggle_tab_content_test.html
      build_profile_observer_test.html
      build_profile_test.html
      cc_status_observer_test.html
      clean_text_node_test.html
      display_toolkit_test.html
      escape_project_name_test.html
      eval_timer_object_test.html
      evaluate_time_to_seconds_test.html
      get_link_by_building_status_test.html
      jsUnitTestSuite.html
      rounded_test.html
      statistics_observer_test.html
      timer_test.html
      toggle_tab_content_test.html
      toggle_tab_test.html
      tooltip_observer_test.html
      word_break_inserter_test.html
    index.jsp
    jsunit.xml
    logging.properties
    testRunner.html
  lib/
    buildtime/
    licenses/
    ant.jar
    aopalliance.jar
    commons-beanutils-core-1.7.0.jar
    commons-collections-3.2.jar
    commons-digester-1.8.jar
    commons-io-1.3.jar
    commons-lang-2.2.jar
    commons-logging-1.1.jar
    joda-time-1.4.jar
    log4j-1.2.12.jar
    mx4j-remote.jar
    mx4j-tools.jar
    mx4j.jar
    p4.jar
    spring-aop.jar
    spring-beans.jar
    spring-context.jar
    spring-core.jar
    spring-jmx.jar
    spring-support.jar
    spring-web.jar
    spring-webmvc.jar
    velocity-1.5.jar
    velocity-dep-1.4.jar
    velocity-tools-view-1.2.jar
    xercesImpl-2.8.1.jar
    xml-apis-1.3.03.jar
  properties/
    src/
    test/
  src/
    net/
  test/
    data/
    functional/
    performance/
    unit/
  webapp/
    WEB-INF/
    css/
    images/
    javascripts/
    index.html
  .checkstyle
  .classpath
  .project
  build.xml
  checklicense.xml
  checkstyleSuppressions.xml