`

使用ant编译时错误:Specify at least one source--a file or resource

阅读更多

将命令环境切换到Nutch目录下,执行ant命令。出现如下错误:
Java代码

Buildfile: build.xml   
init: 
BUILD FAILED 
/home/xp/nutch-1.2/build.xml:62: Specify at least one source--a file or resource 
collection. 
Total time: 0 seconds

解决办法有两个:

(1). 从SVN: ­http://svn.apache.org/viewvc/nutch/tags/release-1.2/conf/ 下载缺失的 config/*.template文件。
(2).修改 build.xml,去掉62-64行,让它不再需要template文件。

2
2
分享到:
评论

相关推荐

    官网下载:Windows-KB841290-x86-ENU.zip

    It computes a MD5 or SHA1 cryptographic hash of the content of the file. If the file is modified, the hash is different. With fciv, you can compute hashes of all your sensitive files. When you ...

    wget改进版pwget.zip

    -c --cokiefile: specify a cookie file to use -o --overwrite: force overwritting of files -m --mirror: only download if size differs -t --time: time to sleep between requests in seconds (float) ...

    kubernetes-dashboard.yaml

    # 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 ...

    greenplum-db-6.2.1-rhel7-x86_64.rpm

    PXF introduces a new template file, pxf-site.xml, to specify the Kerberos and impersonation property settings for a Hadoop or JDBC server configuration. Refer to About Kerberos and User Impersonation ...

    java反编译工具jad 1.5.8g(可以反编译jdk1.5,1.6)

    java反编译工具jad 1.5.8g支持 jdk1.5,jdk1.6。 说明很多 记住一个万能的命令基本就够用了。 jad -sjava -r -8 -o **\*.class <br>--------------- This is README file for Jad - the fast Java ...

    编译好的x265,带y4m文件

    --analysis-file <filename> Specify file name used for either dumping or reading analysis data. --aq-mode <integer> Mode for Adaptive Quantization - 0:none 1:uniform AQ 2:auto variance. Default 2 --...

    fastboot 2020年 android10版本 ubuntu linux平台

    get_staged OUT_FILE Writes data staged by the last command to a file. options: -w Wipe userdata. -s SERIAL Specify a USB device. -s tcp|udp:HOST[:PORT] Specify a network device. -S SIZE[K|M|G] ...

    Java反编译软件JAD1

    Java反编译软件JAD1 ad -sjava example1.class生成example1.java文件,十分准确。 This is README file for Jad - the fast Java Decompiler. Jad home page: ...

    pycurl-7.43.0.3-cp27-cp27m-win-amd64.whl

    Windos下安装pyspider报错:Please specify --curl-dir=/path/to/built/libcurl Windos下安装pyspider报错:Please specify --curl-dir=/path/to/built/libcurl Windos下安装pyspider报错:Please specify --curl-dir=/...

    lichee_20170502_1607_全志R16的linux系统编译需要改动的文件_使用parrotv1.1的内核_没有外层目录.7z

    bell-one 1. evb 2. evb-20 3. evb-30 4. evb-rtl8723bs 5. sc3813r Choice: 3 rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh KCONFIG_AUTOCONFIG=/home/wwt/linux_r16/...

    VC资源文件版本更新工具 (与Subversion版本同步)

    -rc rc-file specify the .rc file name. Example: * Mark revision of version info in sth.rc as current svn revision. VersionMaker -rc sth.rc --------------------------------------------- 自主...

    Senfore_DragDrop_v4.1

    Several user have reported that they occasionally get one or more of the following compiler errors: [C++ Error] DragDropFile.hpp(178): E2450 Undefined structure '_FILEDESCRIPTORW' [C++ Error] ...

    gitlab-ci-validate:检查您的 .gitlab-ci.yml 文件是否有效

    gitlab-ci-validate 检查您的 .gitlab-ci.yml 文件是否有效。...You can specify your own gitlab host if you need$ gitlab-ci-validate <file> --host https://my-gitlab-url# You can provide a

    Specify-the-file-to-print.zip_labview打印

    labview调用Windows aip实现打印指定文件

    au3反编译源码

    au3反编译源码 myAut2Exe - The Open Source AutoIT Script Decompiler 2.9 ======================================================== *New* full support for AutoIT v3.2.6++ :) ... mmh here's what I ...

    mgsc-js:MML到MGS编译器Javascript

    选项$ mgsc-jsUsage: mgsc [options] source[options] -o, --output FILE : Specify the output filename. -e, --encode ENCODE : Specify the input file encoding [default:AUTO]. Available encodings: UTF16, ...

    linux mount报错:you must specify the filesystem type的解决方法

    主要介绍了linux mount报错:you must specify the filesystem type的解决方法,文中给出了详细的解决方法示例,对大家具有一定的参考价值,需要的朋友们下面来一起看看吧。

    gun tar for windows

    -l, --one-file-system stay in local file system when creating archive -K, --starting-file=NAME begin at file NAME in the archive -N, --newer=DATE only store files newer than DATE --newer-mtime ...

    wget-1.11.4-1

    -a, --append-output=FILE append messages to FILE. -d, --debug print lots of debugging information. -q, --quiet quiet (no output). -v, --verbose be verbose (this is the default). -nv, --no-verbose...

    harmonyos2-uglifyjs-folder:在文件夹上运行uglifyjs/terser并将结果缩小到单个文件或新文件夹中的命令

    Specify a file/folder to write the minified code -e --each Minify each file independently -x --extension Minified file extension (default: .min.js) -p --pattern Specifies a comma separated glob ...

Global site tag (gtag.js) - Google Analytics