Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsImporting war
https://www.eclipse.org/forums/index.php/mv/msg/73947/231141/#msg_231141
I import a war into my workspace. In my war I have some .properties files
inthe build/classes directory.
Eclipse puts them into JavaResources:/src.
Why?
This is causing me problems. When I start the war, it gives out about not
being able to find one of the .properties files?
Any help greatly appreciated.]]>breako 2009-05-08T11:31:47-00:00Re: Importing war
https://www.eclipse.org/forums/index.php/mv/msg/73947/231204/#msg_231204
> Hi,
> I import a war into my workspace. In my war I have some .properties
> files inthe build/classes directory. Eclipse puts them into
> JavaResources:/src.
>
> Why?
>
> This is causing me problems. When I start the war, it gives out about
> not being able to find one of the .properties files?
>
> Any help greatly appreciated.
"Java Resources" is an organizational node specific to the UI in the
Project Explorer, it's not literally the name of a directory on
disk. The Navigator view will show the actual layout of your files,
which might help you find out why the file's not being found at runtime.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational]]>Nitin Dahyabhai2009-05-12T01:36:00-00:00Re: Importing war
https://www.eclipse.org/forums/index.php/mv/msg/73947/231454/#msg_231454
file not being found and I could just ask you a question on the
organisational structure.
When I import a war, Eclipse creates the directories /src/ and
/WebContent/ under my project and puts .properties files in /src/ and JSPs
in /WebContent/.
I can see this in the navigator view and in my windows explorer.
I am wondering is there anyway I change how eclipse decides to put what
files where when unpacking a war?