构建ant时提示找不到路径

在build.xml构建ant时报如下错误:

Buildfile: D:\Program Files\IBM\WebSphereILOGJRules711\gettingstarted\miniloan-webapp\build.xml

 

BUILD FAILED

D:\Program Files\IBM\WebSphereILOGJRules711\gettingstarted\miniloan-webapp\build.xml:13: Cannot find ../../../../shared/bin/wasce-common.xml imported from D:\Program Files\IBM\WebSphereILOGJRules711\gettingstarted\miniloan-webapp\build.xml

    其中properties文件内容如下:jrules.home=../../../..
#jrules.home=D:/Program Files/IBM/WebSphereILOGJRules711
eclipse.home=${jrules.home}/eclipse
eclipse.workspace=../../data/evalworkspace
 

 build.xml和wasce.xml的正确路径是:

   wasce.xml------------D:\Program Files\IBM\WebSphereILOGJRules711\shared\bin

   build.xml -------------D:\Program Files\IBM\WebSphereILOGJRules711\gettingstarted\miniloan-webapp\build.xml

 

 解决方法: 改成绝对路径 

 

 

 

 

 

 

 

ant:拷贝删除创建目录定义变量编译构建打包


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值