File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant and JEdit integration question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant and JEdit integration question" Watch "Ant and JEdit integration question" New topic

Ant and JEdit integration question

James Jennings

Joined: Mar 03, 2005
Posts: 25
I hope I am not too far off-topic with this question.

I am new to both Ant and JEdit, so I am way down on the learning curve.
I have installed both of these tools, and I can get Ant to compile my programs both from the command line, and the System shell in JEdit. I cannot, however, get Ant to run from either the Ant Shell of the Console, or from the Ant tree using the following instructions from the JEdit Help file.

How do I compile my Java source in JEdit?
.... You can also use the �Ant� shell in the Console plugin or the AntFarm plugin to run complex builds on a project of source code files, using a build.xml file to specify build commands and dependencies.

Chapter 4. Run Ant targets from within jEdit.

There are two ways to run targets from the AntFarm tree.
1. Select the target in the tree and click the Run. If a project is selected the default target will be run.
2. Select the target in the tree, right click and select the Run menu item.

When I try either of these methods I get a Windows dialog box that says:

Windows cannot open this file:

To open this file Windows needs to know what program created it....

I created build.xml in JEdit, so if I have to run it from JEdit, I am chasing my tail. Can anyone familiar with JEdit help me with this problem?
James Jennings

Joined: Mar 03, 2005
Posts: 25
Higgins: Just play around until something works.

me: hmmm

(two days later)
me: by gawd Higgins, I think I've got it.

Higgins: what did you do?

me: uhhh. don't know. checked some things, unchecked others, made a few lucky guesses.

(In other words folks, the problem is solved.)
I agree. Here's the link:
subject: Ant and JEdit integration question
jQuery in Action, 3rd edition