Hi all,
I am using gradle (milestone-1) at present to create a simple java app
to test out some things.
For this app I was to use JPA which means that I want WAR structure as follows:
WAR
- META-INF
- WEB-INF
- classes
- META-INF
- persistence.xml
- spring
- appContext.xml
- infrastructure.xml
The problem is I am not sure whats the best way to get the META-INF
file structure within the WEB-INF/classes folder? some sort of file
copy and if so, how to reference the generated 'classes' folder under
war?
the metaInf property of war task is for populate META-INF folder
directly under WAR.
I am just the 'war' plugin and have the basic out of the box typical
struture for java project
src/main/java
src/test/java
src/main/webapp
- WEB-INF
- etc
When using maven, i simply just add the META-INF structure that falls
under classes above in the src/main/resources folder and it correctly
builds WAR as needed.
regards,
Keith.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email