Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic