Thank you so much Jason. Also thanks for your answer about the database question that I asked last time. Looks like somebody from Baptist Theological Seminary is a kind of special.
Yes, we are using 1.6. And I now use a symbolic link from tomcat to dspace so level 4 is no longer needed. I also like to hear different opinions about the workflow. Basically, will editing a file at the source/target level (level 2) make sense in many situations? Editing at level 2 so we do not need to run mvn package every time we do some minor editing. But then again we need to worry about what to do when we really need to run mvn package late. So I think Jason is right: we should edit a file at level 1 not at level 2. But there may be other good views. Forgive an old man's curiosity Shaw Jason Fowler wrote: >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 > > ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

