Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven install folder structure problem j2ee (spring, struts ..)
    primarykey
    data
    text
    <p>i'm using maven 2.1-SNAPSHOT as eclipse plugin. My project structure is like this:</p> <p>src/main/java<br> &nbsp;&nbsp; -model<br> &nbsp;&nbsp; -service<br> &nbsp;&nbsp; -action<br> src/test/java<br> &nbsp;&nbsp; empty atm<br> src/main/resources<br> &nbsp;&nbsp; empty atm<br> src/test/resources<br> &nbsp;&nbsp; empty atm<br> src/main/webapp<br> &nbsp;&nbsp; -js<br> &nbsp;&nbsp;&nbsp;&nbsp;-dojo<br> &nbsp;&nbsp; -META-INF<br> &nbsp;&nbsp; -WEB-INF<br> &nbsp;&nbsp;&nbsp;&nbsp; web.xml <br> &nbsp;&nbsp;&nbsp;&nbsp; appcontext.xml<br> &nbsp;&nbsp;&nbsp;&nbsp; struts.xml<br> &nbsp;&nbsp; index.jsp</p> <p>I'm having trouble understanding the build process and where to put which file. I use as Application Server Jetty but i want to deploy my project on tomcat as well (so i have set up in my pom packaging war).</p> <p>When i run my project with the maven:install command my target folder looks like this: myproject.war<br> war<br> &nbsp;&nbsp; not relevant<br> test-classes<br> &nbsp;&nbsp; empty atm<br> myproject<br> &nbsp;&nbsp; js<br> &nbsp;&nbsp; META-INF<br> &nbsp;&nbsp; WEB-INF<br> &nbsp;&nbsp; index.jsp<br> classes<br> &nbsp;&nbsp; model<br> &nbsp;&nbsp; service<br> &nbsp;&nbsp; action<br></p> <p>My problem is that i need in the classes folder my persistence.xml which i have in META-INF. And struts.xml too i guess. I'm not sure about dojo either if it is right there. And honestly i don't know if this structure is right at all. I also dont know how to configure that the output changes. </p> <p>I hope somebody can help me i really want to understand this process how it should be right, maybe there are even nice ressources to lookup to get better at these things. Thanks in advance kukudas</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload