diff options
Diffstat (limited to 'buildScripts/deps/findbugs.ant.xml')
-rw-r--r-- | buildScripts/deps/findbugs.ant.xml | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/buildScripts/deps/findbugs.ant.xml b/buildScripts/deps/findbugs.ant.xml deleted file mode 100644 index 6aeedb79..00000000 --- a/buildScripts/deps/findbugs.ant.xml +++ /dev/null @@ -1,79 +0,0 @@ -<!-- - Copyright © 2009 Reinier Zwitserloot and Roel Spilker. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. ---> -<project name="lombok-deps-findbugs" basedir="../.." default="install"> - <description> -This buildfile is part of projectlombok.org. It responsible for finding, downloading, and updating findbugs. - </description> - - <property name="findbugs.dir" location="deps/buildScripts/findbugs" /> - - <target name="-grab-findbugs-if-wanted" unless="findbugs.available" if="findbugs.grab"> - <antcall target="-grab-findbugs" /> - </target> - - <target name="-grab-findbugs" unless="findbugs.available"> - <mkdir dir="build/findbugs" /> - <mkdir dir="${findbugs.dir}" /> - <echo>Downloading findbugs v1.3.9 from sourceforge...</echo> - <get - src="http://mesh.dl.sourceforge.net/project/findbugs/findbugs/1.3.9/findbugs-1.3.9.tar.gz" - dest="build/findbugs/findbugs.tar.gz" - verbose="true" /> - <untar src="build/findbugs/findbugs.tar.gz" compression="gzip" dest="${findbugs.dir}"> - <mapper type="glob" from="findbugs-1.3.9/*" to="*" /> - <patternset> - <exclude name="findbugs-1.3.9/doc" /> - <exclude name="findbugs-1.3.9/doc/**" /> - </patternset> - </untar> - </target> - - <target name="-check-findbugs" unless="findbugs.available"> - <available property="findbugs.available" file="${findbugs.dir}/bin/findbugs" /> - </target> - - <target name="install-silent" depends="-check-findbugs, -grab-findbugs"> - <condition property="lombok.patcher.git.grab"> - <not><isset property="lombok.patcher.available.git" /></not> - </condition> - <antcall target="-grab-git-lombok.patcher" /> - <antcall target="-update-git-lombok.patcher" /> - </target> - - <target name="install" depends="-check-findbugs, -missing-findbugs" /> - - <target name="update" /> - <target name="build" /> - - <target name="-missing-findbugs" unless="findbugs.available"> - <input validArgs="s,S,skip,Skip,SKIP,g,d,D,download,Download,DOWNLOAD" addproperty="missing1.feedback"> -You don't have the findbugs dependency. If you want to run the 'ant findbugs' task to run findbugs on the lombok sources, you'll need it. Otherwise, you can skip it. If you want me to do so, I will download findbugs now and unpack it in the appropriate place (deps/buildScripts/findbugs). The file will be downloaded from sourceforge. - Pick one (first letter will do): - Skip - Skips this download. This dependency is optional. - Download - Grabs findbugs, so that you can run 'ant findbugs'. - </input> - <condition property="findbugs.grab"> - <matches string="${missing1.feedback}" casesensitive="false" pattern="^d(ownload)?$" /> - </condition> - <antcall target="-grab-findbugs-if-wanted" /> - </target> -</project> |