Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant and JEdit integration question

 
James Jennings
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

quote:
Q:
How do I compile my Java source in JEdit?
A:
.... 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.
unquote

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

quote:
Windows cannot open this file:
build.xml

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

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
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic