Re: [Dspace-tech] item breaks

2013-06-17 Thread emilio lorenzo

Probably you miss the last recommendation of that wiki page:

*Note*: Because this method uses p/ tags to generate paragraph breaks, 
the first paragraph of the abstract will be differently formatted to the 
rest if a p/ is not inserted before the first call to 'break'.


Regards
Emilio Lorenzo



El 17/06/2013 7:43, Webshet, Sisay (ILRI) escribió:


Hi All,

Dspace 3.1 /xmlui version

I used this page for line breaks in paragraphs.

https://wiki.duraspace.org/pages/viewpage.action?pageId=19006441

The first paragraph of the abstract formatted differently than the others

Can anybody has a hint

Thanks


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] How to delete item/collection/community

2013-06-17 Thread helix84
On Sun, Jun 16, 2013 at 12:10 PM, Md. Ataur Rahman ataurb...@gmail.com wrote:
 I'm using dspace 3.1 xmlui with Mirage theme. I want to completely delete an
 item as well as a collection. How can I do this as there is no option in the
 admin section for doing this type of work. Please help

Log in as administrator, go to the collection, choose Edit Collection
from the Context menu and press the Delete Collection button at the
bottom of the page. The collection will be deleted including its
items:

This will delete:
* Any items and incomplete submissions in this collection that aren't
contained in other collections
* The contents of those items
* All associated authorization policies


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread LifeH2O
I want to select dc.contributor.author in input forms (submission form) from
existing EPersons only. How do I do that?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified-users-only-tp4664880p4664978.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
Hi LifeH2O,

perhaps you could try asking these question again at dspace-devel,
maybe you'll get an answer there.

On Mon, Jun 17, 2013 at 12:08 PM, LifeH2O life...@gmail.com wrote:
 I want to select dc.contributor.author in input forms (submission form) from
 existing EPersons only. How do I do that?

I'm afraid you can't. DSpace currently has no ties between epersons
and authors. There aren't even proper objects for authors, authors are
only strings in metadata. The only thing that binds a single author in
multiple items is an optional authority identifier. I think this is
something that would be much appreciated if you're willing to work on
it.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Hide browse columns for which there is no metada

2013-06-17 Thread LifeH2O
All the collections in our system include /dc.student.class/. To make it
visible we added it in dspace.cfg
/webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title,
dc.contributor.*, dc.student.class/

Now we have another collection 'Meeting minutes' which includes /time/ but
no /student.class/or author. How do we hide Class column for this collection
and add other columns if required for this collection only



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Hide-browse-columns-for-which-there-is-no-metada-tp4664985.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread LifeH2O
Ok. Then is it possible to select authors from all existing
dc.contributor.author ?
User can always enter incorrect name for dc.contributor.author,
dc.contributor.advisor etc. We want name to be suggested from existing
metadata elements.

I have seen choice authority system but unable to make it work like my
understanding.
I'll ask it on dspace-devel if you still cannot help.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified-users-only-tp4664880p4664986.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Hide browse columns for which there is no metada

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 1:54 PM, LifeH2O life...@gmail.com wrote:
 All the collections in our system include /dc.student.class/. To make it
 visible we added it in dspace.cfg
 /webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title,
 dc.contributor.*, dc.student.class/

 Now we have another collection 'Meeting minutes' which includes /time/ but
 no /student.class/or author. How do we hide Class column for this collection
 and add other columns if required for this collection only

JSPUI or XMLUI? In case of XMLUI, which theme?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Hide browse columns for which there is no metada

2013-06-17 Thread helix84
I realized that you mentioned webui.itemlist.columns, which works only
in JSPUI. I don't know much about JSPUI, but you'll have to modify
source to achieve what you need:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemListTag.java#L149

For each list row, you should check each item's parent collection's ID
or handle and use that to decide which metadata field you'll display.
You might want to leave that column header empty or list both possible
values.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 2:00 PM, LifeH2O life...@gmail.com wrote:
 Ok. Then is it possible to select authors from all existing
 dc.contributor.author ?
 User can always enter incorrect name for dc.contributor.author,
 dc.contributor.advisor etc. We want name to be suggested from existing
 metadata elements.

You could try something like this:

SELECT *FROM metadatavalueWHERE metadata_field_id IN (
  SELECT metadata_field_id
  FROM metadatafieldregistry
  WHERE element = 'contributor'
  AND qualifier = 'author')

Notice the text_value column, that's where the strings are. When using
authority control, the authority identifier will be in the authority column
and there will also be a confidence value.

 I have seen choice authority system but unable to make it work like my
 understanding.
 I'll ask it on dspace-devel if you still cannot help.

IMHO, the authority system is currently the best way to make the connection
between epersons and authors (because of the lack of an author object).
What kind of problem did you have with making it work?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Hide browse columns for which there is no metada

2013-06-17 Thread Konstantinos Stamatis
Dear LifeH2O,

As far as I know, this is not possible out of the box in DSpace. Moreover,
what you are saying is not correct in many ways, ie. what will happen if an
unscoped search (like simple search in home page) results items from both
collections? Which column will be shown in such a case. The same applies for
browsing.

If you ensure that search or browse result items belong only to one
collection, then BrowseListTag and ItemListTag for JSPUI are the files
you need to deal with, along with dspace configuration in order to allow
separate configuration per collection. 

However, just to make it clear, this is not possible in the majority of the
repositories since search and browse results span several collections.


Regards,

Kostas 




-Original Message-
From: LifeH2O [mailto:life...@gmail.com] 
Sent: Monday, June 17, 2013 2:54 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Hide browse columns for which there is no metada

All the collections in our system include /dc.student.class/. To make it
visible we added it in dspace.cfg /webui.itemlist.columns = thumbnail,
dc.date.issued(date), dc.title, dc.contributor.*, dc.student.class/

Now we have another collection 'Meeting minutes' which includes /time/ but
no /student.class/or author. How do we hide Class column for this collection
and add other columns if required for this collection only



--
View this message in context:
http://dspace.2283337.n4.nabble.com/Hide-browse-columns-for-which-there-is-n
o-metada-tp4664985.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread Konstantinos Stamatis
Dear LifeH2O

As helix mentioned, this is not possible in DSpace.

To give you a hint on how you can implement it, you need to create a new
type of input control for the submission form, which will make ajax requests
upon completion to a new servlet that will be responsible to answer such
requests with an XML or JSON, depending on the autocomplete control that you
will be using. In this servlet you can search (and return) all metadata
values of a specific field, or all epersons as you mentioned or whatever.


Regards,

Kostas



-Original Message-
From: LifeH2O [mailto:life...@gmail.com] 
Sent: Monday, June 17, 2013 3:01 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Email notification to existing specified users
only

Ok. Then is it possible to select authors from all existing
dc.contributor.author ?
User can always enter incorrect name for dc.contributor.author,
dc.contributor.advisor etc. We want name to be suggested from existing
metadata elements.

I have seen choice authority system but unable to make it work like my
understanding.
I'll ask it on dspace-devel if you still cannot help.



--
View this message in context:
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified
-users-only-tp4664880p4664986.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error on start Tomcat

2013-06-17 Thread Mark H. Wood
On Fri, Jun 14, 2013 at 06:38:42PM -0300, Marcelo Henrique Gomes wrote:
 Hello,
 
 I run the command /dspace/bin/dspace stats-util -m -i -f and happen this
 error
 
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=57919428-707c-4ff1-ad38-0392890574be,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/dspace/config/dspace.cfg
 Failure during filter init: ConfigurationManager: Too many levels of
 recursion in configuration property variable interpolation,

This is the problem ^^

Your config/dspace.cfg file probably has a property in it which refers
back to itself for its value.

 property=db.poolname:java.lang.IllegalArgumentException:
  
This is the property with the problem.  You probably have something
like:

  db.poolname = ${db.poolname}

If you want to give the database connection pool a specific name,
replace ${db.poolname} with that name.  Otherwise, comment the line
out:

  #db.poolname = ${db.poolname}

How to decide?  I've never used this property.  I expect that few
sites have.  If you know that you need to do this, do; if you don't
know why you would want to do this, comment it out.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 2:24 PM, Konstantinos Stamatis kstama...@ekt.gr wrote:
 To give you a hint on how you can implement it, you need to create a new
 type of input control for the submission form, which will make ajax requests
 upon completion to a new servlet that will be responsible to answer such
 requests with an XML or JSON, depending on the autocomplete control that you
 will be using. In this servlet you can search (and return) all metadata
 values of a specific field, or all epersons as you mentioned or whatever.

There would also need to be a server-side component in the submission
step that would verify the input once again to prevent any manual
changes to the form variables (bypassing JavaScript).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Error on start Tomcat

