Skip to main content
17-Peridot
May 15, 2023
Solved

ant -f bin\tools.xml error

  • May 15, 2023
  • 1 reply
  • 1322 views

I'm trying to add some new actions to our menus but can't compile the ActionDefinitionsRB.java. 

 

I tried both of these:

Dobi_0-1684186170428.png

What is missing? 

Best answer by Dobi

Turns out my starting directory was off to run

ant -f bin\tools.xml

 

So running this was the bonehead error of the day 

ant -f tools.xml

 

1 reply

Dobi17-PeridotAuthorAnswer
17-Peridot
May 15, 2023

Turns out my starting directory was off to run

ant -f bin\tools.xml

 

So running this was the bonehead error of the day 

ant -f tools.xml

 

May 29, 2023

it seems that the issue you encountered was due to an incorrect strting directory when running the command ant -f bin\tools.xml. 

 The correct command to run would be ant -f tools.xml without specifying the bin directory.

By providing the correct command, you should be able to execute the ant tool successfully and perform the desired actions or tasks specified in the tools xml file.

It's important to double-check the directory structure and ensure that you are running commands from the appropriate location to avoid such errors.