Re: [Dspace-tech] Problem during 1.7.1 compilation
Thanks Tim! I'll upgrade: dspace $ mvn -version Maven version: 2.0.9 regards, Kristian On 6. mai 2011, at 17:24, Tim Donohue tdono...@duraspace.org wrote: Hi Kristian, It sounds like you might be compiling DSpace with an unsupported version of Maven. Try running 'mvn -version' to see what version you are using. There are known problems when using Maven 2.0. Currently, we recommend using Maven 2.2.x when building DSpace. For more information see our Installation Pre-requisites: https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29 Good luck, - Tim On 5/6/2011 9:17 AM, Kristian Roberto Salcedo wrote: Hi all, I have a problem during compilation of version 1.7.1: When I run a maven build: cd /www/tmp/dspace-1.7.1-src-release/dspace/ mvn clean package the folder structure in the webapps-directory /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/webapps/ is not being built correctly. Maven throws everything into the webapps folder: duo-prod01 /# ls -al /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/webapps/ total 276 drwxr-xr-x 27 resin resin 4096 May 6 15:05 . drwxr-xr-x 9 resin resin 4096 May 6 15:05 .. drwxr-xr-x 3 resin resin 4096 May 6 15:05 META-INF drwxr-xr-x 6 resin resin 4096 May 6 15:05 WEB-INF drwxr-xr-x 3 resin resin 4096 May 6 15:05 admin drwxr-xr-x 2 resin resin 4096 May 6 15:05 aspects drwxr-xr-x 2 resin resin 4096 May 6 15:05 browse -rw-r--r-- 1 resin resin 13639 May 6 15:05 collection-home.jsp -rw-r--r-- 1 resin resin 14860 May 6 15:05 community-home.jsp -rw-r--r-- 1 resin resin 7894 May 6 15:05 community-list.jsp drwxr-xr-x 2 resin resin 4096 May 6 15:05 components drwxr-xr-x 2 resin resin 4096 May 6 15:05 controlledvocabulary -rw-r--r-- 1 resin resin 8733 May 6 15:05 display-item.jsp -rw-r--r-- 1 resin resin 4859 May 6 15:05 display-statistics.jsp drwxr-xr-x 2 resin resin 4096 May 6 15:05 dspace-admin drwxr-xr-x 2 resin resin 4096 May 6 15:05 error -rw-r--r-- 1 resin resin 7235 May 6 15:05 exception2html.xslt -rw-r--r-- 1 resin resin 318 May 6 15:05 favicon.ico drwxr-xr-x 2 resin resin 4096 May 6 15:05 feedback drwxr-xr-x 2 resin resin 4096 May 6 15:05 help -rw-r--r-- 1 resin resin 5210 May 6 15:05 home.jsp drwxr-xr-x 2 resin resin 4096 May 6 15:05 i18n drwxr-xr-x 6 resin resin 4096 May 6 15:05 image -rw-r--r-- 1 resin resin 2431 May 6 15:05 index.jsp drwxr-xr-x 2 resin resin 4096 May 6 15:05 layout drwxr-xr-x 2 resin resin 4096 May 6 15:05 login drwxr-xr-x 2 resin resin 4096 May 6 15:05 mydspace -rw-r--r-- 1 resin resin 400 May 6 15:05 print.css drwxr-xr-x 2 resin resin 4096 May 6 15:05 register -rw-r--r-- 1 resin resin 401 May 6 15:05 robots.txt drwxr-xr-x 2 resin resin 4096 May 6 15:05 search -rw-r--r-- 1 resin resin 40518 May 6 15:05 sitemap.xmap drwxr-xr-x 4 resin resin 4096 May 6 15:05 static drwxr-xr-x 2 resin resin 4096 May 6 15:05 statistics -rw-r--r-- 1 resin resin 22870 May 6 15:05 styles.css drwxr-xr-x 2 resin resin 4096 May 6 15:05 submit drwxr-xr-x 2 resin resin 4096 May 6 15:05 suggest drwxr-xr-x 9 resin resin 4096 May 6 15:05 themes -rw-r--r-- 1 resin resin 863 May 6 15:05 tombstone.jsp drwxr-xr-x 2 resin resin 4096 May 6 15:05 tools -rw-r--r-- 1 resin resin 6909 May 6 15:05 utils.js drwxr-xr-x 2 resin resin 4096 May 6 15:05 workspace instead of creating the correct folder structure, like the one for version 1.6.2: duo-prod01 /# ls -al /www/tmp/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir/webapps/ total 32 drwxr-xr-x 8 resin resin 4096 May 3 14:36 . drwxr-xr-x 9 resin resin 4096 May 3 14:36 .. drwxr-xr-x 23 resin resin 4096 May 3 14:36 jspui drwxr-xr-x 4 resin resin 4096 May 3 14:36 lni drwxr-xr-x 4 resin resin 4096 May 3 14:36 oai drwxr-xr-x 5 resin resin 4096 May 3 14:36 solr drwxr-xr-x 4 resin resin 4096 May 3 14:36 sword drwxr-xr-x 8 resin resin 4096 May 3 14:36 xmlui This of course leads to the same chaotic folder structure in the installation directory, when I run an ant update: cd /www/tmp/dspace-1.7.1-src-release/dspace/target/dspace-1.7.1-build.dir/ ant update There is probably an obvious solution to this, but I'm afraid it is beyond me... regards Kristian Salcedo University of Oslo Library -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https
Re: [Dspace-tech] DSpace and external authorization control
Hi Bram, Thanks a lot for your swift and thorough answer. This looks promising :) regards, Kristian On 19. nov. 2010, at 17.07, Bram Luyten b...@mire.be wrote: Hi Kristian, section 2.7 and 2.8 cover authentication and authorization. http://www.dspace.org/1_6_2Documentation/ch02.html#N102B8 more detail: 5.2.11 on authentication http://www.dspace.org/1_6_2Documentation/ch05.html#N12A26 and 3.7 on authorization http://www.dspace.org/1_6_2Documentation/ch13.html#N17F3C In context of some of our projects it was definitely worth the time and the effort to leverage authorization information in other sources, to be mapped to authorizations in DSpace. For example, given that the structure of your DSpace corresponds with the hierarchy of your institution you can: when someone logs in for the first time: 1. The user logs in with his existing institution credentials (for example, the login that he/she uses for an email box or internal ERP system). This can be achieved by linking the authentication with your institutional LDAP or shibboleth. In this way, you avoid the necessity to (self) register new users. 2. Once authenticated, you make DSpace ping the staff directory for information, to determine to which department the person belongs 3. Once DSpace learns which department/unit someone belongs to, it can create a corresponding e-person object for the person who logs in, with submission read rights, determined from the retrieved information from the staff directory. If you have a lot of users, it would really take you a long time to set authorizatin manually through the groups policy webinterface in DSpace. But you can customize it this way, that it is highly automated, given that your repository structure matches the structure of your institution, and that there is some kind of API available. You can really do a lot of neat stuff. Let's say that you have a community for the computer science department, with collections for working papers, theses, ... these kind of methods can grant submission rights for all of the collections under a community to which someone belongs. good luck, Bram Luyten @mire - http://www.atmire.com Technologielaan 9 - 3001 Heverlee - Belgium 533 2nd Street - Encinitas, CA 92024 - USA http://www.togather.eu - Before getting together, get t...@ther On Fri, Nov 19, 2010 at 4:07 PM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi, Does anyone know if any work has been done on using external authorization systems for controlling user permissions in DSpace? Is it possible (or worth the time) to map external authorization information to the internal authorization mechanisms in DSpace for example...? I've been looking in the various list archives for some info on this, but I havent been able to find anything. regards, Kristian -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech