[Dspace-tech] Guide for dspace installation and configuration in centos 5.6

2011-05-20 Thread Pius Maswaga
Hi

I have been trying to install DSpace software in Ubuntu but its seems as a
challenge for me because i did not complete the project, but now i want to
try it in centos 5.6 Can anyone help me to find a complete guide on how to
configure the software in this platform.

Thanks for your help.


On Thu, May 19, 2011 at 11:41 AM, dspace-tech-requ...@lists.sourceforge.net
 wrote:

 Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
 or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

 You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of DSpace-tech digest...


 Today's Topics:

   1. Setting up an alias (Savage, Karen R.)
   2. Hiding some bitstreams but not others? (Zafrin, Vika)
   3. Connection only partially encrypted (Savage, Karen R.)
   4. Re: Connection only partially encrypted (Stuart Lewis)
   5. Re: Connection only partially encrypted (Peter Dietz)
   6. Experts Panel: Exploring the Value of DSpace with Fedora
  Inside (Mark Diggory)
   7. Problem with ordering in browsing (Ladislav Kulhanek)


 --

 Message: 1
 Date: Wed, 18 May 2011 09:37:21 -0500
 From: Savage, Karen R. karen_sav...@baylor.edu
 Subject: [Dspace-tech] Setting up an alias
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: c9f943d1.6e7b%karen_sav...@baylor.edu
 Content-Type: text/plain; charset=us-ascii

 We're in the process of taking our upgraded version of Dspace live
 (hopefully by the end of the day). Part of the process is pointing the alias
 over to the new server, but I'm a little confused on how to do it because
 the new instance has a slightly different set up. The old instance routed
 tomcat through apache, so in the config file the alias was set up like this:
 dspace.url = https://beardocs.baylor.edu:443
 dspace.hostname = beardocs.baylor.edu

 The new instance is using Tomcat as a standalone webserver, so it's running
 through port 8443 (and using xmlui). Where do I need to point the alias so
 that ihttps://beardocs.baylor.edut will take me to the front page? Or
 will we always have to add the port number and/or xmlui to the end of it?

 Thanks,

 Karen S.



 --

 Message: 2
 Date: Wed, 18 May 2011 14:04:42 -0400
 From: Zafrin, Vika vzaf...@bu.edu
 Subject: [Dspace-tech] Hiding some bitstreams but not others?
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: 8b50e155-75ac-4fef-9125-62f9abda5...@bu.edu
 Content-Type: text/plain; charset=us-ascii

 Say I have an item I'd like to make available to the public, but it
 incorporates an image copyrighted to someone else, and we don't have
 permission to distribute it.  I'd like to make a derivative copy of the
 original file, with the image taken out; archive both copies as bitstreams
 in the same DSpace item; and make the original file invisible.  How do I do
 that?  I had no success searching archives about this, though I'm sure
 someone out there has already gone through this!

 I'm running DSpace 1.7.1.

 Thanks,

 Vika Zafrin
 Institutional Repository Librarian
 Boston University
 +1.617.358.6370




 --

 Message: 3
 Date: Wed, 18 May 2011 17:48:22 -0500
 From: Savage, Karen R. karen_sav...@baylor.edu
 Subject: [Dspace-tech] Connection only partially encrypted
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: c9f9b6e6.6f03%karen_sav...@baylor.edu
 Content-Type: text/plain; charset=us-ascii

 We've mostly finished our migration to the new server/upgraded version of
 Dspace (have a look at our bright, shiny, new site: beardocs.baylor.edu
 https://beardocs.baylor.edu:8443/xmlui), but when I was checking the SSL
 certificate on firefox, it told me that the connection was only partially
 encrypted. Is this normal, or might I have missed something in my
 configuration files?

 Thanks,

 --
 Karen Savage
 Baylor University Libraries
 Electronic Library
 Library Systems
 karen_sav...@baylor.edu
 (254) 710-3275



 --

 Message: 4
 Date: Thu, 19 May 2011 12:58:14 +1200
 From: Stuart Lewis s.le...@auckland.ac.nz
 Subject: Re: [Dspace-tech] Connection only partially encrypted
 To: Savage, Karen R. karen_sav...@baylor.edu
 Cc: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: 39b856b9-396e-4d82-a0c1-51bf61652...@auckland.ac.nz
 Content-Type: text/plain; charset=us-ascii

 Hi Karen,

 Congratulations on getting your new site live! :)

  We've mostly finished our migration to the new server/upgraded version of
 

Re: [Dspace-tech] Ant Frozen

2011-05-20 Thread Hardik Mishra
Hi Josefina
You can use same Apache Tomcat, Apache Ant, Apache Maven and Postgres for 
multipel Dspace installations.
The only thing you need to change are basic parameters  for each dspace.cfg 
Thanks  Regards
Hardik Mishra - Ahmedabad (Gujarat) - India




Message: 3
Date: Thu, 19 May 2011 18:46:45 -0300
From: Josefina Perez Alvarez josi@gmail.com
Subject: [Dspace-tech] Ant frozen
To: dspace-tech@lists.sourceforge.net
Message-ID: BANLkTi=5ggpmfibj2_ju7fcsyfap9nq...@mail.gmail.com
Content-Type: text/plain; charset=utf-8

Hi,

Recently we configured for test purposes - at the same server:

- 3 DSpace installations (DSpace, DSpaceA, DSpaceB);

- 3 Tomcat installations, each one pointing to the respective DSpace webapp
(/dspace/webapps, /dspaceA/webapps and /dspaceB/webapps).



We can see the web pages for each DSpace without problem.



We can execute ant on DSpace, but not on the new DSpace installations (A or
B) ? it freezes always on the same line, with top at CPU 100% on java:


1) without ant verbose

prepare_configs:
 [copy] Copying 123 files to
/home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config-temp


2) with ant --verbose option:

 [copy] Copying
/home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config/GeoLiteCity.dat
to
/home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config-temp/GeoLiteCity.dat



Running ant with -diagnostics option and comparing the output between the
DSpace installation (that works) and DSpaceA, results no differences, except
the directory. For both:


1) USER_HOME/.ant/lib no such directory

But exists USER_HOME/lib


2) user.home : /usr/share/tomcat6

but should be

user.home : /usr/share/tomcat6-A for DSpaceA, right?

Where can I change this?

Is this the reason for not ant?


Ant 1.8.0



Thanks for any help.

Josi Perez
-- next part --
An HTML attachment was scrubbed...






--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Guide for dspace installation and configuration in centos 5.6

2011-05-20 Thread Pius Maswaga
Hi

I have been trying to install dspace software in ubuntu but its seems as a
challenge for me because i was not able to complete the complete the
configuration due to its complications. Now i want to try the software in
centos 5.5 or 5.6, if anyone can help me to get a complete configuration
guide
that i can follow to install this software, i also need suggestion from you
guys which operating system is good for dspace installation

Thanks

On Thu, May 19, 2011 at 11:41 AM, dspace-tech-requ...@lists.sourceforge.net
 wrote:

 Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
 or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

 You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of DSpace-tech digest...


 Today's Topics:

   1. Setting up an alias (Savage, Karen R.)
   2. Hiding some bitstreams but not others? (Zafrin, Vika)
   3. Connection only partially encrypted (Savage, Karen R.)
   4. Re: Connection only partially encrypted (Stuart Lewis)
   5. Re: Connection only partially encrypted (Peter Dietz)
   6. Experts Panel: Exploring the Value of DSpace with Fedora
  Inside (Mark Diggory)
   7. Problem with ordering in browsing (Ladislav Kulhanek)


 --

 Message: 1
 Date: Wed, 18 May 2011 09:37:21 -0500
 From: Savage, Karen R. karen_sav...@baylor.edu
 Subject: [Dspace-tech] Setting up an alias
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: c9f943d1.6e7b%karen_sav...@baylor.edu
 Content-Type: text/plain; charset=us-ascii

 We're in the process of taking our upgraded version of Dspace live
 (hopefully by the end of the day). Part of the process is pointing the alias
 over to the new server, but I'm a little confused on how to do it because
 the new instance has a slightly different set up. The old instance routed
 tomcat through apache, so in the config file the alias was set up like this:
 dspace.url = https://beardocs.baylor.edu:443
 dspace.hostname = beardocs.baylor.edu

 The new instance is using Tomcat as a standalone webserver, so it's running
 through port 8443 (and using xmlui). Where do I need to point the alias so
 that ihttps://beardocs.baylor.edut will take me to the front page? Or
 will we always have to add the port number and/or xmlui to the end of it?

 Thanks,

 Karen S.



 --

 Message: 2
 Date: Wed, 18 May 2011 14:04:42 -0400
 From: Zafrin, Vika vzaf...@bu.edu
 Subject: [Dspace-tech] Hiding some bitstreams but not others?
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: 8b50e155-75ac-4fef-9125-62f9abda5...@bu.edu
 Content-Type: text/plain; charset=us-ascii

 Say I have an item I'd like to make available to the public, but it
 incorporates an image copyrighted to someone else, and we don't have
 permission to distribute it.  I'd like to make a derivative copy of the
 original file, with the image taken out; archive both copies as bitstreams
 in the same DSpace item; and make the original file invisible.  How do I do
 that?  I had no success searching archives about this, though I'm sure
 someone out there has already gone through this!

 I'm running DSpace 1.7.1.

 Thanks,

 Vika Zafrin
 Institutional Repository Librarian
 Boston University
 +1.617.358.6370




 --

 Message: 3
 Date: Wed, 18 May 2011 17:48:22 -0500
 From: Savage, Karen R. karen_sav...@baylor.edu
 Subject: [Dspace-tech] Connection only partially encrypted
 To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: c9f9b6e6.6f03%karen_sav...@baylor.edu
 Content-Type: text/plain; charset=us-ascii

 We've mostly finished our migration to the new server/upgraded version of
 Dspace (have a look at our bright, shiny, new site: beardocs.baylor.edu
 https://beardocs.baylor.edu:8443/xmlui), but when I was checking the SSL
 certificate on firefox, it told me that the connection was only partially
 encrypted. Is this normal, or might I have missed something in my
 configuration files?

 Thanks,

 --
 Karen Savage
 Baylor University Libraries
 Electronic Library
 Library Systems
 karen_sav...@baylor.edu
 (254) 710-3275



 --

 Message: 4
 Date: Thu, 19 May 2011 12:58:14 +1200
 From: Stuart Lewis s.le...@auckland.ac.nz
 Subject: Re: [Dspace-tech] Connection only partially encrypted
 To: Savage, Karen R. karen_sav...@baylor.edu
 Cc: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
 Message-ID: 39b856b9-396e-4d82-a0c1-51bf61652...@auckland.ac.nz
 Content-Type: text/plain; 

Re: [Dspace-tech] ant fresh_install build failed

2011-05-20 Thread Hardik Mishra
Hi Imran

Check your dspace.cfg for database credentials. It should match with 
the same which you provided during postgres installation and database 
creation.

Thanks  Regards
Hardik Mishra

Hi,
I used  all the latest version for the dspace installation 1.7.1.latest 
along with latest postgressql 
 
I did all step upto  mvn package successfully   but when i gave ant 
fresh_install command in Wondows paltform
 
i get following message  that screen shot is attached
 
Plz help me
--
With Best Regards

Imran Mansuri




--



--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread André
Dear all,

We're trying to create some info pages to our XMLUI 1.7.0 repository using
the Mirage theme.
The problem probably resides in my poor knowledge of XSLT.

1) We've sucessfully added links to the side menu, by adding a link inside
the xsl:template match=dri:options  eg:
div id=ds-search-option class=ds-option-set
a
xsl:attribute name=href
xsl:value-of select=/dri:document/dri:
meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]/
xsl:text/about/xsl:text
/xsl:attribute
i18n:textxmlui.dri2xhtml.structural.informacoes.sobre/i18n:text
/abr/
[etc...]


2) We editted the Mirage.xsl overriding the xsl:template match=dri:body
with conditionals for handling the call for the info pages  eg:
xsl:template match=dri:body
div id=ds-body
xsl:choose
xsl:when
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='about'
div
h1ABOUT PAGE - THIS IS A SIMPLE TEST/h1
pLorem Ipsum dolor sit amet/p
/div
/xsl:when
xsl:otherwise
xsl:apply-templates /
/xsl:otherwise
[etc...]


Question 1) Everything is ok, except for the page title. When we click the
Communities and collections link, the title of the browser correctly shows
Communities, but with our page we get a Page not found title, despite
the fact that the contents are shown correctly. Even when we include a html
page instead of hardcoding it in the xsl (eg. see code below), the contents
are showing correctly but the title of the html appears not to be
interpreted.

xsl:when
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='about'
pxsl:copy-of select=document('./Reference/lib/about.html') //p
/xsl:when


Question 2) The breadcrumbs also don't appear when accessing those info
pages we've created.


Any help will be very much appreciated.

Thank you
Andre Assada
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Pottinger, Hardy J.
Hi, André, I'm sorry I'm not at my main computer, so I can't paste example code 
or provide links, but the secret to success is going to be encoding your markup 
in DRI. The title and breadcrumbs links can be put in that way. To see an 
example, just look at the DRI behind any page (I always forget how, but it 
involves adding something to the page's URL in you browser, look it up in the 
wiki). There is also an excellent reference on the entire DRI spec on the wiki. 
If you can, change your whole markup over from straight HTML to DRI, add the 
markup for the title and breadcrumbs, and see if that fixes things for you.

--Hardy

Sent from my iPad

On May 20, 2011, at 7:12 AM, André 
andre.ass...@usp.brmailto:andre.ass...@usp.br wrote:

Dear all,

We're trying to create some info pages to our XMLUI 1.7.0 repository using the 
Mirage theme.
The problem probably resides in my poor knowledge of XSLT.

1) We've sucessfully added links to the side menu, by adding a link inside the 
xsl:template match=dri:options  eg:
div id=ds-search-option class=ds-option-set
a
xsl:attribute name=href
xsl:value-of select=/dri:document/dri:
meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]/
xsl:text/about/xsl:text
/xsl:attribute
i18n:textxmlui.dri2xhtml.structural.informacoes.sobre/i18n:text
/abr/
[etc...]


2) We editted the Mirage.xsl overriding the xsl:template match=dri:body 
with conditionals for handling the call for the info pages  eg:
xsl:template match=dri:body
div id=ds-body
xsl:choose
xsl:when 
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='about'
div
h1ABOUT PAGE - THIS IS A SIMPLE TEST/h1
pLorem Ipsum dolor sit amet/p
/div
/xsl:when
xsl:otherwise
xsl:apply-templates /
/xsl:otherwise
[etc...]


Question 1) Everything is ok, except for the page title. When we click the 
Communities and collections link, the title of the browser correctly shows 
Communities, but with our page we get a Page not found title, despite the 
fact that the contents are shown correctly. Even when we include a html page 
instead of hardcoding it in the xsl (eg. see code below), the contents are 
showing correctly but the title of the html appears not to be interpreted.

xsl:when 
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='about'
pxsl:copy-of select=document('./Reference/lib/about.html') //p
/xsl:when


Question 2) The breadcrumbs also don't appear when accessing those info pages 
we've created.


Any help will be very much appreciated.

Thank you
Andre Assada
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Embargo and OAI interface

2011-05-20 Thread Blanco, Jose
Tom, I am back and I'm wondering if your developer is available and willing to 
share the changes he made to the code?

Thank you!
Jose

-Original Message-
From: Blanco, Jose [mailto:blan...@umich.edu] 
Sent: Tuesday, May 10, 2011 8:53 AM
To: Tom De Mulder; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Embargo and OAI interface

Tom,

I looked at this very closely and realized that the code as it stands would not 
be easy to change to support this, and that an ugly hack would be needed if we 
wanted it done.  I am actually on travel for a week and would still really like 
to see what your developer did.  It would save me some time, and perhaps it 
might be good to have a second set of eyes look at it.  Maybe there is a way to 
make it less ugly.  Do you think your developer could send me what he has when 
he is available.  I would be happy to share the code change I made to the 
search results portion of this.  That was not so ugly.

-Jose


From: Tom De Mulder [td...@cam.ac.uk]
Sent: Tuesday, May 10, 2011 8:40 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Embargo and OAI interface

On Tue, 10 May 2011, Blanco, Jose wrote:

 I have been working lately on hiding items from search results that have
READ metadata restrictions for certain users.  So for example, item1 is
restricted to only one particular user, if that user is logged-in and
searches for a string in that item, he will get the item in the results
set, but if an anonymous user is logged in and searches for a string in
that item, the item will not show in the search results.  I am now trying
to restrict items like this in the browsing, but am having more
difficulty.  It sounds like you may have something that restricts items
from showing up when browsing.  Is that the case?  Could you share the
code that does that?

We do have code that does that, but it's quite an ugly hack -- it filters
results from the browse pages (including search results) by checking
authorization as the browse list is created. This does mess up pagination.

Sadly, our developer is indisposed at the moment, and I wouldn't know
where to find all the changes, so sharing it isn't really possible at the
moment. Sorry.

However, I do gather that to Do It Properly, changes would be needed to
the actual browse system.


Best,

--
Tom De Mulder td...@cam.ac.uk - Cambridge University Computing Service
+44 1223 3 31843 - New Museums Site, Pembroke Street, Cambridge CB2 3QH
- 10/05/2011 : The Moon is Waxing Crescent (46% of Full)

--
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-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
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-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Ant Frozen

2011-05-20 Thread Josefina Perez Alvarez
Hi Hardik Mishra, thank you for your answer.

What I should do to avoid to restart the 3 DSpace installs at the same time?
This was the reason to create 3 tomcat's.

PostgreSQL is one install with 3 databases - ok.
Maven compiles in a different directory - no problem with 1 install.
Should I have 3 ant installs?! If I could change the user.home for each
install maybe was a solution but I didn't find where.

Thanks in advance for any help.
Josi Perez.



2011/5/20 Hardik Mishra hardik.dsp...@aol.in

 Hi Josefina

 You can use same Apache Tomcat, Apache Ant, Apache Maven and Postgres for 
 multipel Dspace installations.

 The only thing you need to change are basic parameters  for each dspace.cfg

 Thanks  Regards

 Hardik Mishra - Ahmedabad (Gujarat) - India



 Message: 3
 Date: Thu, 19 May 2011 18:46:45 -0300
 From: Josefina Perez Alvarez josi@gmail.com
 Subject: [Dspace-tech] Ant frozen
 To: dspace-tech@lists.sourceforge.net
 Message-ID: BANLkTi=5ggpmfibj2_ju7fcsyfap9nq...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hi,

 Recently we configured for test purposes - at the same server:

 - 3 DSpace installations (DSpace, DSpaceA, DSpaceB);

 - 3 Tomcat installations, each one pointing to the respective DSpace webapp
 (/dspace/webapps, /dspaceA/webapps and /dspaceB/webapps).



 We can see the web pages for each DSpace without problem.



 We can execute ant on DSpace, but not on the new DSpace installations (A or
 B) ? it freezes always on the same line, with top at CPU 100% on java:


 1) without ant verbose

 prepare_configs:
  [copy] Copying 123 files to
 /home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config-temp


 2) with ant --verbose option:

  [copy] Copying
 /home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config/GeoLiteCity.dat
 to
 /home/dspaceTeste/dspace/target/dspace-1.7.0-build.dir/config-temp/GeoLiteCity.dat



 Running ant with -diagnostics option and comparing the output between the
 DSpace installation (that works) and DSpaceA, results no differences, except
 the directory. For both:


 1) USER_HOME/.ant/lib no such directory

 But exists USER_HOME/lib


 2) user.home : /usr/share/tomcat6

 but should be

 user.home : /usr/share/tomcat6-A for DSpaceA, right?

 Where can I change this?

 Is this the reason for not ant?


 Ant 1.8.0



 Thanks for any help.

 Josi Perez
 -- next part --
 An HTML attachment was scrubbed...




