Whoops, I made a typo in option #2. The correct pom.xml to edit is: [dspace-src]/dspace/modules/pom.xml
Sorry if this caused any confusion! - Tim On 11/17/2011 11:45 AM, Tim Donohue wrote: > Peter is correct, you can now disable specific modules from building in > 1.8.0 by disabling their Maven "profiles". > > This can be done one of two ways: > > (1) As Peter suggests, you can disable a profile by specifying "-P > ![profile-id]" on the command line. So, to only build JSPUI, you have to > disable everything else, and run the following from [dspace-src]/dspace/: > > mvn package -P > !dspace-xmlui,!dspace-lni,!dspace-oai,!dspace-sword,!dspace-swordv2,!dspace-solr > > > (This first route is only supported in 1.8.0 or above) > > (2) The other way you can do the same thing is to actually manually > modify your [dspace-src]/dspace/modules/pom.xml file, and comment out the > <profile> tags that you want to disable (essentially everything but > dspace-jspui). Obviously you will have to go in and re-modify this file > when you want to re-enable them. This route works in pre-1.8 versions of > DSpace. > > - Tim > > On 11/16/2011 8:20 PM, Peter Dietz wrote: >> Hi Sue, >> >> One of the new features Tim Donohue added to DSpace 1.8 was a way to >> disable building webapps you don't want to rebuild. >> https://jira.duraspace.org/browse/DS-791 >> >> So, once you have it installed correctly, you could enter the following >> to only rebuild jspui. >> mvn package -P >> !dspace-xmlui,!dspace-lni,!dspace-oai,!dspace-sword,!dspace-sword >> >> >> I will note that I haven't been able to get the patch to work on my >> system running 1.7, maybe Tim can shed some light. So its good in >> theory, but I haven't noticed the speedup it would suggest. As my build >> keeps packaging all modules. >> >> Your other alternative is to get a faster CPU. ;) >> >> >> >> Peter Dietz >> >> >> >> On Wed, Nov 16, 2011 at 4:42 PM, Thornton, Susan M. (LARC-B702)[LITES] >> <[email protected] <mailto:[email protected]>> wrote: >> >> Can someone please remind me where exactly I need to make changes >> (to the pom.xml files I think is the only place) to shorten the time >> it takes to assemble and compile my DSpace application if the only >> module I’m testing/using right now is JSPUI? I don’t need OAI, >> SWORD, XMLUI, LNI, or Discovery until such time as we start our >> Manakin implementation and it takes forever for me to do the “mvn >> package” and “ant update” commands since all the modules are being >> built. I know this has been posted before, but I can’t find it.____ >> >> __ __ >> >> Thanks in advance,____ >> >> Sue____ >> >> __ __ >> >> __ __ >> >> Sue Walker-Thornton____ >> >> Software Developer/Database Administrator____ >> >> NASA Langley Research Center - LITES Contract____ >> >> [email protected] <mailto:[email protected]>____ >> >> (W) 757-864-2368 <tel:757-864-2368>____ >> >> (C) 757-506-9903 <tel:757-506-9903>____ >> >> __ __ >> >> >> ------------------------------------------------------------------------------ >> >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> >> >> >> ------------------------------------------------------------------------------ >> >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> >> >> >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

