File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse's output folder 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 "Eclipse Watch "Eclipse New topic
Author

Eclipse's output folder

Javier Pascual
Greenhorn

Joined: Jan 07, 2007
Posts: 8
I've written a little application with Struts 2 in Eclipse.

Now I want to create a WAR file to distribute my app so I selected File -> Export -> WAR file.

The problem is that Eclipse doesn't copy the classes to /WEB-INF/classes. They are at the root of the WAR.

Is there a way to indicate Eclipse that I want the classes files in that folder?

Thank you.
Javier Pascual
Greenhorn

Joined: Jan 07, 2007
Posts: 8
By the way, in the properties for the project I already have /WebContent/WEB-INF/classes as Default output folder in Java Build Path -> Source

So I don't get it. I don't see why Eclipse puts the classes in the root folder
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Maybe ask in a group/list/forum/etc. that deals with Eclipse?
Javier Pascual
Greenhorn

Joined: Jan 07, 2007
Posts: 8
David Newton wrote:Maybe ask in a group/list/forum/etc. that deals with Eclipse?

Oh, I didn't see the IDE sub forum. Thanks David.

I hope someone can help me.
 
 
subject: Eclipse's output folder