Code Search for Developers
 
 
  

cruisecontrol.bat from cruisecontrol at Krugle


Show cruisecontrol.bat syntax highlighted

@echo off

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

REM Uncomment the following line if you have OutOfMemoryError errors
REM set CC_OPTS=-Xms128m -Xmx256m

REM The root of the CruiseControl directory.  The key requirement is that this is the parent
REM directory of CruiseControl's lib and dist directories.
REM By default assume they are using the batch file from the local directory.
REM Acknowledgments to Ant Project for this batch file incantation
REM %~dp0 is name of current script under NT
set DEFAULT_CCDIR=%~dp0
REM : operator works similar to make : operator
set DEFAULT_CCDIR=%DEFAULT_CCDIR%\..\..\main

if not defined CCDIR set CCDIR=%DEFAULT_CCDIR%
set DEFAULT_CCDIR=

:checkJava
if not defined JAVA_HOME goto noJavaHome
set JAVA_PATH="%JAVA_HOME%\bin\java"
goto setCruise

:noJavaHome
echo WARNING: You have not set the JAVA_HOME environment variable. Any tasks relying on the tools.jar file (such as javac) will not work properly.
set JAVA_PATH=java

:setCruise
set LIBDIR=%CCDIR%\lib
set DISTDIR=%CCDIR%\dist

REM some of these need slashes (to get jars via -lib), others do not (conf dir)
set CCDIST=%CCDIR%\..\contrib\distributed
set CCDIST_BUILDER=%CCDIST%\dist\builder\
set CCDIST_CORE=%CCDIST%\dist\core\
set CCDIST_JINICORE=%CCDIST%\jini-core\
set CCDIST_CONF=%CCDIST%\conf

set EXEC=%JAVA_PATH% %CC_OPTS% -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder -Djava.security.policy=%CCDIST_CONF%\insecure.policy -Dcc.library.dir=%LIBDIR% -Dcc.dist.dir=%DISTDIR% -jar %DISTDIR%\cruisecontrol-launcher.jar -lib "%JAVA_HOME%\lib\tools.jar" -lib %CCDIST_BUILDER%;%CCDIST_CORE%;%CCDIST_JINICORE%;%CCDIST_CONF% %*
echo %EXEC%
%EXEC%





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

  conf/
    README.html
    agent-build.xml
    agent.properties
    cruise.properties
    insecure.policy
    jini.logging
    log4j.properties
    lookup-build.xml
    start-jini.config
    transient-reggie.config
    user-defined.properties
    util-build.xml
  jini-core/
    jini-core.jar
    jini-ext.jar
  jini-lib/
    jsk-lib.jar
    jsk-platform.jar
    reggie.jar
    start.jar
    tools.jar
  jini-lib-dl/
    jsk-dl.jar
    reggie-dl.jar
  lib/
    licenses/
      apache-license-2.0.txt
  src/
    net/
      sourceforge/
        cruisecontrol/
          builders/
            DistributedMasterBuilder.java
          distributed/
            core/
              CCDistVersion.java
              FileUtil.java
              MulticastDiscovery.java
              PreferencesHelper.java
              ProgressRemote.java
              ProgressRemoteImpl.java
              PropertiesHelper.java
              ReggieUtil.java
              ZipUtil.java
            util/
              BuildAgentUtility.java
              InteractiveBuildUtility.java
              JiniLookUpUtility.java
            BuildAgent.java
            BuildAgentEntryOverrideUI.java
            BuildAgentService.java
            BuildAgentServiceImpl.java
            BuildAgentUI.java
            PropertyEntry.java
            SearchablePropertyEntries.java
  test/
    net/
      sourceforge/
        cruisecontrol/
          builders/
            DistributedMasterBuilderNoLookupTest.java
            DistributedMasterBuilderTest.java
          distributed/
            core/
              FileUtilTest.java
              MulticastDiscoveryTest.java
              PropertiesHelperTest.java
              ZipUtilTest.java
            util/
              BuildAgentUtilityTest.java
            BuildAgentEntryOverrideUITest.java
            BuildAgentServiceImplTest.java
            BuildAgentTest.java
    testdist.agent.properties
    testdist.properties
    testdist.user-defined.properties
  webcontent/
    webstart/
      WEB-INF/
        lib/
          jnlp-servlet.jar
        agent-web.xml
      agent.jnlp
  README.html
  build-sign.properties
  build.xml
  ccdist.version.properties
  checkstyleSuppressions.xml
  cruisecontrol.bat
  cruisecontrol.sh