Re: No META-INF directory
Hello,
Personally when creating a new project (even for IntelliJ) I always prefer to use Maven's archetypes but that's just me.
You should be able to just create the directory (in the root of the src) and define it as a Source directory in the Project Settings. I'm going to fire up IntelliJ myself to see if this is correct.
Re: No META-INF directory
Hey,
Ok so the Maven Archetype I use does not create the META-INF folder. All you need to do is create the directory in the src directory and include it as a source in your module (Ctrl-alt-shift-a, click on Modules, then on your module. In the sources tab (RHS) right click the META-INF folder and pick "Sources").
That should be all.
Hope I could help,
Laurent
Re: No META-INF directory
I think that the META-INF folder must be created in the web directory and not the src directory.
That is what netbeans do.(In fact murach uses in his books netbeans)
Correct me if I am telling somthing wrong.
Thank you again.
Re: No META-INF directory
Quote:
Originally Posted by
skiabox
I think that the META-INF folder must be created in the web directory and not the src directory.
That is what netbeans do.(In fact murach uses in his books netbeans)
Correct me if I am telling somthing wrong.
Thank you again.
I'm actually not entirely sure so I'm hoping that somebody with more experience can help me out on this.
I believe that the WAR you generate includes all of the META-INF information since it is included as a source. When it is loaded/deployed into the web server it is extracted from the war and therefore the META-INF directory created.
Does this make any sense at all?
(Based this on the example app from http://tomcat.apache.org/tomcat-5.5-...processes.html)
Re: No META-INF directory
Cross-posted on Java Programming Forums.
I'm out.
No matter how far down the wrong road you have gone, turn back now...
Turkish proverb
Re: No META-INF directory
I created the whole folder and xml file by hand and it worked fine!