• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ant and JEdit integration question

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
 
It was the best of times. It was the worst of times. It was a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic