试图在Java中执行ANT文件时问题

发布于 2025-01-18 20:16:32 字数 805 浏览 2 评论 0原文

我正在尝试使用Java ant文件来编译服务,如下所示:

”在此处输入图像描述

和我的buid-jar.xml看起来像这样:

我遇到的问题就是我的问题是Eclipse并未识别环境变量,它的名称实际上是在构建时间上引起错误的:

“在此处输入图像说明”

我的用户文件夹中确实存在这些路线和ANT文件,但我不知道为什么发生此错误。我正在使用JDK 1.8.0_45。

有什么想法吗?抱歉,我不得不将屏幕截图代替代码,但是我为之工作的公司网络的代理不允许我在Stackoverflow上导航。

I'm trying to compile a service using a java ant file as appears below:

enter image description here

and my buid-jar.xml looks like this:

enter image description here

the problem i have is that eclipse is not recognizing the enviroment variables and it takes the names literally causing an error on building time:

enter image description here

Both, paths and ant files does exists in these routes in my user folder, but i don't know why this error is happening. I'm using jdk 1.8.0_45.

Any idea? Sorry i had to attach screenshots instead code, but the proxy of the company network that i work for doesn't allow me to navigate on stackoverflow.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文