在崇高文字2使用Ant [英] Using Ant in Sublime Text 2

查看:103
本文介绍了在崇高文字2使用Ant的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有麻烦的崇高文字2使用Ant越来越Build命令。我已经定义了一个项目,并在项目的根是一个build.xml文件。那么崇高的文本2,项目公开,我选择工具 - >构建系统 - >蚂蚁。然后,如果我尝试运行工具 - >构建,我得到以下的输出:

I am having trouble getting the Build command in Sublime Text 2 working with Ant. I have defined a project, and in the root of the project is a build.xml file. Then in Sublime Text 2, with the project open, I choose Tools -> Build System -> Ant. Then if I try to run Tools -> Build, I get the following output:

Buildfile: build.xml does not exist!
Build failed
[Finished]

我敢肯定有一些简单的我失踪。我在Windows XP上。谢谢你。

I'm sure there's something simple I'm missing. I'm on Windows XP. Thanks.

推荐答案

默认情况下崇高的文本2会在项目文件夹的根目录中的build.xml。最简单的事情可能有移动你的build.xml文件。

By default Sublime Text 2 looks for the build.xml in the root of your project folder. The easiest thing might be moving your build.xml there.

另外,你可以通过修改Ant.sublime建造(不知道在哪里这个生活在Windows中,在系统中搜索它)改变working_dir。或者,您可以复制该文件的内容,并作出新的构建系统(工具 - >构建系统 - >新构建系统)。

Otherwise, you can change the working_dir by modifying the Ant.sublime-build (not sure where this lives in Windows, search your system for it). Alternately, you can copy the contents of that file and make a new build system (Tools -> Build System -> New Build System).

看看这个线程了解详情:<一href=\"http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1444&start=20\">http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1444&start=20

Take a look at this thread for more details: http://www.sublimetext.com/forum/viewtopic.php?f=2&t=1444&start=20

这篇关于在崇高文字2使用Ant的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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