2013-06-17 Thread Marcelo Henrique Gomes
Thanks Mark,

 Probably I changed dspace.cfg on the fly. I ran ant update and fixed the
problem.

I have many doubts about statistics. Old statistics VS solr statistics.

I'm reading documentation and anything I ask for help again.

Regards,
Marcelo


On Mon, Jun 17, 2013 at 9:44 AM, Mark H. Wood mw...@iupui.edu wrote:

 On Fri, Jun 14, 2013 at 06:38:42PM -0300, Marcelo Henrique Gomes wrote:
  Hello,
 
  I run the command /dspace/bin/dspace stats-util -m -i -f and happen this
  error
 
   INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 
 DSpaceKernel:org.dspace:name=57919428-707c-4ff1-ad38-0392890574be,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
   INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
  file:/dspace/config/dspace.cfg
  Failure during filter init: ConfigurationManager: Too many levels of
  recursion in configuration property variable interpolation,

 This is the problem ^^

 Your config/dspace.cfg file probably has a property in it which refers
 back to itself for its value.

  property=db.poolname:java.lang.IllegalArgumentException:
   
 This is the property with the problem.  You probably have something
 like:

   db.poolname = ${db.poolname}

 If you want to give the database connection pool a specific name,
 replace ${db.poolname} with that name.  Otherwise, comment the line
 out:

   #db.poolname = ${db.poolname}

 How to decide?  I've never used this property.  I expect that few
 sites have.  If you know that you need to do this, do; if you don't
 know why you would want to do this, comment it out.

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Secondary Sorting Parameters

2013-06-17 Thread Chris McCarty
Hello,

I am using Dspace 1.8.2, and would like to be able to specify a secondary
sort parameter for any given sort option.

Say, for example, when sorting by issue date, there are several items with
identical issue dates. Is there a simple way to take those items with
identical dates, and then sort them by some other shared metadata field?

I have been looking into this recently, but I am having trouble coming up
with a working solution. What method(s) would you modify or add to gain
this functionality?

Any thoughts or comments would be greatly appreciated!
Chris
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-17 Thread Terry Brady
Claudia,

Thank you for your advice on this question.

Would it be sufficient to run index-update rather than index-init after
updating the community2collection table?

I would like to permit my users to run this command without halting the
application server.

It is my understanding that index-init should be run while the application
server is suspended.

Thanks, Terry


On Fri, Jun 14, 2013 at 9:40 AM, Claudia Jürgen 
claudia.juer...@ub.tu-dortmund.de wrote:

 Hello Terry,

 then you got to fallback to manipulating the database directly (usually
 warning about backup etc.)

 If e.g. you want to move the collection with id 34 from community id 1
 to community id 7 you got to run:

 update community2collection set community_id=7 where community_id=1 and
 collection_id=34;

 The run index-init and oai import.

 Hope this helps

 Claudia Jürgen



 Am 14.06.2013 15:22, schrieb Terry Brady:
  Thanks to all of you for the feedback.  This is very helpful.
 
  I have done a little bit of experimentation with the DSpace export
  functionality, and I had the impression that I might lose some
 hierarchical
  information in the process.  I am encouraged to hear that that
 information
  can be preserved on export.  I will do some further experimentation.
 
  Terry
 
 
  On Fri, Jun 14, 2013 at 3:46 AM, helix84 heli...@centrum.sk wrote:
 
  On Thu, Jun 13, 2013 at 10:42 PM, Terry Brady tw...@georgetown.edu
  wrote:
  Aside from running my own SQL, is there an existing tool to accomplish
  such
  a relationship?
 
  Hi Terry,
 
  I'd look into using AIP import/export of a whole subtree. I know, it's
  more invasive than flipping a pointer somewhere as
  community-filiator does, but it's well documented (not that there
  would be any caveats in SQL). So here's how you can export a
  collection:
 
 
 
 https://wiki.duraspace.org/display/DSDOC3x/AIP+Backup+and+Restore#AIPBackupandRestore-ExportingAIPHierarchy
 
  Then you'd need to delete it and import  it using the restore mode
  (-r) with a new parent community (-p). Make sure you try this to get
  familiar with it, e.g. on demo.dspace.org before you do it in
  production.
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 
 
 
 
 
 --
  This SF.net email is sponsored by Windows:
 
  Build for Windows Store.
 
  http://p.sf.net/sfu/windows-dev2dev
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

 --
 Claudia Juergen
 Universitaetsbibliothek Dortmund
 Eldorado
 0231/755-4043
 https://eldorado.tu-dortmund.de/


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 3:38 PM, Terry Brady tw...@georgetown.edu wrote:
 Would it be sufficient to run index-update rather than index-init after
 updating the community2collection table?

