------------------ant下载及配置------------------
下载ant的网址:http://ant.apache.org/
下载jdk的网址:http://java.sun.com/j2se/1.5.0/download.jsp
1:都直接进行解压
2、环境变量的设置
在‘我的电脑>>属性>>高级>>环境变量>>系统变量 下编辑
ANT_HOME=f:\files\ant
JAVA_HOME=f:\files\jdk
CLASSPATH=f:\files\jdk\lib\tools.jar
PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin
---------eclipse ant使用scp task所需的jar包---------
BUILD FAILED
/home/spidercoco/workspace/ebas-install/build.xml:13: Problem: failed to create task or type scp
Cause: Could not load a dependent class com/jcraft/jsch/UserInfo
It is not enough to have Ant's optional JARs
you need the JAR files that the optional tasks depend upon.
Ant's optional task dependencies are listed in the manual.
Action: Determine what extra JAR files are needed, and place them in one of:
-/usr/local/eclipse/plugins/org.apache.ant_1.7.0.v200803061910/lib
-/home/spidercoco/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
http://www.jcraft.com/jsch/index.html上面有。。。
当然,并不是拷过去就完事了。你得在eclipse中设置一下,windows->preference->ant->runtime->classpath,加入刚才的jar包就可以了。
分享到:
相关推荐
试试ant ant ant ant ant ant ant ant
ant ant下载 ant配置ant ant下载 ant配置ant ant下载 ant配置
ant配置ant配ant配置ant配置置
ant的配置文件ant的配置文件ant的配置文件ant的配置文件
项目中Ant配置的实例,一次配置 稍微改动 到处使用
ANT的安装配置笔记 ANT的安装配置笔记 ANT的安装配置笔记
Ant的配置及使用实例 Ant的配置及使用实例
这是一个ANT自编译的程序,可以在myeclipse下创建ant文件,根据代码配置,下载后直接可以用。
网络上搜集的Findbugs在Ant下的配置方法 坚决免费开放
配置junit用ant配置运行,里面介绍了如果配置,如果运行
ant的build配置文件;
Ant 配置文件详解 Ant 各种详细配置应有尽有!!!
ANT 的安装和配置 安装在windows下
简单的Ant安装与配置文档,适合刚接触web开发的新手。
ant简介及配置环境情况,有具体运行例子
Ant 是著名Java开源组织Apache的一个项目,是一个基于java的build工具。它可以使你通过ant脚本语言,自动你的项目拷贝到某个目录,发布项目,或者生成一些代码,执行SQL语言。总之它可以帮助你完成项目开发中除了...
里面详细说明什么是Ant,以及Ant在实战中详细配置内容,精简、实用!
ANT配置,打包,编译
build.xml ant构建配置文件
Ant的安装与配置,希望和大家交流,写的不好