• 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

Eclipse Content Assist is not working while creating a project from an ant build file

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I want to create a j2EE projects from an ant build file.Hence I created a project in eclipse from File->New->Project and written the ant build file.Based on the build file, I created the required folder structure. But the problem is while writting any java code or servlet code,I am not getting any content assist facilities also eclipse IDE not showing me any compilation error as it is using my custom ant build.
It will be helpful if you suggest me how to configure eclipse in this scenario so that I can get the content assist facilities along with if I make any changes in my code,eclipse will automatically run my ant script to validate the changes.

Thanks
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of project did you create? A general project? Or a Java project? With a general project, there is no Java builder or source path, so you will get errors about there not being a build path. Also, when you are editing you java source code, which editor are you using? The Text Editor will not provide autocompletion, you must use the Java Editor.

If this doesn't help, a fuller description exactly how you created the project and exactly how you created the Java source files would help.
reply
    Bookmark Topic Watch Topic
  • New Topic