On May 12, 2011, at 3:11 PM, Graham Triggs wrote:

> On 12 May 2011 16:51, Lemann, Alexander Bernard <ablem...@bsu.edu> wrote:
> I have had trouble with the *customization* documentation.  How do I rebuild 
> & reinstall just my changes so things won't take ~3 minutes?
> 
> I just ran some compilation tests. From scratch - ie. no existing local Maven 
> repository - a complete build of dspace JARs and the assembly project took 8 
> minutes.
> 
> Cleaning the build directories, and then re-running the build for all 
> projects (but using the now populated local Maven repository) took 56 seconds.

As an aside... I'm curious what it would take if you removed the dspace-xxx 
projects from the source/build and your local repository  and just did the 
dspace-release assembly process + download of the artifacts from the remote 
repo, can you time that for us? I want to know how long the assembly process 
for dspace-release.zip is when you don't have the maven repository "primed".

> 
> Cleaning and then rebuilding just the assembly / overlays took 36 seconds.
> 
> Admittedly, this is quite a fast machine. So one thing you can do to keep the 
> times down is upgrade! But, even without that, there are steps that you can 
> take to minimize the time taken.
> 
> If you are just making changes to configuration, JSP / XSL files, etc. and 
> not altering the supporting business logic, then you should probably only be 
> working with the assembly project and overlays. If you don't need some of the 
> web applications - like LNI, either of JSP or XMLUI, etc. then you should 
> remove those overlays from your assembly project.
> G

Quite true

Mark


-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Technologielaan 9 - 3001 Heverlee - Belgium

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to