0

We are creating some JUnit tests as part of QA development. So we are doing this daily and while running individual tests, or part of a package, they do appear under the Run arrow:

latest run files

they do not appear in the Ant build Targets:

Ant targets

Well.. you can see that the Schedules_Load appears but that's because I have exported the Ant build again.

Note that even if I create Run configurations using the Eclipse menu:

run config

It still doesn't update my Ant Targets list..

Under the menu item Project I do have Build automatically checked but don't think it makes any difference anyway, just thought I would mention it.

So is there any way to automatically update Ant targets with new run configurations without having to export the Ant build again?

Thanks.

Veni_Vidi_Vici
  • 291
  • 1
  • 6
  • 16

1 Answers1

0

try selecting the check-box: "Refresh automatically".

 Window->Preferences->General->Workspace->"Refresh automatically"  

GUI
(source: avajava.com)

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
sunbabaphu
  • 1,473
  • 1
  • 10
  • 15
  • I don't have a Refresh automatically checkbox in Eclipse Kepler, at least it's not under Workspace. But refreshing the project does not update the target list. – Veni_Vidi_Vici Jul 21 '14 at 23:05
  • can you any of the following, in preferences>general>workspace: `refresh on access, build automatically, refresh using native hooks or polling` ? – sunbabaphu Jul 21 '14 at 23:21
  • also, do close and open eclipse once. and, can you see your targets in `Ant view` ? – sunbabaphu Jul 21 '14 at 23:31
  • I did restart Eclipse, I have the same view for Ant Targets as the image that I posted earlier. The new run configs are not there. – Veni_Vidi_Vici Jul 21 '14 at 23:34