I also usually edit the theme in /dspace/webapps/xmlui/themes directly.  But 
this may not be the best way to do things because, as far as I know, an update 
to Dspace could overwrite these changes.  I believe the best way to make 
changes to the Dspace install is to do what Mark is doing, which is:


 *   edit the Dspace source
 *   mvn package
 *   ant update
 *   copy the webapps directory from /dspace to the tomcat webapps directory, 
if necessary

Please correct me if I'm wrong, because I'd love to know the best procedure to 
follow for making changes and avoiding problems when upgrading.

Eric

--

Eric Kurzenberger
Digital Media Coordinator
Yale School of Architecture
180 York St.
New Haven, CT 06511
T: 203.436.4176
F: 203.432.7175





On 10/8/09 4:24 AM, "Sean Carte" <[email protected]> wrote:

2009/10/8 Mark Wright <[email protected]>:
> I'm creating a new xmlui theme. I have it building but waiting for "mvn
> package; ant update" is very tedious when I want to experiment. Is there a
> way to tell Maven to only rebuild xmlui?
> My theme is in [dspace-src]/modules/xmlui/src/main/webapp/themes/mytheme. I
> make a small change and do "mvn package" which builds everything and takes
> over a minute. Then I do "ant update" in the target and it deploys to a
> directory used by a tomcat context. So for every small change I'm doing the
> following and it is taking an age:
> tomcat stop
> mvn package
> ant update
> tomcat start
> Is there a better way of working on a new theme?

You could simply edit the deployed theme.

Sean
--
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to