--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] top level community throws a WingExcpetion in xmlui

2011-05-20 Thread James Bardin
I have a new test installation of 1.7.1, which was upgraded from 1.5.2.

A new (since the upgrade) top level community started throwing the
following error whenever you try to view it:

org.dspace.app.xmlui.wing.WingException: The available object manager
is unable to manage the give object.

It has some sub-communities which work fine, and it shows up correctly
in all listing. I started walking through the code, but haven't gotten
to a root cause, or even a fix yet (though I'm not very familiar with
this codebase). Does anyone have any tip on where to start with this
one?


full stack trace:
http://pastebin.com/raw.php?i=QJqMQ7cS

cocoon:
http://pastebin.com/raw.php?i=Ya2JKiS8

Thanks
-jim

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Pottinger, Hardy J.
Hi, here are the missing links:

DRI Schema Reference:
https://wiki.duraspace.org/display/DSDOC/DRI+Schema+Reference

Debugging XMLUI hints:
https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
metutorial-Debuggingatvariousstagesofthethemeapplicationpipeline (includes
info on how to see the DRI behind any page) and I was right, it is
super-simple, do it by... I'm copying from the page linked above):

1. prepending DRI/ to the beginning of the page url but after the context
path, i.e. http://manakin-url/DRI/search
2. appending the XML parameter to the end of the URL, i.e.
http://manakin-url/search?XML or
http://manakin-url/search?query=texaspage=2XML

As long as I'm pasting links for XMLUI theme development, here are a few
more I've collected:


XML How to Guides: 
https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides
Slideshow: Making Dspace XMLUI Your Own:
http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
Dryad repository's wiki of working notes on the XMLUI:
http://code.google.com/p/dryad/wiki/ManakinReference
How to create a new aspect for XMLUI:
https://wiki.duraspace.org/display/DSPACE/Create+a+new+aspect+(Manakin) --
a fantastic introduction to how DSpace approaches Cocoon development.
JavaDocs for the XMLUI:
http://projects.dspace.org/dspace-xmlui/dspace-xmlui-api/apidocs/index.html
 -- especially look at the direct known subclasses of
AbstractDSpaceTransformer

Cocoon documentation, starting with an overview:
http://cocoon.apache.org/2.1/userdocs/concepts/


There are also a couple of useful PDFs floating around on the net, google
for ManakinDevelopersGuide.pdf and tdl-manakin-training.pdf, or
perhaps the original authors can reply with cannonical links to either PDF.

Anyone else have helpful info on XMLUI development, send it my way. Thanks!

--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
No matter how far down the wrong road you've gone,
turn back. --Turkish proverb






On 5/20/11 7:27 AM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote:

Hi, André, I'm sorry I'm not at my main computer, so I can't paste
example code or provide links, but the secret to success is going to be
encoding your markup in DRI. The title and breadcrumbs links can be put
in that way. To see an example, just look at the DRI behind any page (I
always forget how, but it involves adding something to the page's URL in
you browser, look it up in the wiki). There is also an excellent
reference on the entire DRI spec on the wiki. If you can, change your
whole markup over from straight HTML to DRI, add the markup for the title
and breadcrumbs, and see if that fixes things for you.

--Hardy

Sent from my iPad

On May 20, 2011, at 7:12 AM, André
andre.ass...@usp.brmailto:andre.ass...@usp.br wrote:

Dear all,

We're trying to create some info pages to our XMLUI 1.7.0 repository
using the Mirage theme.
The problem probably resides in my poor knowledge of XSLT.

1) We've sucessfully added links to the side menu, by adding a link
inside the xsl:template match=dri:options  eg:
div id=ds-search-option class=ds-option-set
a
xsl:attribute name=href
xsl:value-of select=/dri:document/dri:
meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]/
xsl:text/about/xsl:text
/xsl:attribute
i18n:textxmlui.dri2xhtml.structural.informacoes.sobre/i18n:text
/abr/
[etc...]


2) We editted the Mirage.xsl overriding the xsl:template
match=dri:body with conditionals for handling the call for the info
pages  eg:
xsl:template match=dri:body
div id=ds-body
xsl:choose
xsl:when 
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request']
[@qualifier='URI']='about'
div
h1ABOUT PAGE - THIS IS A SIMPLE TEST/h1
pLorem Ipsum dolor sit amet/p
/div
/xsl:when
xsl:otherwise
xsl:apply-templates /
/xsl:otherwise
[etc...]


Question 1) Everything is ok, except for the page title. When we click
the Communities and collections link, the title of the browser
correctly shows Communities, but with our page we get a Page not
found title, despite the fact that the contents are shown correctly.
Even when we include a html page instead of hardcoding it in the xsl (eg.
see code below), the contents are showing correctly but the title of
the html appears not to be interpreted.

xsl:when 
test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request']
[@qualifier='URI']='about'
pxsl:copy-of select=document('./Reference/lib/about.html') //p
/xsl:when


Question 2) The breadcrumbs also don't appear when accessing those info
pages we've created.


Any help will be very much appreciated.

Thank you
Andre Assada
--

What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including 

Re: [Dspace-tech] top level community throws a WingExcpetion in xmlui

2011-05-20 Thread Kevin Van de velde
This is caused because the discovery index is out of date I would attempt to
run the following in your {dspace.dir}/bin

dspace update-discovery-index -f


Hope this helps,


Kevin Van de Velde
@mire
Esperantolaan 4 - 3001 Heverlee - Belgium
2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions



On 20 May 2011 16:25, James Bardin jbar...@bu.edu wrote:

 I have a new test installation of 1.7.1, which was upgraded from 1.5.2.

 A new (since the upgrade) top level community started throwing the
 following error whenever you try to view it:

 org.dspace.app.xmlui.wing.WingException: The available object manager
 is unable to manage the give object.

 It has some sub-communities which work fine, and it shows up correctly
 in all listing. I started walking through the code, but haven't gotten
 to a root cause, or even a fix yet (though I'm not very familiar with
 this codebase). Does anyone have any tip on where to start with this
 one?


 full stack trace:
 http://pastebin.com/raw.php?i=QJqMQ7cS

 cocoon:
 http://pastebin.com/raw.php?i=Ya2JKiS8

 Thanks
 -jim


 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] top level community throws a WingExcpetion in xmlui

