Alix, To answer your questions...
On 11/10/2010 8:28 PM, ALISTAIR Q. HOWARD wrote: > Hi, > > I've come across the following wiki page > https://wiki.duraspace.org/display/DSPACE/Manakin+Themes > and had a question regarding the statement I've pasted below. > > Note 2: Unlike editing dspace JSP pages to change the look of your site, > it seems you can edit all these files 'in place' in your > tomcat/webapps/manakin/themes folder without redoing*ant*to build the > *.war files. You still need to restart tomcat. (I assume cocoon > 'compiles' the stylesheets or something) > > While I've discovered myself that this is possible, it goes against what > the Dspace Manual for 1.6.0 says (ie that changes need to be made in > [dspcace-source]. I assume this is because any changes made as above > would be lost on a rebuild or update? Correct -- it is possible to make these changes directly in your [dspace]/webapps/ directory (or [tomcat]/webapps, if you copied your XMLUI webapp over to Tomcat's directory). However, as soon as your re-run 'ant update' from [dspace-source], this will *replace* the contents of your [dspace]/webapps/ directory (therefore overwriting any previous changes you had made). Technically, running 'ant update' will first create a backup folder (named 'webapps.bak-[date]') and copy all your old changes to it. So, you could manually move your changes back over to the official 'webapps' directory, assuming you remembered what changes you made (but obviously, this becomes a very difficult task as you continue making changes). It should be noted that the Wiki pages do not always state the exact same thing as the formal DSpace Manual. The DSpace Manual is more "official" documentation. Anyone in the DSpace community is welcome to create/edit/update the wiki pages. However, we do on occasion try to clean up better wiki pages and make them part of the DSpace Manual. > Moreover, is it true that those changes can not safely be made in the > [dspace] directory? These would also be lost if I redid ant? OR would > they be OK? You are welcome to make changes directly to [dspace] directory for testing. However, those changes should be copied back to your [dspace-source] directory -- otherwise, they will be lost the next time you run 'ant update'. The only exception to this rule is the [dspace]/config/ directory. That directory is not overwritten when you rerun 'ant update' -- instead, 'ant' places a copy of any updated files with a ".new" prefix next to the existing one. This is just a safety measure to ensure you don't accidentally lose all your configuration changes when you run 'ant update'. Hopefully that helps to better explain everything, - Tim ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

