[Dspace-tech] Ant frozen

2011-05-19 Thread Josefina Perez Alvarez
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
--
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 clean script dies

2011-05-19 Thread Jeffrey Trimble
Since release 1.6 when we changed from ./cleanup as our command to 'dspace 
cleanup' I've not seen any problems.
My crontab runs correctly, and my O/S emails me the end results of the file.  
For the last three or four days, I haven't
seen any email.  So I ran it manual.  It immediately returned me to the the 
Prompt$.  I ran the old ./cleanup command 
(because it hasn't be deprecated in 1.6) and I got the normal:

Cleaning the asset store
Cleanup completed

Anyone have a clue why the other command returns **nothing** (as in zilch, 
etc.).  ???

Version 1.6.2 on AIX 5.3

Thanks in advance.

--Jeff

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
""For he is the Kwisatz Haderach..."


--
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] Deleting a collection

2011-05-19 Thread BOULBEN, Philippe
Hi all,

we have made a upgrade of DSpace fron 1.5.2 to 1.7.0 and now whe have trouble 
with deleting a collection by the DSpace web interface

we get a sql exception : the collection_id is still referenced in table 
"community2collection"

when you delete the link in this table, we have problem with the key refrenced 
in the table "collection_item_count"

normaly the deletion may be made first in the table giving the hierachical link 
before the main table, and it doesn't work

we have same problem with deleting a item or a community

if someone has solution ...

Thanks

Philippe BOULBEN
Chef de projet informatique - IT Project Manager
INIST-CNRS
2 allée du Parc de Brabois
CS10310
F-54519 Vandoeuvre-lès-Nancy Cedex

Tél  +33 (0)3.83.50.47.22
Mél : philippe.boul...@inist.fr
www.inist.fr



--
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] Problem with ordering in browsing

2011-05-19 Thread Graham Triggs
Please take a look at a previous post of mine on this subject:

http://dspace.2283337.n4.nabble.com/Browse-UTF-8-and-sorting-in-1-5-tp3281449p3281450.html

Regards,
G

On 19 May 2011 15:18, Peter Dietz  wrote:

> Hi Ladislav,
>
> I've noticed that our librarians here are happier with sorting when we use
> the collate of C as opposed to utf8/en_US.
>
> postgres=# create database "dspace" with owner = dspace encoding='utf8' 
> tablespace=pg_default lc_collate = 'C' lc_ctype='en_US.UTF-8' template 
> template0;
>
>
> I've add these three authors to a test collection that had some sample data
> in it, and it has the results you were expecting:
> == Author Name ==
> Cabanová, Zuzana
> Cablová, Barbora
> creatorlast, creatorfirst
> Čabla, Michael
>
>
>
>
> Peter Dietz
>
>
>
>
> On Thu, May 19, 2011 at 4:41 AM, Ladislav Kulhanek <
> ladislav.kulha...@vsb.cz> wrote:
>
>> Hello everybody.
>>
>> We have data in our DSpace in czech language (code "cs" in accordance
>> with ISO 639-1) and we have a problem with order in browsing by
>> author, titles and subjects (order in search results is correct).
>> There are letters with diacritic in czech alphabet, for example "Č"
>> (0x010C code in unicode). This letter should be ordered between "C"
>> and "D", but in DSpace it is ordered to the same place as "C". For
>> example we have ordered list as
>>
>> Cabanová, Zuzana
>> Čabla, Michael
>> Cablová, Barbora
>>
>> and this list should be
>>
>> Cabanová, Zuzana
>> Cablová, Barbora
>> Čabla, Michael
>>
>> And czech alphabet contains letter "Ch" (it consists from two
>> characters). This letter should be ordered between "h" and "i". This
>> letter is ordered in DSpace correctly. So it looks like DSpace order
>> in accordance with czech alphabet, but ignore diacritics.
>> We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
>> Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
>> URIEncoding="UTF-8". Any idea how to solve it? Thanks.
>>
>> Ladislav Kulhanek
>>
>>
>> --
>> 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
>
>
--
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] Problem with ordering in browsing

2011-05-19 Thread Peter Dietz
Hi Ladislav,

I've noticed that our librarians here are happier with sorting when we use
the collate of C as opposed to utf8/en_US.


