构建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:拷贝删除创建目录定义变量编译构建打包


你可能感兴趣的:(ant)