Hi Terry,

I don't think you need to update the Lucene index at all, because you
didn't actually change any item metadata. But I'm not 100% sure.

If you're using Discovery, then you do need to run
update-discovery-index - the Solr index used by Discovery does store
relations.

 It is my understanding that index-init should be run while the application
 server is suspended.

That's true. index-init must be done while Tomcat is down.
index-update and update-discovery-index are done while Tomcat is
running.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 4:01 PM, helix84 heli...@centrum.sk wrote:
 On Mon, Jun 17, 2013 at 3:38 PM, Terry Brady tw...@georgetown.edu wrote:
 Would it be sufficient to run index-update rather than index-init after
 updating the community2collection table?

 Hi Terry,

 I don't think you need to update the Lucene index at all, because you
 didn't actually change any item metadata. But I'm not 100% sure.

I think I was wrong. I looked at the index structure and there's a
location field that specifies the parent.

I don't see an option to reindex existing items like Discovery has
(see below), so you might have to either run index-init or specify the
updated items using the -i option to index-update.

You can use a tool like Luke to look at the index (located in
[dspace]/search) and check whether the location field is updated on
a particular affected item when you run just index-update.

 If you're using Discovery, then you do need to run
 update-discovery-index - the Solr index used by Discovery does store
 relations.

Running just update-discovery-index actually doesn't reindex existing
items. When you do an external change that DSpace is not aware of,
like using SQL in this case, you may need to also reindex all existing
items. To do that, run update-discovery-index -f.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Question about moving a collection from one community to another

2013-06-17 Thread Terry Brady
Thank you for the additional suggestions.

Based on some quick testing, it appears that I do need to run both
index-init and update-discovery-index -f to capture the changes.

Terry


On Mon, Jun 17, 2013 at 10:16 AM, helix84 heli...@centrum.sk wrote:

 On Mon, Jun 17, 2013 at 4:01 PM, helix84 heli...@centrum.sk wrote:
  On Mon, Jun 17, 2013 at 3:38 PM, Terry Brady tw...@georgetown.edu
 wrote:
  Would it be sufficient to run index-update rather than index-init after
  updating the community2collection table?
 
  Hi Terry,
 
  I don't think you need to update the Lucene index at all, because you
  didn't actually change any item metadata. But I'm not 100% sure.

 I think I was wrong. I looked at the index structure and there's a
 location field that specifies the parent.

 I don't see an option to reindex existing items like Discovery has
 (see below), so you might have to either run index-init or specify the
 updated items using the -i option to index-update.

 You can use a tool like Luke to look at the index (located in
 [dspace]/search) and check whether the location field is updated on
 a particular affected item when you run just index-update.

  If you're using Discovery, then you do need to run
  update-discovery-index - the Solr index used by Discovery does store
  relations.

 Running just update-discovery-index actually doesn't reindex existing
 items. When you do an external change that DSpace is not aware of,
 like using SQL in this case, you may need to also reindex all existing
 items. To do that, run update-discovery-index -f.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Questions on upgrading from 1.5 to 3.1 and maintaining a live and test instance

2013-06-17 Thread Spencer Lamm
Hello Everyone,
We are getting ready to do a long overdue upgrade from 1.5.2 to 3.1. In
light of that, I have two questions...

1) This wiki post by Mark Diggory details how to upgrade on the same box
without overwriting - essentially install the new code, diff the config
file differences, copy the db files to the new instance, and run the db
upgrades. We need to upgrade on a new server due to OS issues. Are there
any additional considerations replicating Mark's process on a new server?
https://wiki.duraspace.org/display/DSPACE/To+upgrade+without+overwriting

2) Our assetstore is on a Compellent SAN accessible via a server mount.
What I would love to do is use this upgrade as an opportunity to set up
live and development DSpace servers that are as close as possible to being
exact replicas. Is it possible to have two DSpace instances pointing to the
same assetstore? Do database changes in DSpace upgrades affect the
assetstore ?

Thanks!
Spencer

-- 
Spencer Lamm
Digital Initiatives Librarian
Swarthmore College Library
sla...@swarthmore.edu
610-328-8541
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] build failed .. creation was not successful for an unknown reason

2013-06-17 Thread Kostas Stamatis
Dear Jimera,

File c:\dspace-3.1-src-release\dspace\config\dspace.cfg seems to have a 
problem. This is the source file and the point that says:

dspace.dir = ${C:/DSpace.}

should be what is by default: 

dspace.dir = ${dspace.install.dir}

When maven runs, it should replace the whole  ${dspace.install.dir} with what 
is declared in the file build.properties in the dspace.install.dir option 
(which in your case is c:/dspace.

Thus, you have two options:

1) Go to 
c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg 
and change the line 

dspace.dir = ${C:/DSpace.}

with

dspace.dir = c:/dspace

Then run ant.
Be careful... with this option, you change the installed dspace.cfg file which 
means that if you ever run maven again, the problem will appear again.

2) Go to c:\dspace-3.1-src-release\dspace\config\dspace.cfg, change the line: 

dspace.dir = ${C:/DSpace.}

with: 

dspace.dir = ${dspace.install.dir}

and run the whole procedure from the very beggining as I told you in the first 
email.

After running maven, check file 
c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg 
and dspace.dir option should be equal to c:/dspace and not ${C:/DSpace.} as it 
is now.



Hope it helps.

Regards,

Kostas


On Jun 17, 2013, at 9:39 PM, Jimena Quiroga jim...@gmail.com wrote:

 Sorry, here it comes the files!
 
 Jimena
 
 On Mon, Jun 17, 2013 at 1:28 PM, Kostas Stamatis kstama...@ekt.gr wrote:
 Hi Jimera,
 
 Can you please send me the files
  
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg 
  
 c:\dspace-3.1-src-release\dspace\config\dspace.cfg? Just to have a look at 
 them as well.
 
 
 Kostas
 
 
 
 
 On Jun 17, 2013, at 6:20 PM, Jimena Quiroga jim...@gmail.com wrote:
 
 Hi Konstas, I tried to do all the things you told me, but I`ve still the 
 same error.  Could you help me again? Pleeease, I`m sending you the files 
 build.properties and build.xml. Thank u very much!  
 
 JImena
 
 
 
 image.png
 
 
 On Fri, Jun 14, 2013 at 2:08 AM, Konstantinos Stamatis kstama...@ekt.gr 
 wrote:
 Hi Jime,
 
  
 
 It seems that the problem lies in the directive ${C:\DSpace.} that is 
 mentioned in the command line you attached.
 
  
 
 The first thing that “ant fresh_install” does is to create some folders in 
 the DSpace installation directory (which I guess you have set to C:\DSpace). 
 The first one is the “bin” directory that you see in the command line, which 
 fails to be created since the path is not valid (includes chars like $, : 
 and {} ).
 
  
 
 Keep in mind that you do not need to touch the build.xml file that is 
 located in path: 
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\build.xml
 
  
 
 I suggest that you start the procedure from the beginning following these 
 steps:
 
  
 
 1)  Go to path: c:\dspace-3.1-src-release
 
 2)  Run: mvn clean
 
 3)  Delete, in case it exists, the fodler C:\DSpace
 
 4)  Edit file build.properties and be sure that dspace.install.dir is 
 something like C:\DSpace or whatever you like (the path that DSpace will 
 eventually be installed)
 
 5)  Run: mvn package
 
 6)  Go to path: c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build
 
 7)  Be sure that build.xml file does not include anything like C:\DSpace 
 within it
 
 8)  Run: ant fresh_install
 
  
 
 Build.xml file, at the very beginning, tries to read the properties from 
 file “build.properties” that is located in “c:\dspace-3.1-src-release”, so 
 that is why build.xml doesn’t need to be edited.
 
  
 
  
 
 Regards,
 
  
 
 Kostas
 
  
 
  
 
 From: Jimena Quiroga [mailto:jim...@gmail.com] 
 Sent: Friday, June 14, 2013 1:54 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] build failed .. creation was not successful for an 
 unknown reason
 
  
 
 Hi, coud anybody can help me?  Im trying to install Dspace in Windows 7 and  
 I´ve this message: 
 
  
 
  
 
 image001.png
 
  
 
  
 
 image002.png
 
  
 
  
 
 Somebody help me please!
 
  
 
 Thanks in advance!
 
  
 
 Jime
 
 
 build.xmlbuild.properties
 
 
 dspace.cfgdspace.cfg

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] build failed .. creation was not successful for an unknown reason

2013-06-17 Thread Jimena Quiroga
Dear Kostas, I made all you told me, but I`ve still the save error. This is
the first time I am trying to install open software. Is is posible to make
everything again? or i need to uninstall ?  I do not know what to do.
Thanks for all your help.

Jimena



On Mon, Jun 17, 2013 at 3:07 PM, Kostas Stamatis kstama...@ekt.gr wrote:

 Dear Jimera,

 File c:\dspace-3.1-src-release\dspace\config\dspace.cfg seems to have a
 problem. This is the source file and the point that says:

 dspace.dir = ${C:/DSpace.}

 should be what is by default:

 dspace.dir = ${dspace.install.dir}

 When maven runs, it should replace the whole  ${dspace.install.dir} with
 what is declared in the file build.properties in the dspace.install.dir
 option (which in your case is c:/dspace.

 Thus, you have two options:

 1) Go to
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg
 and change the line

 dspace.dir = ${C:/DSpace.}

 with

 dspace.dir = c:/dspace

 Then run ant.
 Be careful... with this option, you change the installed dspace.cfg file
 which means that if you ever run maven again, the problem will appear again.

 2) Go to c:\dspace-3.1-src-release\dspace\config\dspace.cfg, change the
 line:

 dspace.dir = ${C:/DSpace.}

 with:

 dspace.dir = ${dspace.install.dir}

 and run the whole procedure from the very beggining as I told you in the
 first email.

 After running maven, check file 
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg
 and dspace.dir option should be equal to c:/dspace and not ${C:/DSpace.}as it 
 is now.



 Hope it helps.

 Regards,

 Kostas


 On Jun 17, 2013, at 9:39 PM, Jimena Quiroga jim...@gmail.com wrote:

 Sorry, here it comes the files!

 Jimena

 On Mon, Jun 17, 2013 at 1:28 PM, Kostas Stamatis kstama...@ekt.gr wrote:

 Hi Jimera,

 Can you please send me the files




 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg



 c:\dspace-3.1-src-release\dspace\config\dspace.cfg? Just to have a look
 at them as well.


 Kostas




 On Jun 17, 2013, at 6:20 PM, Jimena Quiroga jim...@gmail.com wrote:

 Hi Konstas, I tried to do all the things you told me, but I`ve still the
 same error.  Could you help me again? Pleeease, I`m sending you the files
 build.properties and build.xml. Thank u very much!

 JImena



 image.png


 On Fri, Jun 14, 2013 at 2:08 AM, Konstantinos Stamatis 
 kstama...@ekt.grwrote:

 Hi Jime,

 ** **

 It seems that the problem lies in the directive ${C:\DSpace.} that is
 mentioned in the command line you attached.

 ** **

 The first thing that “ant fresh_install” does is to create some folders
 in the DSpace installation directory (which I guess you have set to
 C:\DSpace). The first one is the “bin” directory that you see in the
 command line, which fails to be created since the path is not valid
 (includes chars like $, : and {} ).

 ** **

 Keep in mind that you do not need to touch the build.xml file that is
 located in path:
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\build.xml

 ** **

 I suggest that you start the procedure from the beginning following
 these steps:

 ** **

 **1)  **Go to path: c:\dspace-3.1-src-release

 **2)  **Run: mvn clean

 **3)  **Delete, in case it exists, the fodler C:\DSpace

 **4)  **Edit file build.properties and be sure that
 dspace.install.dir is something like C:\DSpace or whatever you like (the
 path that DSpace will eventually be installed)

 **5)  **Run: mvn package

 **6)  **Go to path:
 c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build

 **7)  **Be sure that build.xml file does not include anything like
 C:\DSpace within it

 **8)  **Run: ant fresh_install

 ** **

 Build.xml file, at the very beginning, tries to read the properties from
 file “build.properties” that is located in “c:\dspace-3.1-src-release”, so
 that is why build.xml doesn’t need to be edited.

 ** **

 ** **

 Regards,

 ** **

 Kostas

 ** **

 ** **

 *From:* Jimena Quiroga [mailto:jim...@gmail.com]
 *Sent:* Friday, June 14, 2013 1:54 AM
 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] build failed .. creation was not successful
 for an unknown reason

 ** **

 Hi, coud anybody can help me?  Im trying to install Dspace in Windows 7
 and  I´ve this message: 

 ** **

 ** **

 image001.png

 ** **

 ** **

 image002.png

 ** **

 ** **

 Somebody help me please!

 ** **

 Thanks in advance!

 ** **

 Jime


 build.xmlbuild.properties



 dspace.cfgdspace.cfg



--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: