Shaw,

Good question. It took me a while to understand the workflow for code 
management.

Assuming that you are using 1.5.2 or 1.6.0, you would want to edit a file at 
the source/modules level. Then, you would run mvn package (or mvn clean 
package). This puts the code in source/target. Then you use ANT. This will move 
the files to your dspace directory. Then, depending on how you deploy, you may 
move the file to your webapps directory within tomcat, or you may just deploy 
tomcat and let it reference the webapps in your dspace directory.

I hope that helps.

Jason Fowler, CA, MSLS
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
Vice President, ALABI
[email protected]
________________________________________
From: Shaw Yu [[email protected]]
Sent: Tuesday, May 04, 2010 8:26 AM
To: [email protected]
Subject: [Dspace-tech] A general question about editing a file from a   newcomer

Hi there,

I found that a file (e.g., style.css) can be edited at least at 4 levels
(any system is more complicated than this?):

1. at the source/modules level
2. at the source/target level
3. at dspace level
4. at tomcat level

Are there general rules about at which level that a file should be
edited? It looks like to edit a file at (4) is easiest (no rebuild is
needed) but is also easiest to be overwritten late. To edit a file at
(1) is just the opposite.

Is it true that we should do most of our editing at '2. the
source/target level' and than issue an ANT command?

Thank you.

Shaw
VCU Libraries

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to