As Lyncode implies, as of DSpace 1.8.x there are now two build options:

1. Running Maven from [dspace-source] (root directory) rebuilds *everything*
2. Running Maven from [dspace-source]/dspace/ (dspace subdirectory) only 
reapplies & recompiles Maven Overlays (i.e. it only compiles code in 
[dspace-source]/dspace/modules/ subdirectories)

These two possible build options are described in more detail in the 
Documentation at:
https://wiki.duraspace.org/display/DSDOC18/Advanced+Customisation

- Tim

On 6/21/2012 2:25 AM, DSpace @ Lyncode wrote:
> Hi,
>
> that could happen if you are running mvn package at the wrong directory,
> more properly at the [DSPACE-SOURCE]/dspace/. Using the dspace 1.8.2
> source version, mvn package must be called from the root directory, that
> is, [DSPACE-SOURCE]/.
>
> On 21 June 2012 06:21, Gary Browne <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hello,
>
>     Across some of our DSpace instances, we are having a problem with
>     building and deploying with regards to java code changes. We are
>     running the JSPUI.
>
>     mvn package and ant update both run successfully, even when we
>     deliberately put erroneous code into java files! We have only
>     noticed this since upgrading to 1.8.2 (from 1.6.2), but are not
>     certain that it is a version issue (we would be very surprised). The
>     application also runs without error, so it looks like compilation
>     and deployment of the java files is not actually happening. How can
>     I check this??
>
>     JSP files build and deploy correctly (ie. fail with errors, succeed
>     without).
>
>     Anyone else experienced anything like this??
>
>     Thanks,
>     Gary
>
>
>     GARY BROWNE | Development Programmer
>     Library IT Services | Fisher Library F03
>     THE UNIVERSITY OF SYDNEY
>
>     T +61 2 9351 5946 <tel:%2B61%202%209351%205946>  | M +61 405 647 868
>     <tel:%2B61%20405%20647%20868>
>     E [email protected] <mailto:[email protected]>  | W
>     http://sydney.edu.au
>     Sent from my plain old desktop computer.
>
>     CRICOS 00026A
>     This email plus any attachments to it are confidential. Any
>     unauthorised use is strictly prohibited. If you receive this email
>     in error, please delete it and any attachments.
>     Please think of our environment and only print this e-mail if necessary.
>
>
>
>     
> ------------------------------------------------------------------------------
>     Live Security Virtual Conference
>     Exclusive live event will cover all the ways today's security and
>     threat landscape has changed and how IT managers can respond.
>     Discussions
>     will include endpoint security, mobile security and the latest in
>     malware
>     threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>     _______________________________________________
>     DSpace-tech mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to