Reputation: 341
So I have an application where users can upload their documents. The problem is every time I redeploy the application (using Eclipse) this folder gets overwritten by the contents from the workspace.
How do I tell Eclipse to ignore certain folders on deployment?
Upvotes: 1
Views: 74
Reputation: 10667
Don't put data/content inside your application. Modify your logic to write documents to a path out of the application. like as :
Application Path : C:\App\app.war
Directory path : C:\App\documents
Upvotes: 1