Suggested Directory Layout
2 posters
Page 1 of 1
Suggested Directory Layout
This is the suggested directory structure.
src
|-main
| |--java
| |--resources
| |--webapp
| | |---META-INF
| | |---WEB-INF
| | | |----classes (.class files)
| | | |----pages (jsp,html,css,javascript,images,etc)
| | | |----lib (jar dependencies)
| | | |----web.xml
| | | |----dispatcher-servlet.xml
| | | |----applicationContext.xml
|-LICENSE.txt
|-README.txt
src/main/java | Application/Library sources |
src/main/resources | Application/Library resources |
src/main/webapp | Web application sources |
src/test/java | Test sources |
src/test/resources | Test resources |
LICENSE.txt | Project's license |
README.txt | Project's readme |
src
|-main
| |--java
| |--resources
| |--webapp
| | |---META-INF
| | |---WEB-INF
| | | |----classes (.class files)
| | | |----pages (jsp,html,css,javascript,images,etc)
| | | |----lib (jar dependencies)
| | | |----web.xml
| | | |----dispatcher-servlet.xml
| | | |----applicationContext.xml
|-LICENSE.txt
|-README.txt
bob_santos- Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines
Question po
Sir ask ko lang po bakit pag nag bago po ako ng code sa class sa package e di nag chachange yung sa src/main/com/project/java na mga class? May kailangan po bang i link? BTW I got the Java Resources: Java by removing the src package and create a java source folder then add the src/main/webapp in Contect Directory. Tama po ba? Sensya na po nawala kasi notes ko dahil sa baha.
hardy- Posts : 7
Angas Points : 11
Reputation : 0
Join date : 2009-10-27
Re: Suggested Directory Layout
hardy wrote:Sir ask ko lang po bakit pag nag bago po ako ng code sa class sa package e di nag chachange yung sa src/main/com/project/java na mga class? May kailangan po bang i link? BTW I got the Java Resources: Java by removing the src package and create a java source folder then add the src/main/webapp in Contect Directory. Tama po ba? Sensya na po nawala kasi notes ko dahil sa baha.
what's your directory structure and the package?
bob_santos- Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines
Re: Suggested Directory Layout
Ito po structure
com.jollydyip
Under Java Resources: Java
com.jollydyip.dao
com.jollydyip.model
com.jollydyip.test
com.jollydyip.util
src
main
java
com
jollydyip
dao
model
test
util
resource
webapp
META-INF
WEB-INF
com.jollydyip
Under Java Resources: Java
com.jollydyip.dao
com.jollydyip.model
com.jollydyip.test
com.jollydyip.util
src
main
java
com
jollydyip
dao
model
test
util
resource
webapp
META-INF
WEB-INF
hardy- Posts : 7
Angas Points : 11
Reputation : 0
Join date : 2009-10-27
Re: Suggested Directory Layout
Please check this site: http://www.myhomepageindia.com/?p=253 for the procedure to create the structure.
I don't really know what happened when you deleted the src folder so just try to recreate the directory structure on another project.
I don't really know what happened when you deleted the src folder so just try to recreate the directory structure on another project.
bob_santos- Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum