This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Does Eclipse Ganymede create a class file automatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Does Eclipse Ganymede create a class file automatically" Watch "Does Eclipse Ganymede create a class file automatically" New topic
Author

Does Eclipse Ganymede create a class file automatically

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi All,

I am new to Eclipse GANYMEDE IDE and using it to create a struts 2 application.

I want to know when i deploy my struts application to app server does IDE automatically creates .class for corresponding .java file?

If not then could anyone please let me know how to compile action class file for Sturuts 2?


Thanks in Advance.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

By default Eclipse automatically compiles .java source files into .class files. You can change that via the Preferences, under General | Workspace, the Build Automatically checkbox.


JBoss In Action
Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi Peter,

Thanks for reply.

I checked the check box also as per you suggestion. But in vain.

I am still getting following exception while deploying application.

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

building automatically is nothing to do with this error.

It is saying that there is no local[eclipse] copy of the server in which you try to deploy. remove the server from your eclipse first window-->preference-->server-->runtime environment.

and then configure the server again.if you dont want local server copy,while configuring server uncheck the "create new local server".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does Eclipse Ganymede create a class file automatically
 
Similar Threads
Eclipse ganymede Does it support struts 1.1
eclipse and Ant (fundamental question)
spring mvc application using eclipse
Eclipse ganymede using Struts
Eclipse does not compile class automatically