2011-05-20 Thread James Bardin
On Fri, May 20, 2011 at 10:41 AM, Kevin Van de velde ke...@mire.be wrote:
 This is caused because the discovery index is out of date I would attempt to
 run the following in your {dspace.dir}/bin

 dspace update-discovery-index -f

 Hope this helps,


That was it, specifically the '-f' option (the index is updated
normally via cron).

Any idea as to what could cause this?

Thanks!



-- 
James Bardin jbar...@bu.edu
Systems Engineer
Boston University IST

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] integration of AGROVOC wth DSPACE (Abhishek Raval)

2011-05-20 Thread Marc GOOVAERTS
Dear,

We are working on a customized version of DSpace for the Agris (FAO) and for 
the IODE community (UNESCO), including Agrovoc and/or ASFA as a thesaurus. In 
the next weeks the code and an easy-to-install version will be made available.

At the moment it includes the Agrovoc thesaurus managed with the standard 
authority control application of DSpace. In a later version (Nov-Dec 2011), a 
thesaurus plug-in will make the web services of Agrovoc accessible.

The AgriOcean DSpace has also refined the OAI crosswalks, making it possible to 
add attributes in the xml (for language, authority ID), which is used to refine 
the MODS format exported in OAI and to create an Agris AP crosswalk.

You will find more information at: 
http://aims.fao.org/community/group/agriocean-dspace. see also the test server 
at 193.190.8.15\agriocean (login: oceand...@gmail.com and password: agri).

Regards

Marc Goovaerts
Head Library
Hasselt University


-Original Message-
From: dspace-tech-requ...@lists.sourceforge.net 
[mailto:dspace-tech-requ...@lists.sourceforge.net] 
Sent: maandag 16 mei 2011 16:00
To: dspace-tech@lists.sourceforge.net
Subject: DSpace-tech Digest, Vol 61, Issue 33

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. NPE error in searching after an upgrade to 1.7.1  (plus
  patches) (Pottinger, Hardy J.)
   2. Re: NPE error in searching after an upgrade to 1.7.1 (plus
  patches) (Graham Triggs)
   3. que abt mass uploading (Abhishek Raval)
   4. integration of AGROVOC wth DSPACE (Abhishek Raval)
   5. Re: NPE error in searching after an upgrade to 1.7.1 (plus
  patches) (Pottinger, Hardy J.)
   6. Re: que abt mass uploading (Tim Donohue)
   7. Re: XMLUI weirdness--RESOLVED (Jeffrey Trimble)


--

Message: 1
Date: Sun, 15 May 2011 14:50:33 -0500
From: Pottinger, Hardy J. pottinge...@umsystem.edu
Subject: [Dspace-tech] NPE error in searching after an upgrade to
1.7.1   (plus patches)
To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Message-ID:
a58dc16442384b4c956d43e6ed570cc143f0222...@um-email05.um.umsystem.edu

Content-Type: text/plain; charset=us-ascii

Hi, I'm in a pickle, our upgrade to 1.7.1 in production is not working out so 
well, we can browse OK, but searching is throwing NPE errors, I'm looking for 
advice to troubleshoot.

Here's a link that is currently throwing an NPE:
https://mospace.umsystem.edu/xmlui/search?query=testsubmit=Go

And of course, we didn't see anything like this in our testing. Both production 
and dev boxes are running the same toolchain on RHEL5. Very similar hardware.

Have done the normal upgrade steps (have rebuilt the index a few times, 
restarted everything a few times, cleared the cocoon cache).

Thanks for any pointers you can provide, I really appreciate it.

--Hardy


--

Message: 2
Date: Sun, 15 May 2011 21:36:51 +0100
From: Graham Triggs grahamtri...@gmail.com
Subject: Re: [Dspace-tech] NPE error in searching after an upgrade to
1.7.1 (plus patches)
To: Pottinger, Hardy J. pottinge...@umsystem.edu
Cc: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Message-ID: banlktikwepr2yf4_ub04zmvqgfbbzhk...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi,

There is an error in the 1.7.1 source. Lines 170  171 of

org.dspace.app.xmlui.aspect.artifactbrowser.AbstractSearch

need to be moved so that they come after the call to performSearch().
These two lines are expecting the queryResults object to be set, but
that won't happen until after the search has been executed.


Regards,

G


On 15 May 2011 20:50, Pottinger, Hardy J. pottinge...@umsystem.edu wrote:

 Hi, I'm in a pickle, our upgrade to 1.7.1 in production is not working out
 so well, we can browse OK, but searching is throwing NPE errors, I'm looking
 for advice to troubleshoot.

 Here's a link that is currently throwing an NPE:
 https://mospace.umsystem.edu/xmlui/search?query=testsubmit=Go

 And of course, we didn't see anything like this in our testing. Both
 production and dev boxes are running the same toolchain on RHEL5. Very
 similar hardware.

 Have done the normal upgrade steps (have rebuilt the index a few times,
 restarted everything a few times, cleared the cocoon cache).

 Thanks for any pointers you can provide, I really appreciate it.

 --Hardy

 

[Dspace-tech] Photo Thumnails Search Speed

2011-05-20 Thread Ken Schindler
A couple of rookie level questions: 

1. Has anyone set up their system for photo storage such that a search will 
present the user with a thumbnail rather the full photo? 

2. What are the best techniques to ensure fast response times to searches of 
large (?) systems with 70,000 item s in storage? 


Ken Schindler/SVSU 


--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace User Group Track program at OR11

2011-05-20 Thread Holly Mercer
Announcing the schedule for the DSpace User Group at the Sixth Annual 
International Conference on Open Repositories (OR11)
6-11 June 2011, Austin, Texas USA
For more information, visit the OR11 site http://conferences.tdl.org/0R2011.
Hope many of you will join us in Austin!

Friday June 10
10:30am – Noon  DuraSpace plenary
1:30pm – 3:00 pmA Look at DSpace 1.8
1:30pm  What’s planned for DSpace 1.8 (Robin Taylor)
2:15pm  DSpace 1.8 Configurable Reviewer Workflow Framework 
(Mark Diggory, Lieven Droogmans)
3:30pm – 5:00pmTools and Integration
3:30pm  Introduction to the DSpace Curation System (William 
Hays)
4:00pm  Integrating DuraCloud services in DSpace: UBC’s 
Circle use-case (Mark Diggory, Lieven Droogmans)
4:30pm  The right tools for the job:  fine tuning the 
distributed repository architecture (Alexey Maslov)
Saturday June 11
9:00am – 10:30am  Approaches to Customization
9:00am   Doing DSpace differently:  creative configuration 
with minimal coding (Kim Shepherd, Stuart Lewis)
9:30am   A fresh look at user interfaces:  introducing 
WebMVC (Graham Triggs)
10:30am - Noon  Reports from the Field
10:30amMoving Beyond The Low Hanging Fruit: Archiving of Complex and 
Diverse Data (Robert Olendorf, Zoe Chao, Amy Jackson, Kevin Comerford, Lori 
Townsend, Jeffey Dickey)
11:00amInternationalizing DSpace: a case study in an Arabic repository 
interface (James S Creel, Wael Al-Rihawi, Carole Thompson)
11:30amReliable facts from unreliable figures: comparing statistical 
packages in DSpace (Sara Fuchs, Bill Anderson, Andy Carter, Chris Helms)
--
Holly Mercer
Head of Digital Services and Scholarly Communication
University Libraries
Texas AM University
hmer...@tamu.edumailto:hmer...@tamu.edu

