aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes To see compilation error..what I need to do ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "To see compilation error..what I need to do ?" Watch "To see compilation error..what I need to do ?" New topic
Author

To see compilation error..what I need to do ?

pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Hi All,

I am using IDE - Eclipse 3.1.1. This is MyEclipse
I am new to Eclipse. I have expertise with IBM RAD and Weblogic IDE's.
I am facing one problem......In Webspher IRad if i miss any Import it used to show me RED bulb at the left indicating wrong sign. But in Eclipse it�s not showing. I am not sure is it meant to be that way or it must shows compilation Error?.....If it shows compilation error..what I need to do to get that?

Thanks
PK
Ravikanth kolli
Ranch Hand

Joined: Feb 10, 2008
Posts: 179

you are using eclipse or myeclipse?

Well in eclipse the code is compiled automatically and thus an error is displayed as you see in other IDEs.

I am not sure of myeclipse.


-kolli
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Welcome to JavaRanch

You can set options in Eclipse, either via Windows->Preferences or r-click a project->Properties. If you have anything marked as "error" it usually appears with a red icon with X on the left, and "warning" appears with a yellow triangular icon.
Let the mouse pointer hover on the X and it tells you what the error is. There is often a yellow bulb associated; clicking that will give a drop-down window with possible solutions.
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Thanks ravi. I am using Myeclipse

Thanks Campbell ---- My problem is myeclipse does not showing me 'error" with a red icon with x on left. can you suggest what I need to do in project -> properties?

PK
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Anybody has some idea to check compilation error in MyEclipse??
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Don't know for MyEclipse. Sorry.

Anybody else?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

Pramod,
Is this for JSPs? Eclipse itself displays the red X for Java code so that would be the same in MyEclipse and RAD.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
pramod upadhyay
Greenhorn

Joined: Oct 21, 2008
Posts: 4
Its for EJB's . and Action beans of Struts. My application does not have any JSP code
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

Then it should show up. The only think I can think of is to check the properties for the project. Maybe the Java validator is turned off?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To see compilation error..what I need to do ?