在 Eclipse 中运行 ant (sql2java) - 没有输出到控制台 [英] Running ant in eclipse (sql2java) - no output to the console

查看:37
本文介绍了在 Eclipse 中运行 ant (sql2java) - 没有输出到控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我自己是第一次配置sql2java.我提取了 zip-archive 并将所有文件导入到 eclipse java 项目中.我不知道这是否正确,因为当我通过eclipse ant函数(Run as ant build...")运行ant构建文件时,控制台上没有输出.

I am configuring sql2java the first time myself. I extracted the zip-archive and imported all files into an eclipse java project. I don't know if this is correct, because when I run the ant build file through the eclipse ant function ("Run as ant build...") there is no output on the console.

不知道问题出在哪里,sql2java,ant,eclipse?它是全新安装的 eclipse galileo.

I don't know where the problem is located, sql2java, ant, eclipse? Its a fresh and clean install of eclipse galileo.

如何让 sql2java/ant 工作?我如何获得可以帮助我定位问题的任何信息?有没有办法使用eclipse的ant安装从控制台运行构建文件?

How can I get sql2java / ant to work? How do I get any information that can help me to locate the problem? Is there a way to use the eclipse's ant installation to run the build file from console?

任何帮助将不胜感激.提前致谢.

Any help would be appreciated. Thanks in advance.

推荐答案

问题可能与anthome定义有关,一般应该和你的eclipse插件目录一致.

the problem may be related to anthome definitions, generally it should be the same with your eclipse plugin directory.

  1. 转到窗口/首选项菜单
  2. 在左侧的树形菜单中选择 ant/Runtime
  3. 在右侧屏幕上编辑您的 anthome 变量,设置为您的 Eclipse 安装 ant 插件目录例如:..\eclipse-jee-galileo win32\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145

希望成功

这篇关于在 Eclipse 中运行 ant (sql2java) - 没有输出到控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