Hi Jochen,

It looks like we have a small bug somewhere.  I've verified that 
building DSpace using Maven 2.0.x doesn't seem to work 100% properly.

Essentially, everything doesn't get copied to 
[dspace-src]/dspace/target/dspace-1.7.0-build/webapps/ properly, which 
causes the fresh_install issues you've seen.

The temporary fix is one of the following:

(1) Either install Maven 2.2.1 (which works fine)

OR

(2) Manually copy the webapps from their 
[dspace-src]/dspace/modules/[webapp-name]/target/ directory.  So, for 
example, the XMLUI webapp is built properly to the path:

[dspace-src]/dspace/modules/xmlui/target/xmlui-1.7.0/

However, it doesn't get copied over to the "webapps" directory properly 
(which is something Maven is supposed to do for you, but it doesn't seem 
to be working).  So, if you manually perform the copy, everything should 
work fine.

I'm digging around to see if I can figure out a better fix to this issue.

- Tim

On 12/21/2010 5:25 AM, Jochen Lienhard wrote:
> Hi,
>
> I installed dspace-1.7.0 at two different Linux distribution:
>
> 1) openSuSE 11.3 (Apache Maven 2.2.1)
> 2) openSuSE 11.1 (Maven version: 2.0.9)
>
> in case 1) all is perfect.
> in case 2) in the webapps directory all files are in one directory ...
> even a strange effect in the numbers of the files:
>
> 1)
> fresh_install:
> [copy] Copying 8 files to /opt/dspace-1.7.0/bin
> [copy] Copying 71 files to /opt/dspace-1.7.0/lib
> [copy] Copying 21 files to /opt/dspace-1.7.0/etc
> [copy] Copying 27 files to /opt/dspace-1.7.0/solr
>
> copy_webapps:
> [copy] Copying 967 files to /opt/dspace-1.7.0/webapps
> [copy] Copied 130 empty directories to 6 empty directories under
> /opt/dspace-1.7.0/webapps
> [copy] Copying 6 files to /opt/dspace-1.7.0/webapps
>
> 2)
> fresh_install:
> [copy] Copying 8 files to /opt/dspace-1.7.0/bin
> [copy] Copying 70 files to /opt/dspace-1.7.0/lib
> [copy] Copying 21 files to /opt/dspace-1.7.0/etc
> [copy] Copying 27 files to /opt/dspace-1.7.0/solr
>
> copy_webapps:
> [copy] Copying 668 files to /opt/dspace-1.7.0/webapps
> [copy] Copied 90 empty directories to 1 empty directory under
> /opt/dspace-1.7.0/webapps
> [copy] Copying 1 file to /opt/dspace-1.7.0/webapps
>
> Does anyone know, which could be the problem?
>
> Greetings
>
> Jochen
>
> P.S.
> If I copy the xmlui folder from 1) to the webapps folder of 2) ... it
> works ..... very strange!!!!
>
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to