|
Groovy example source code file (build-setup.xml)
The Groovy build-setup.xml source code<?xml version="1.0"?> <!-- 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. This work is copyright by the author(s) and is part of a greater work collectively copyright by the Groovy community. See the NOTICE.txt file distributed with this work for additional information. Author : Paul King $Revision: 5519 $ ($LastChangedBy: paulk $) $Date: 2007-03-11 19:14:07 +1000 (Sun, 11 Mar 2007) $ --> <project name="build-setup" default="" basedir="../.."> <property name="bootstrapDirectory" location="bootstrap"/> <property name="sourceDirectory" value="src"/> <property name="wikiPdfDirectory" value="src"/> <property name="mainSourceDirectory" location="${sourceDirectory}/main"/> <property name="testSourceDirectory" value="${sourceDirectory}/test"/> <!-- TODO temp hack - remove once modules are in place --> <property name="jmxSourceDirectory" location="subprojects/groovy-jmx/src"/> <property name="bsfSourceDirectory" location="subprojects/groovy-bsf/src"/> <property name="mainSourcePath" value="${sourceDirectory}/main:${jmxSourceDirectory}/main/java:${jmxSourceDirectory}/main/groovy:${bsfSourceDirectory}/main/java"/> <property name="testSourcePath" value="${sourceDirectory}/test:${jmxSourceDirectory}/test/java:${jmxSourceDirectory}/test/groovy:${bsfSourceDirectory}/test/java"/> <property name="toolsSourceDirectory" location="${sourceDirectory}/tools"/> <property name="examplesSourceDirectory" location="${sourceDirectory}/examples"/> <property name="targetDirectory" value="target"/> <property name="installDirectory" value="${targetDirectory}/install"/> <property name="cruiseReportRootDirectory" value="${targetDirectory}/root"/> <property name="stagingDirectory" value="${targetDirectory}/staging"/> <property name="docsDirectory" value="${targetDirectory}/html"/> <property name="mainClassesDirectory" value="${targetDirectory}/classes"/> <property name="testClassesDirectory" value="${targetDirectory}/test-classes"/> <property name="toolsClassesDirectory" value="${targetDirectory}/tools-classes"/> <property name="mainStubsDirectory" value="${targetDirectory}/stubs"/> <property name="testStubsDirectory" value="${targetDirectory}/test-stubs"/> <property name="examplesClassesDirectory" value="${targetDirectory}/examples-classes"/> <property name="instrumentedClassesDirectory" value="${targetDirectory}/instrumented-classes"/> <property name="reportsDirectory" value="${targetDirectory}/reports"/> <property name="targetLibDirectory" value="${targetDirectory}/lib"/> <property name="targetDistDirectory" value="${targetDirectory}/dist"/> <property name="antlrDirectory" value="${mainSourceDirectory}/org/codehaus/groovy/antlr"/> <property name="groovyParserDirectory" value="${antlrDirectory}/parser"/> <property name="javaParserDirectory" value="${antlrDirectory}/java"/> <property name="compileLibDirectory" value="${targetLibDirectory}/compile"/> <property name="testLibDirectory" value="${targetLibDirectory}/test"/> <property name="runtimeLibDirectory" value="${targetLibDirectory}/runtime"/> <property name="toolsLibDirectory" value="${targetLibDirectory}/tools"/> <property name="examplesLibDirectory" value="${targetLibDirectory}/examples"/> <property name="extrasLibDirectory" value="${targetLibDirectory}/extras"/> <property name="junitRawDirectory" value="${targetDirectory}/test-reports"/> <property name="junitReportsDirectory" value="${reportsDirectory}/junit"/> <property name="relativePathToRealBasedir" value="."/> <property name="skipFetch" value="false"/> <macrodef name="antforked"> <attribute name="target"/> <attribute name="maxmemory" default="256m"/> <attribute name="classpathref" default="runtimePath"/> <sequential> <java classname="org.apache.tools.ant.launch.Launcher" fork="true" maxmemory="@{maxmemory}" failonerror="true"> <classpath refid="@{classpathref}"/> <jvmarg value="-Duser.home=${user.home}" /> <arg value="@{target}"/> <arg value="-DskipFetch=${skipFetch}"/> <arg value="-DruntimeLibDirectory=${runtimeLibDirectory}"/> <arg value="-DtoolsLibDirectory=${toolsLibDirectory}" /> </java> </sequential> </macrodef> </project> Other Groovy examples (source code examples)Here is a short list of links related to this Groovy build-setup.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.