postgres=# create database "dspace" with owner = dspace
encoding='utf8' tablespace=pg_default lc_collate = 'C'
lc_ctype='en_US.UTF-8' template template0;


I've add these three authors to a test collection that had some sample data
in it, and it has the results you were expecting:
== Author Name ==
Cabanová, Zuzana
Cablová, Barbora
creatorlast, creatorfirst
Čabla, Michael




Peter Dietz



On Thu, May 19, 2011 at 4:41 AM, Ladislav Kulhanek  wrote:

> Hello everybody.
>
> We have data in our DSpace in czech language (code "cs" in accordance
> with ISO 639-1) and we have a problem with order in browsing by
> author, titles and subjects (order in search results is correct).
> There are letters with diacritic in czech alphabet, for example "Č"
> (0x010C code in unicode). This letter should be ordered between "C"
> and "D", but in DSpace it is ordered to the same place as "C". For
> example we have ordered list as
>
> Cabanová, Zuzana
> Čabla, Michael
> Cablová, Barbora
>
> and this list should be
>
> Cabanová, Zuzana
> Cablová, Barbora
> Čabla, Michael
>
> And czech alphabet contains letter "Ch" (it consists from two
> characters). This letter should be ordered between "h" and "i". This
> letter is ordered in DSpace correctly. So it looks like DSpace order
> in accordance with czech alphabet, but ignore diacritics.
> We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
> Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
> URIEncoding="UTF-8". Any idea how to solve it? Thanks.
>
> Ladislav Kulhanek
>
>
> --
> 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


[Dspace-tech] item dispay

2011-05-19 Thread Webshet, Sisay (ILRI)
Hi 

Elvi,

Can you try this code. Or make your code similar to a field that doesn't
t have qualifier like 
abstract 

  

Publisher:















  


  
  

Thanks 
sisay
Message: 2
Date: Wed, 18 May 2011 17:16:00 +0800
From: "Nemiz, Elvi S." 
Subject: [Dspace-tech] Custom Simple Item View
To: dspace-tech@lists.sourceforge.net
Message-ID: 
Content-Type: text/plain; charset="iso-8859-1"

Dear All,

Hi everyone, we are using DSpace 1.7.1 and mirage as our theme. I  want
to
customise the DC metadata fields to show in the default simple item
view. I
edited item-view.xsl and for testing purposes I add this line:
  
  

xmlui.dri2xhtml.METS-1.0.item-publisher:


 




 

   
   
    



  


  
  
 and then below this line:
 
 ,
I change 7 into 8. Restarted Tomcat and upload new items. I found out
that
the additional field that I inserted in item-view.xsl only shows during
the
submission process but not after the item has been approved and
archived,
also it didn't show in older items before I edited item-view.xsl. I
tried to
edit both item-view.xsl from
\webapps\xmlui\themes\Mirage\lib\xsl\aspect\artifactbrowser and
\webapps\xmlui\themes\dri2xhtml-alt\aspect\artifactbrowser and still the
field doesn't show up. Please help. Thanks in advance.


Best regards,
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines

--
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] Problem with ordering in browsing

2011-05-19 Thread Ladislav Kulhanek
Hello everybody.

We have data in our DSpace in czech language (code "cs" in accordance
with ISO 639-1) and we have a problem with order in browsing by
author, titles and subjects (order in search results is correct).
There are letters with diacritic in czech alphabet, for example "Č"
(0x010C code in unicode). This letter should be ordered between "C"
and "D", but in DSpace it is ordered to the same place as "C". For
example we have ordered list as

Cabanová, Zuzana
Čabla, Michael
Cablová, Barbora

and this list should be

Cabanová, Zuzana
Cablová, Barbora
Čabla, Michael

And czech alphabet contains letter "Ch" (it consists from two
characters). This letter should be ordered between "h" and "i". This
letter is ordered in DSpace correctly. So it looks like DSpace order
in accordance with czech alphabet, but ignore diacritics.
We have DSpace 1.7.1, Manakin, db PostgreSQL 8.4 (database has
Collation and Ctype set as cs_CZ.UTF-8), and in tomcat connector is
URIEncoding="UTF-8". Any idea how to solve it? Thanks.

Ladislav Kulhanek

--
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