Phoenix One Discussions
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Suggested Directory Layout

2 posters

Go down

Suggested Directory Layout Empty Suggested Directory Layout

Post  bob_santos Sun Oct 25, 2009 7:42 pm

This is the suggested directory structure.

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
bob_santos

Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines

Back to top Go down

Suggested Directory Layout Empty Question po

Post  hardy Wed Oct 28, 2009 12:12 am

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. Smile

hardy

Posts : 7
Angas Points : 11
Reputation : 0
Join date : 2009-10-27

Back to top Go down

Suggested Directory Layout Empty Re: Suggested Directory Layout

Post  bob_santos Wed Oct 28, 2009 12:20 am

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. Smile

what's your directory structure and the package?
bob_santos
bob_santos

Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines

Back to top Go down

Suggested Directory Layout Empty Re: Suggested Directory Layout

Post  hardy Wed Oct 28, 2009 12:28 am

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

hardy

Posts : 7
Angas Points : 11
Reputation : 0
Join date : 2009-10-27

Back to top Go down

Suggested Directory Layout Empty Re: Suggested Directory Layout

Post  bob_santos Wed Oct 28, 2009 12:51 am

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.
bob_santos
bob_santos

Posts : 45
Angas Points : 63
Reputation : 6
Join date : 2009-07-19
Location : Pasay, Philippines

Back to top Go down

Suggested Directory Layout Empty Re: Suggested Directory Layout

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum