Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Disable all validations and checks in eclipse(Disable all validations and checks in eclipse)
Disable all validations and checks in eclipse [message #696155] Wed, 13 July 2011 11:44 Go to next message
KT  is currently offline KT Friend
Messages: 1
Registered: July 2011
Junior Member
Hello Everyone,

I am new to eclipse, I am working on a project that uses ant build file to compile and package the class files using javac. I tried creating an eclipse project to help me in development, but the eclipse ide shows a lot of errors even though the build on same code succeeds using ant. I want to know how to disable all validation and checks that eclipse applies and configure eclipse to show only those error as a normal javac from command prompt would show.

I have already tried disabling Validations from Windows->Prefrences->Valications this disables the DTD and Xml but rest of the errors I still get.

Thanks in advance for your help.
Re: Disable all validations and checks in eclipse [message #696251 is a reply to message #696155] Wed, 13 July 2011 13:45 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 13-Jul-11 05:44, KT wrote:
> Hello Everyone,
>
> I am new to eclipse, I am working on a project that uses ant build file
> to compile and package the class files using javac. I tried creating an
> eclipse project to help me in development, but the eclipse ide shows a
> lot of errors even though the build on same code succeeds using ant. I
> want to know how to disable all validation and checks that eclipse
> applies and configure eclipse to show only those error as a normal javac
> from command prompt would show.
> I have already tried disabling Validations from
> Windows->Prefrences->Valications this disables the DTD and Xml but rest
> of the errors I still get.
>
> Thanks in advance for your help.

Compilation errors and warnings for Eclipse are configured at Window ->
Preferences -> Java -> Compiler -> Errors/Warnings.
Re: Disable all validations and checks in eclipse [message #698475 is a reply to message #696155] Tue, 19 July 2011 14:23 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 7/13/11 7:44 AM, KT wrote:
> Hello Everyone,
>
> I am new to eclipse, I am working on a project that uses ant build file
> to compile and package the class files using javac. I tried creating an
> eclipse project to help me in development, but the eclipse ide shows a
> lot of errors even though the build on same code succeeds using ant. I
> want to know how to disable all validation and checks that eclipse
> applies and configure eclipse to show only those error as a normal javac
> from command prompt would show.
> I have already tried disabling Validations from
> Windows->Prefrences->Valications this disables the DTD and Xml but rest
> of the errors I still get.
>
> Thanks in advance for your help.
>

What you need to do is set up the Java Build Path of your project so
that it includes the same source code and JARs that the Ant script is
using. To edit the build path, right-click the project, select
Propertied, and then select Java Build Path.
I usually do that by hand; although it takes a bit of time to decipher
what Ant is doing, it only has to be done once and I know for certain
I'm configuring things the right way in Eclipse.
Another option is to use the wizard that creates a project based on an
existing Ant file. Choose File > New > Project, then select "Java
Project from existing Ant Buildfile."

After trying one of those options, come back with specific problems that
you encounter and we may be able to help resolve them.

Eric
Previous Topic:Project inside another project
Next Topic:Problem being productive
Goto Forum:
  


Current Time: Fri Apr 26 10:21:30 GMT 2024

Powered by FUDForum. Page generated in 0.09609 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top