5000 TAMU | College Station, TX 77843-5000
Tel. 979.862.3534 | Cell 785.766.6587 | Fax 979.845.6238

http://library.tamu.eduhttp://library.tamu.edu/
http://digital.library.tamu.eduhttp://digital.library.tamu.edu/
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Peter Dietz
Hi André,

I'm guessing that your XSLT is good, you're able to modify a page, and get
your changes to happen. However, if you are adding a new page that doesn't
exist, you'll get a problem with the sitemap not having a match for the new
page you created. The sitemaps (there are browseArtifacts, viewArtifacts,
searchArtifacts) match paths such as community-list or handle/**, but not
about/ so you'll end up with the error of Page Not Found, which is when it
doesn't match anything.

The way I fix that for custom pages that we add, is to add an AboutUs.Java
file to generate some basic DRI, and configure the sitemap to use that Java
file for our about page.

If you build your xsl to create a static page, that partially works, but you
also have to modify the
sitemaphttps://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap#L82
to
add a rule to match the content you added. If there is no rule for the page
in the sitemap, then Page Not Found is the exception.

See this gist for a sample of how to do this: https://gist.github.com/842301



Peter Dietz



On Fri, May 20, 2011 at 10:33 AM, Pottinger, Hardy J. 
pottinge...@umsystem.edu wrote:

 Hi, here are the missing links:

 DRI Schema Reference:
 https://wiki.duraspace.org/display/DSDOC/DRI+Schema+Reference

 Debugging XMLUI hints:
 https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
 metutorial-Debuggingatvariousstagesofthethemeapplicationpipeline (includes
 info on how to see the DRI behind any page) and I was right, it is
 super-simple, do it by... I'm copying from the page linked above):

 1. prepending DRI/ to the beginning of the page url but after the context
 path, i.e. http://manakin-url/DRI/search
 2. appending the XML parameter to the end of the URL, i.e.
 http://manakin-url/search?XML or
 http://manakin-url/search?query=texaspage=2XML

 As long as I'm pasting links for XMLUI theme development, here are a few
 more I've collected:


 XML How to Guides:
 https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides
 Slideshow: Making Dspace XMLUI Your Own:
 http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
 Dryad repository's wiki of working notes on the XMLUI:
 http://code.google.com/p/dryad/wiki/ManakinReference
 How to create a new aspect for XMLUI:
 https://wiki.duraspace.org/display/DSPACE/Create+a+new+aspect+(Manakin) --
 a fantastic introduction to how DSpace approaches Cocoon development.
 JavaDocs for the XMLUI:
 http://projects.dspace.org/dspace-xmlui/dspace-xmlui-api/apidocs/index.html
  -- especially look at the direct known subclasses of
 AbstractDSpaceTransformer

 Cocoon documentation, starting with an overview:
 http://cocoon.apache.org/2.1/userdocs/concepts/


 There are also a couple of useful PDFs floating around on the net, google
 for ManakinDevelopersGuide.pdf and tdl-manakin-training.pdf, or
 perhaps the original authors can reply with cannonical links to either PDF.

 Anyone else have helpful info on XMLUI development, send it my way. Thanks!

 --
 HARDY POTTINGER pottinge...@umsystem.edu
 University of Missouri Library Systems
 http://lso.umsystem.edu/~pottingerhj/
 No matter how far down the wrong road you've gone,
 turn back. --Turkish proverb






 On 5/20/11 7:27 AM, Pottinger, Hardy J. pottinge...@umsystem.edu
 wrote:

 Hi, André, I'm sorry I'm not at my main computer, so I can't paste
 example code or provide links, but the secret to success is going to be
 encoding your markup in DRI. The title and breadcrumbs links can be put
 in that way. To see an example, just look at the DRI behind any page (I
 always forget how, but it involves adding something to the page's URL in
 you browser, look it up in the wiki). There is also an excellent
 reference on the entire DRI spec on the wiki. If you can, change your
 whole markup over from straight HTML to DRI, add the markup for the title
 and breadcrumbs, and see if that fixes things for you.
 
 --Hardy
 
 Sent from my iPad
 
 On May 20, 2011, at 7:12 AM, André
 andre.ass...@usp.brmailto:andre.ass...@usp.br wrote:
 
 Dear all,
 
 We're trying to create some info pages to our XMLUI 1.7.0 repository
 using the Mirage theme.
 The problem probably resides in my poor knowledge of XSLT.
 
 1) We've sucessfully added links to the side menu, by adding a link
 inside the xsl:template match=dri:options  eg:
 div id=ds-search-option class=ds-option-set
 a
 xsl:attribute name=href
 xsl:value-of select=/dri:document/dri:
 meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]/
 xsl:text/about/xsl:text
 /xsl:attribute
 i18n:textxmlui.dri2xhtml.structural.informacoes.sobre/i18n:text
 /abr/
 [etc...]
 
 
 2) We editted the Mirage.xsl overriding the xsl:template
 match=dri:body with conditionals for handling the call for the info
 pages  eg:
 xsl:template match=dri:body
 div id=ds-body
 xsl:choose
 xsl:when
 

Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Mark Diggory
Our solution in Dryad (kudos to Kevin Clark) is embedded in the theme
template

https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/Dryad.xsl
https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/Dryad.xsl
and supports writing your added pages in xhtml.

https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/pages/


Relevant sections override both body and head sections of generated
html... not sure if this works with fixes to 404 status codes... if so, a
transformer could be added to test for the present of the file and insert
its location into the pageMeta and a small amount of dri into the pipeline
to elimminate the 404 condition in the DRI pipeline...  probibly be a better
way to detect where to get the xhtml file from anyhow.


!-- Overwriting the default DSpace dri:body template to check for 
pages --
xsl:template match=dri:body
div id=ds-body
xsl:if 
test=$meta[@element='alert'][@qualifier='message']
div id=ds-system-wide-alert
p
xsl:copy-of
select=$meta[@element='alert'][@qualifier='message']/node()/
/p
/div
/xsl:if
xsl:choose
xsl:when test=$doc
xsl:copy-of 
select=$doc//div[@id='ds-body']/*/



.



title
xsl:choose
xsl:when test=$doc
xsl:value-of 
select=$doc/html/head/title/
/xsl:when
xsl:when test=$file_page_title

i18n:textxmlui.dryad.page_title/i18n:text
xsl:value-of
select=//*[@id='org.datadryad.dspace.xmlui.aspect.browse.ItemViewer.div.item-view']/dri:head/
/xsl:when
xsl:when test=$pkg_page_title
xsl:copy-of 
select=$pkg_page_title/node()/
/xsl:when
xsl:otherwise
xsl:text /xsl:text
/xsl:otherwise
/xsl:choose
/title

Mark

On Fri, May 20, 2011 at 3:03 PM, Peter Dietz pdiet...@gmail.com wrote:

 Hi André,

 I'm guessing that your XSLT is good, you're able to modify a page, and get
 your changes to happen. However, if you are adding a new page that doesn't
 exist, you'll get a problem with the sitemap not having a match for the new
 page you created. The sitemaps (there are browseArtifacts, viewArtifacts,
 searchArtifacts) match paths such as community-list or handle/**, but not
 about/ so you'll end up with the error of Page Not Found, which is when it
 doesn't match anything.

 The way I fix that for custom pages that we add, is to add an AboutUs.Java
 file to generate some basic DRI, and configure the sitemap to use that Java
 file for our about page.

 If you build your xsl to create a static page, that partially works, but
 you also have to modify the 
 sitemaphttps://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap#L82
  to
 add a rule to match the content you added. If there is no rule for the page
 in the sitemap, then Page Not Found is the exception.

 See this gist for a sample of how to do this:
 https://gist.github.com/842301



 Peter Dietz




 On Fri, May 20, 2011 at 10:33 AM, Pottinger, Hardy J. 
 pottinge...@umsystem.edu wrote:

 Hi, here are the missing links:

 DRI Schema Reference:
 https://wiki.duraspace.org/display/DSDOC/DRI+Schema+Reference

 Debugging XMLUI hints:

 https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
 metutorial-Debuggingatvariousstagesofthethemeapplicationpipelinehttps://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Debuggingatvariousstagesofthethemeapplicationpipeline(includes
 info on how to see the DRI behind any page) and I was right, it is
 super-simple, do it by... I'm copying from the page linked above):

 1. prepending DRI/ to the beginning of the page url but after the context
 path, i.e. http://manakin-url/DRI/search
 2. appending the XML parameter to the end of the URL, i.e.
 http://manakin-url/search?XML or
 http://manakin-url/search?query=texaspage=2XML

 As long as I'm pasting links for XMLUI theme development, here are a few
 more I've collected:


 XML How to Guides:
 

Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Mark Diggory
Missed most important part

!-- Check to see if XHTML pages are included via this XSLT --
xsl:variable name=meta
select=/dri:document/dri:meta/dri:pageMeta/dri:metadata/
xsl:variable name=pageName
select=$meta[@element='request'][@qualifier='URI']/
xsl:variable name=doc select=document(concat('pages/', $pageName,
'.xhtml'))/



On Fri, May 20, 2011 at 4:11 PM, Mark Diggory mdigg...@atmire.com wrote:

 Our solution in Dryad (kudos to Kevin Clark) is embedded in the theme
 template


 https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/Dryad.xsl
 https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/Dryad.xsl
 and supports writing your added pages in xhtml.


 https://dryad.googlecode.com/svn/trunk/dryad/dspace/modules/xmlui/src/main/webapp/themes/Dryad/pages/


 Relevant sections override both body and head sections of generated
 html... not sure if this works with fixes to 404 status codes... if so, a
 transformer could be added to test for the present of the file and insert
 its location into the pageMeta and a small amount of dri into the pipeline
 to elimminate the 404 condition in the DRI pipeline...  probibly be a better
 way to detect where to get the xhtml file from anyhow.


   !-- Overwriting the default DSpace dri:body template to check for 
 pages --
   xsl:template match=dri:body
   div id=ds-body
   xsl:if 
 test=$meta[@element='alert'][@qualifier='message']
   div id=ds-system-wide-alert
   p
   xsl:copy-of 
 select=$meta[@element='alert'][@qualifier='message']/node()/
   /p
   /div
   /xsl:if
   xsl:choose
   xsl:when test=$doc
   xsl:copy-of 
 select=$doc//div[@id='ds-body']/*/



 .



 title
   xsl:choose
   xsl:when test=$doc
   xsl:value-of 
 select=$doc/html/head/title/
   /xsl:when
   xsl:when test=$file_page_title
   
 i18n:textxmlui.dryad.page_title/i18n:text
   xsl:value-of 
 select=//*[@id='org.datadryad.dspace.xmlui.aspect.browse.ItemViewer.div.item-view']/dri:head/
   /xsl:when
   xsl:when test=$pkg_page_title
   xsl:copy-of 
 select=$pkg_page_title/node()/
   /xsl:when
   xsl:otherwise
   xsl:text /xsl:text
   /xsl:otherwise
   /xsl:choose
   /title

 Mark

 On Fri, May 20, 2011 at 3:03 PM, Peter Dietz pdiet...@gmail.com wrote:

 Hi André,

 I'm guessing that your XSLT is good, you're able to modify a page, and get
 your changes to happen. However, if you are adding a new page that doesn't
 exist, you'll get a problem with the sitemap not having a match for the new
 page you created. The sitemaps (there are browseArtifacts, viewArtifacts,
 searchArtifacts) match paths such as community-list or handle/**, but not
 about/ so you'll end up with the error of Page Not Found, which is when it
 doesn't match anything.

 The way I fix that for custom pages that we add, is to add an AboutUs.Java
 file to generate some basic DRI, and configure the sitemap to use that Java
 file for our about page.

 If you build your xsl to create a static page, that partially works, but
 you also have to modify the 
 sitemaphttps://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap#L82
  to
 add a rule to match the content you added. If there is no rule for the page
 in the sitemap, then Page Not Found is the exception.

 See this gist for a sample of how to do this:
 https://gist.github.com/842301



 Peter Dietz




 On Fri, May 20, 2011 at 10:33 AM, Pottinger, Hardy J. 
 pottinge...@umsystem.edu wrote:

 Hi, here are the missing links:

 DRI Schema Reference:
 https://wiki.duraspace.org/display/DSDOC/DRI+Schema+Reference

 Debugging XMLUI hints:

 https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
 metutorial-Debuggingatvariousstagesofthethemeapplicationpipelinehttps://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Debuggingatvariousstagesofthethemeapplicationpipeline(includes
 info on how to see the DRI behind any page) and I was right, it is
 super-simple, do it by... 

Re: [Dspace-tech] Question on static info pages for XMLUI 1.7.0 Mirage

2011-05-20 Thread Pottinger, Hardy J.
Thanks, Peter, this looks like a cool way to do static pages, I'll have to give 
this a try. Would you consider doing a writeup on the process on the wiki?

--Hardy

Sent from my iPad

On May 20, 2011, at 5:03 PM, Peter Dietz 
pdiet...@gmail.commailto:pdiet...@gmail.com wrote:

Hi André,

I'm guessing that your XSLT is good, you're able to modify a page, and get your 
changes to happen. However, if you are adding a new page that doesn't exist, 
you'll get a problem with the sitemap not having a match for the new page you 
created. The sitemaps (there are browseArtifacts, viewArtifacts, 
searchArtifacts) match paths such as community-list or handle/**, but not 
about/ so you'll end up with the error of Page Not Found, which is when it 
doesn't match anything.

The way I fix that for custom pages that we add, is to add an AboutUs.Java file 
to generate some basic DRI, and configure the sitemap to use that Java file for 
our about page.

If you build your xsl to create a static page, that partially works, but you 
also have to modify the 
sitemaphttps://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap#L82
 to add a rule to match the content you added. If there is no rule for the page 
in the sitemap, then Page Not Found is the exception.

See this gist for a sample of how to do this: https://gist.github.com/842301 
https://gist.github.com/842301



Peter Dietz



On Fri, May 20, 2011 at 10:33 AM, Pottinger, Hardy J. 
mailto:pottinge...@umsystem.edupottinge...@umsystem.edumailto:pottinge...@umsystem.edu
 wrote:
Hi, here are the missing links:

DRI Schema Reference:
https://wiki.duraspace.org/display/DSDOC/DRI+Schema+Referencehttps://wiki.duraspace.org/display/DSDOC/DRI+Schema+Reference

Debugging XMLUI hints:
https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
metutorial-Debuggingatvariousstagesofthethemeapplicationpipelinehttps://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthe
metutorial-Debuggingatvariousstagesofthethemeapplicationpipeline (includes
info on how to see the DRI behind any page) and I was right, it is
super-simple, do it by... I'm copying from the page linked above):

1. prepending DRI/ to the beginning of the page url but after the context
path, i.e. http://manakin-url/DRI/search
2. appending the XML parameter to the end of the URL, i.e.
http://manakin-url/search?XML or
http://manakin-url/search?query=texaspage=2XML

As long as I'm pasting links for XMLUI theme development, here are a few
more I've collected:


XML How to Guides:
https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guideshttps://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides
Slideshow: Making Dspace XMLUI Your Own:
http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-ownhttp://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own
Dryad repository's wiki of working notes on the XMLUI:
http://code.google.com/p/dryad/wiki/ManakinReferencehttp://code.google.com/p/dryad/wiki/ManakinReference
How to create a new aspect for XMLUI:
https://wiki.duraspace.org/display/DSPACE/Create+a+new+aspect+(Manakin)https://wiki.duraspace.org/display/DSPACE/Create+a+new+aspect+(Manakin)
 --
a fantastic introduction to how DSpace approaches Cocoon development.
JavaDocs for the XMLUI:
http://projects.dspace.org/dspace-xmlui/dspace-xmlui-api/apidocs/index.htmlhttp://projects.dspace.org/dspace-xmlui/dspace-xmlui-api/apidocs/index.html
 -- especially look at the direct known subclasses of
AbstractDSpaceTransformer

Cocoon documentation, starting with an overview:
http://cocoon.apache.org/2.1/userdocs/concepts/http://cocoon.apache.org/2.1/userdocs/concepts/


There are also a couple of useful PDFs floating around on the net, google
for ManakinDevelopersGuide.pdf and tdl-manakin-training.pdf, or
perhaps the original authors can reply with cannonical links to either PDF.

Anyone else have helpful info on XMLUI development, send it my way. Thanks!

--
HARDY POTTINGER 
mailto:pottinge...@umsystem.edupottinge...@umsystem.edumailto:pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/http://lso.umsystem.edu/~pottingerhj/
No matter how far down the wrong road you've gone,
turn back. --Turkish proverb






On 5/20/11 7:27 AM, Pottinger, Hardy J. 
mailto:pottinge...@umsystem.edupottinge...@umsystem.edumailto:pottinge...@umsystem.edu
 wrote:

Hi, André, I'm sorry I'm not at my main computer, so I can't paste
example code or provide links, but the secret to success is going to be
encoding your markup in DRI. The title and breadcrumbs links can be put
in that way. To see an example, just look at the DRI behind any page (I
always forget how, but it involves adding something to the page's URL in
you browser, look it up in the wiki). There is also an excellent
reference on the entire DRI spec on the wiki. If you can, change your
whole markup over from straight HTML to DRI, add the 

[Dspace-tech] OR 2011 -- Curation Task Technical Workshop

2011-05-20 Thread Wendy J Bossons


Subject:  Writing and Deploying your Own Curation Task!

There's still room available in the OR 2011 pre-conference workshop on writing 
curation tasks. The workshop takes place on June 7, from 8AM to 10AM. It is 
free to OR attendees! Please contact me for workshop registration details.

Workshop Overview...

There are numerous activities required to store and maintain the digital assets 
of an institution. DSpace provides functionality to support many of these 
activities through its core distribution. What happens when some requirement 
emerges that is not already part of the core distribution? 

The answer -- write a curation task!

The new curation task framework in DSpace 1.7 provides a simple, extensible way 
to manage routine content operations on a repository.

This workshop is a two-hour tutorial where participants will learn how to write 
a curation task, as well as deploy and configure one.

Hope to see you at OR!
**


 I am putting myself to the fullest possible use, which is all I think that 
any conscious entity can ever hope to do.

..\Wendy
Wendy Bossons
Senior Software Engineer
MIT Libraries
Software Analysis and Development
77 Masachusetts Avenue
Cambridge, MA 02139-4307
617-253-0770
wboss...@mit.edu

..\Wendy

I am putting myself to the fullest possible use, which is all I think that any 
conscious entity can ever hope to do.

Wendy Bossons
Senior Software Engineer
MIT Libraries
Software Analysis  Development
Building E25-131
77 Massachusetts Ave.
Cambridge, MA 02141-4307
Phone 617-253-0770
Fax 617-253-4462
wboss...@mit.edu
http://libraries.mit.edu



--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech