Re: [Dspace-tech] How to update Discovery index for a specific handle?

2015-08-17 Thread Christian Scheible

Hi Alan,

I think this should work:
1. changing the last_modified timestamp in the item tabel for the 
coresponding item
2. run [dspace]/bin/dspace index-discovery (this will update/clean the 
index)


Regards
Christian

Am 17.08.2015 um 15:57 schrieb Alan Orth:

Hi,

When I edit items in the web user interface, either by batch CSV 
upload or one by one in Edit this Item, DSpace updates the Discovery 
indexes for the item(s) in question. Sometimes I have to make changes 
in SQL directly, like to delete empty metadatavalues, and as far as I 
know the only way to capture those changes in the Solr indexes is to 
perform an `index-discovery -b`, but that takes *hours* for our 
repository of 50,000 items (despite having an SSD and plenty of RAM on 
our Linode-powered VPS!).


Is there a way to force the updating of a specific handle's Solr indexes?

Thanks,

Alan


--


___
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



--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
___
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] discovery facet by collection

2015-07-29 Thread Christian Scheible
Hi Pablo,

glad I could help.
I'm not sure if i understand this part:

My problem now is that I don't want to make a new facet, I want to use the
location.coll in an existent facet and here seems not working, will see
what's happening.



Am 29.07.2015 um 11:12 schrieb Pablo Buenaposada:
 Hi Christian,
 The PR really helped me. The problem was that seems that dspace needs the
 field ending with _filter to make the filter appear so, we can modify our
 schema.xml to add this field and also fill with the same value of
 location.coll:

 field name=location.coll_filter type=keywordFilter indexed=true
 stored=true multiValued=true omitNorms=true /
 copyField source=location.coll dest=location.coll_filter /

 With this the facet appears.

 The next problem is that when you click in any of the values that the facet
 finds the filtering doesn't work as it returns 0 items.
 I have fix that creating the field location.coll_keyword also. So:

 field name=location.coll_keyword type=keywordFilter indexed=true
 stored=true multiValued=true omitNorms=true /
 copyField source=location.coll dest=location.coll_keyword /

 So now all seems work good :)

 My problem now is that I don't want to make a new facet, I want to use the
 location.coll in an existent facet and here seems not working, will see
 what's happening.







 --
 View this message in context: 
 http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4678984.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.

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




-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
___
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] discovery facet by collection

2015-07-24 Thread Christian Scheible
 property name=indexFieldName value=dateIssued/
 property name=metadataFields
 list
 valuedc.date.issued/value
 /list
 /property
 property name=type value=date/
 property name=sortOrder value=VALUE/
 /bean

 bean id=searchFilterCollection
class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet
property name=indexFieldName value=collection/
 property name=metadataFields
 list
valuelocation.coll/value
 /list
/property
 property name=type value=date/
 property name=sortOrder value=VALUE/
 /bean

 
 bean id=sortTitle

class=org.dspace.discovery.configuration.DiscoverySortFieldConfiguration
 property name=metadataField value=dc.title/
 /bean

 bean id=sortDateIssued
class=org.dspace.discovery.configuration.DiscoverySortFieldConfiguration
 property name=metadataField value=dc.date.issued/
 property name=type value=date/
 /bean

 bean id=sortCollection
class=org.dspace.discovery.configuration.DiscoverySortFieldConfiguration
property name=metadataField value=location.coll/
 /bean
 
/beans



 


if I change the valuelocation.coll/value for
valuedc.date.issued/value the sidebar works flawless!



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4678919.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

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





--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
___
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] discovery facet by collection

2015-06-02 Thread Christian Scheible

Hi,

did you reindex discovery after chaning the discovery.xml?

After modifying sidebarFacets and searchFilters, don't forget to reindex 
existing items by running|[dspace]/bin/dspace index-discovery||-b|, 
otherwise the changes will not appear.


Am 02.06.2015 um 10:24 schrieb Pablo Buenaposada:

Hi,
I want to make a discovery sidebar facet by collection, what's the value to
put in discovery.xml to retrieve the collection of the items?
I see in solr that the value is location.coll but i have tested with
valuelocation.coll/value with no luck.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

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





--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
___
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] discovery facet by collection

2015-06-02 Thread Christian Scheible
The field should be fine (At least thats the field I can see in Solr 
search core). Maybe the problem is that you didn't define it in every 
place where it is needed. I think it has to be a search filter in 
addition to a facet in order to work. And maybe it has to be part of the 
hompageConfiguration and the defaultConfiguration. But I am not sure 
about that.

Am 02.06.2015 um 14:51 schrieb Pablo Buenaposada:
 yes, I have reindex after the change in discovery.xml.
 The tag location.coll is the correct one to obtain the collection?



 --
 View this message in context: 
 http://dspace.2283337.n4.nabble.com/discovery-facet-by-collection-tp4678162p4678167.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.

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




-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
___
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] Fwd: OAI-PMH data provider 2.0 not persistent?

2015-05-28 Thread Christian Scheible

Hi Ondřej, hi Tim,

It would be great to see this as a pull request. I had a solution for 
that problem (the OAIIndexEventConsumer was part of dspace-api) but to 
make it good enough for a pull request it would be needed to move the 
xoai dependency from dspace-oai to dspace-api and additionally add at 
least the caching part, org.dspace.xoai.app.XOAI and 
org.dspace.xoai.util.ItemUtils to dspace-api.
Or as Ondřej suggested add a dependency to dspace-oai to xmlui, jspui, 
rest and wherever the event has to be triggered.


Best Regards,
Christian

Am 28.05.2015 um 14:08 schrieb Ondřej Košarko:

Hey Tim,

No reason for not submitting a pull request and I for sure can move 
the code around a bit. However, I don't see a way around adding 
dspace-oai classes as a dependency. At the end of the day the consumer 
just calls org.dspace.xoai.app.XOAI.index.


xmlui webapp does not have dspace-oai jar/classes in it's WEB-INF dir, 
the same is probably true for jspui webapp.


Perhaps there is another approach?

Regards,
OK

2015-05-27 16:23 GMT+02:00 Tim Donohue tdono...@duraspace.org 
mailto:tdono...@duraspace.org:


Hi Ondřej,

I wonder if you'd be willing to submit a Pull Request of these
changes (the new OAIIndexEventConsumer, etc)?  These seem like
potentially useful changes overall, and would be something we'd
consider adding to DSpace.

My only (small) recommendation would be to simply put the
OAIIndexEventConsumer into the dspace-api, so that it can be
easily enabled/disabled from the
event.dispatcher.default.consumers setting. Plus, if it's in the
dspace-api, that ensures it'd also be triggered by any updates
from other interface (XMLUI, JSPUI, REST, etc)

- Tim

On 5/27/2015 5:08 AM, Ondřej Košarko wrote:


-- Forwarded message --
From: *Ondrej Kosarko* ko...@centrum.cz
mailto:ko...@centrum.cz mailto:ko...@centrum.cz
mailto:ko...@centrum.cz
Date: 2015-05-27 12:05 GMT+02:00
Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not
persistent?
To: Christian Scheible christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de
Cc: dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net
mailto:dspace-tech@lists.sourceforge.net


Hi Christian,

I'm not sure I remember all the setup, but here goes...

in dspace.cfg there is

   event.dispatcher.default.consumers = versioning, discovery,
eperson,
harvester, eudatreplication, *xoai*


and

# consumer to maintain the oai index
event.consumer.xoai.class =
cz.cuni.mff.ufal.event.OAIIndexEventConsumer
event.consumer.xoai.filters =

Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove


and you need to make sure the class is found by the event
dispatcher, we
solve it by adding dspace-oai(where the consumer lives) as a
dependency
to dspace-xmlui

diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml
index 17d75c0..f19257f 100644
--- a/dspace-xmlui/pom.xml
+++ b/dspace-xmlui/pom.xml
@@ -93,6 +93,22 @@
  /profiles
  dependencies
+ !-- because of event listener that updates oai --
+dependency
+  groupIdorg.dspace/groupId
+  artifactIddspace-oai/artifactId
+classifierclasses/classifier
+/dependency

I think that's about it...

Regards,
OK


2015-05-27 9:05 GMT+02:00 Christian Scheible
christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de
mailto:christian.schei...@uni-konstanz.de:

Hi Ondřej,

I have seen that you are using your own
OAIIndexEventConsumer. We
did the same but I added It in the module additions (which
leads to
code duplication).
How do you register your Consumer? Is it the same way as
for other
consumers? Because I couldn't solve that problem.

Best Regards,
Christian


Am 27.05.2015 um 08:41 schrieb Ondřej Košarko:

In short no...

As I've suggested in the thread the indexAll should
include also
the withdrawn, that's what we do

https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src

Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?

2015-05-27 Thread Christian Scheible
Am 27.05.2015 um 12:05 schrieb Ondrej Kosarko:
 and you need to make sure the class is found by the event dispatcher, 
 we solve it by adding dspace-oai(where the consumer lives) as a 
 dependency to dspace-xmlui
Ok I think that part is the magic. Thank you for your quick response.

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
___
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] Internal system error while trying to submit with a new field

2015-04-27 Thread Christian Scheible
Hi,

You have to add it to your database first.
For xmlui it is like this:
https://wiki.duraspace.org/display/DSPACE/Add+a+new+metadata+field


Am 28.04.2015 um 06:54 schrieb ribin.jo...@niist.res.in:
 Hi,

 I am running Dspace 5.1 in ubuntu 14.04. I got the installation successful. 
 Now, I wanted to add some more fields during an item submission process. I 
 added suitable entries in input-forms.xml and still I get Internal system 
 error while entering the data to the newly added field and try to submit the 
 item. Below is the logs:

 2015-04-28 10:37:12,324 INFO  org.dspace.content.Item @ 
 ribin.jo...@niist.res.in:session_id=7D19CE9842326C825D77DB3FD08DFE06:ip_addr=10.10.50.201:update_item:item_id=37
 2015-04-28 10:37:12,415 INFO  org.dspace.content.MetadataSchema @ Loading 
 schema cache for fast finds
 2015-04-28 10:37:12,434 WARN  org.dspace.content.DSpaceObject @ Invalid 
 metadata field: [dc.objective] : [jj]
 2015-04-28 10:37:12,436 ERROR 
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step 
 class'org.dspace.submit.step.DescribeStep':
 java.sql.SQLException: Invalid metadata field: [dc.objective]
  at 
 org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
  at org.dspace.content.Item.update(Item.java:1100)
  at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:517)
  at 
 org.dspace.submit.step.DescribeStep.doProcessing(DescribeStep.java:341)
  at 
 org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401)
  at 
 org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252)
  at 
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:491)
  at 
 org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:427)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  at 
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  at java.lang.Thread.run(Thread.java:745)

 Objecteive is the newly added field in the item submission form.

 Seems I am missing something here...Can someone help guide me for adding a 
 nee entry in the submit form?

 Thanks,

 Ribin Jones S.B

 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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



-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457

[Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Christian Scheible
Hi guys,

We are running a DSpace 5.1 instance with about 25000 items on Ubuntu 
Server 14.04 with OpenJDK 1.7.0_75. We set Xmx to 2g so the JVM has 2 
Gigabyte of RAM.
If I inspect the memory usage I see that there are about 1900 MiB in 
use. So most of the memory is used.
This leads to OutOfMemoryErrors during nightly cron jobs like optimizing 
Solr and sometimes during the day.

Has anyone seen a similar behaviour and solved the problem?

Additional facts:
- Was working fine on 4.1
- After tomcat restart about 500 MiB memory of the JVM used
- 5 Minutes later 1074 MiB used
- 10 Minutes later 1702 Mib used
- About 14000 publication with full text (indexed every night with the 
PDF Extractor)
- About 11000 publications without full text
- xmlui, oai and solr activated
- Ubuntu Server 14.04.2
- Tomcat 7.0.52.0
- OpenJDK headless 1.7.0_75
- Solr: authority core=empty, oai core=114,47 MB, search core=3.57 GB, 
statistics core=387.82
- JVM 2GB
- System 4GB

Any ideas? Help would be very appreciated

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Christian Scheible

Thanks for your quick reply. We will increase the heap size.
The question just is if there is a known issue causing more memory to be 
used?

Because it was fine before the upgrade.

Best Regards
Christian

Am 01.04.2015 um 11:39 schrieb Hilton Gibson:
Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05/Ubuntu-14.04#Java_environment_settings_used_for_SUNScholar


Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 1 April 2015 at 11:01, Christian Scheible 
christian.schei...@uni-konstanz.de 
mailto:christian.schei...@uni-konstanz.de wrote:


Hi guys,

We are running a DSpace 5.1 instance with about 25000 items on Ubuntu
Server 14.04 with OpenJDK 1.7.0_75. We set Xmx to 2g so the JVM has 2
Gigabyte of RAM.
If I inspect the memory usage I see that there are about 1900 MiB in
use. So most of the memory is used.
This leads to OutOfMemoryErrors during nightly cron jobs like
optimizing
Solr and sometimes during the day.

Has anyone seen a similar behaviour and solved the problem?

Additional facts:
- Was working fine on 4.1
- After tomcat restart about 500 MiB memory of the JVM used
- 5 Minutes later 1074 MiB used
- 10 Minutes later 1702 Mib used
- About 14000 publication with full text (indexed every night with the
PDF Extractor)
- About 11000 publications without full text
- xmlui, oai and solr activated
- Ubuntu Server 14.04.2
- Tomcat 7.0.52.0
- OpenJDK headless 1.7.0_75
- Solr: authority core=empty, oai core=114,47 MB, search core=3.57 GB,
statistics core=387.82
- JVM 2GB
- System 4GB

Any ideas? Help would be very appreciated

--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703



--
Dive into the World of Parallel Programming The Go Parallel
Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought
leadership blogs to
news, videos, case studies, tutorials and more. Take a look and
join the
conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] DSpace 5.0 OAI write own filter

2015-01-22 Thread Christian Scheible
Hi together,

we are currently updating our DSpace from 4.1 to 5.x.. In 4.x it was 
possible to use own filter classes by extending DSpaceFilter and 
referencing it in xoai.xml.
Was this feature removed?
Because in 
org.dspace.xoai.services.impl.xoai.BaseDSpaceFilterResolver.getFilter(Class? 
extends Filter, ParameterMap)
there are only the filters allowed that ship with DSpace (all other 
filters don't get created and null is returned).
We really need these filters so is there any way to avoid an overlay of 
BaseDSpaceFilterResolver?

Regards
Christian

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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] Pull Requests

2015-01-13 Thread Christian Scheible
Thanks both of you. I am going to improve it with my next pull request. 
I did the recreation of the master branch and will use pull instead of 
fetch.

Regards Christian

Am 13.01.2015 um 08:59 schrieb Àlex Magaz Graça:
 El 12/01/15 a les 15:55, Christian Scheible ha escrit:
 Hi Helix,

 I think the problem is that I messed up my first branch and merged it
 with the master. Because I am allways doing this:

 1. git checkout master
 2. git fetch upstream
 3. git branch DS-X
 4. git checkout DS-X
 5. make changes
 6. git commit
 7. git push origin

 or is the problem that I do git fetch upstream instead of git pull
 upstream master?

 I am going to include more information about the bugs and what the fixes
 are doing.

 Regards
 Christian

 Am 12.01.2015 um 15:20 schrieb helix84:
  Hi Christian,
 
  I'm looking at your PRs. Don't worry that they're not perfect, the
  important thing is that the code is out there. We can take an
  individual commit (git cherry-pick) from it. I was thinking what might
  have gone wrong on your end and my guess is that you're not starting
  from the master branch. Before you create a new branch, make sure to
  checkout master (git checkout master) and update it (git pull upstream
  master). Then you can create a new branch, which can be used as a
  source for PR that will contain only the relevant commit(s).
 
  I also looked briefly at the bugs. It would help to include more
  detail about the problem so that the fixes can be quickly tested. It
  will help to include detailed steps to reproduce, expected and actual
  behaviour.
 
  Thanks.
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 



 Hi Christian,

 You are missing a 'git merge upstream/master' after step 2.
 Alternatively, you could also run git pull instead of steps 1 and 2, as
 it says in the Development with Git wiki page [1]:

 The pull command executes git fetch, which retrieves the actual 
 changes followed by git merge, putting the changes in your codebase.

 [1] 
 https://wiki.duraspace.org/display/DSPACE/Development+with+Git#DevelopmentwithGit-OverviewoftheGitLifecycle

 Cheers,
 Àlex




-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
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] Pull Requests

2015-01-12 Thread Christian Scheible
Hi Helix,

I think the problem is that I messed up my first branch and merged it 
with the master. Because I am allways doing this:

1. git checkout master
2. git fetch upstream
3. git branch DS-X
4. git checkout DS-X
5. make changes
6. git commit
7. git push origin

or is the problem that I do git fetch upstream instead of git pull 
upstream master?

I am going to include more information about the bugs and what the fixes 
are doing.

Regards
Christian

Am 12.01.2015 um 15:20 schrieb helix84:
 Hi Christian,

 I'm looking at your PRs. Don't worry that they're not perfect, the
 important thing is that the code is out there. We can take an
 individual commit (git cherry-pick) from it. I was thinking what might
 have gone wrong on your end and my guess is that you're not starting
 from the master branch. Before you create a new branch, make sure to
 checkout master (git checkout master) and update it (git pull upstream
 master). Then you can create a new branch, which can be used as a
 source for PR that will contain only the relevant commit(s).

 I also looked briefly at the bugs. It would help to include more
 detail about the problem so that the fixes can be quickly tested. It
 will help to include detailed steps to reproduce, expected and actual
 behaviour.

 Thanks.

 Regards,
 ~~helix84

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




-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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] Pull Requests

2015-01-09 Thread Christian Scheible
Hi Helix,

thanks for your response. You are right I read over the forking part.
I am going to change my setup in order to make the pull requests.

Regards
Christian
Am 09.01.2015 um 10:46 schrieb helix84:
 On Fri, Jan 9, 2015 at 10:12 AM, Christian Scheible
 christian.schei...@uni-konstanz.de wrote:
 I have opened a few tickets for DSpace bugs in JIRA and would like to add 
 the fixes to the tickets. So I cloned the git repository, created a branch, 
 fixed a bug and tried to push the branch to make it a pull request. But I 
 don't have the rights to push. Should I attach patches instead or how can I 
 solve this?

 Hi Christian,

 this page [1] describes everything you need to work with the git
 repository and submit pull requests. The recommended setup part is
 important. You started your local repository as a clone of the
 official DSpace/DSpace repository. But in order to create PRs, you
 must first fork (=clone on GitHub) DSpace/DSpace to yourname/DSpace,
 then clone yourname/DSpace to your computer using git clone. You have
 write access to your fork, therefore you can push there. When you go
 to yourname/DSpace in the GitHub web interface after you pushed a
 branch, there's a button to create a PR against DSpace/DSpace. Sounds
 complicated, but really isn't.

 There is a way to modify your current repo this way, but it's easy to
 screw up if you've never done this before. Therefore it's safer to
 transfer your changes from your old clone to the new clone this way,
 one branch at a time:

 cd ~/oldclone
 ~/oldclone$ git checkout branch1
 ~/oldclone$ git format-patch HEAD^ --stdout  branch1.patch
 cd ~/newclone
 ~/oldclone$ git checkout master
 ~/oldclone$ git checkout -b branch1
 ~/oldclone$ git am  ~/oldclone/branch1.patch

 Note the HEAD^, which means take the last commit in that branch. If
 you want to take the last N commits, use HEAD~N instead.
 Alternatively, you can also specify a hash of the commit _before_ the
 first commit you want to take.

 Even if something goes wrong, you can still submit these .patch files
 to Jira and we'll get everything we would get in a PR.

 [1] 
 https://wiki.duraspace.org/display/DSPACE/Development+with+Git#DevelopmentwithGit-ContributingChangestoDSpaceviaGitHub


 Regards,
 ~~helix84

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




-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] Must I Build/Install as Tomcat service user?

2014-12-22 Thread Christian Scheible
We are currently on DSpace 4.1. We have this setup in multiple testing 
instances since about one year and as an productive System since 
01.10.2014.


the important part is that user tomcat7 has the permission to read/write 
to /dspace directory (or where you have installed it) and its content.




Am 22.12.2014 um 15:31 schrieb Baker, David A.:


Christian, what version of DSpace are you running? How long have you 
been running it like this?

Thanks!

Christian Scheible 
http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.netq=from:%22Christian+Scheible%22 
Mon, 22 Dec 2014 01:17:27 -0800 
http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.netq=date:20141222 



We just add the users dspace and tomcat7 to a shared group (like 
dspace) and recursivly add read/write permissions to the group for the 
dspace files and folders.


Am 20.12.2014 um 09:34 schrieb Hilton Gibson:

Hi David

This is what I do: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08#Step_8.5_Setup_Tomcat_server_permissions 



Cheers

hg

*Hilton Gibson*

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025C

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 19 December 2014 at 22:33, Baker, David A. daba...@milligan.edu 
mailto:daba...@milligan.edu wrote:


I’m doing some testing using Ubuntu server 14.04.1 and DSpace 4.2

Ubuntu’s package manager creates a service user, tomcat7, for

running Tomcat. So instead of fighting with Ubuntu, I am using

that user to run the Tomcat service. Also, I have created a Linux

user account, dspace, that I log into the server with.

Is it OK that I did my Maven/Ant build/install using my normal

user, dspace, and then gave ownership and permissions of  all of

my dspace files to the Tomcat user, tomcat7?

Ubuntu gives the tomcat7 user a home directory of

“/usr/share/tomcat7” and a shell of “/bin/false”, so without

changing the user I am unable to do any building with it. Would it

be better if I were to assign “/home/tomcat7” to my Tomcat service

user so it can do the build, or is there some reason that the

Ubuntu package manager has assigned “/usr/share/tomcat7” as the

home directory? I don’t want to break the service user account,

and I don’t want to cause some problem down the road by doing the

build/install with a normal user.

Thanks for any info!

--

David Baker

Digital Resources  Web Development Specialist

Milligan College – P.H. Welshimer Memorial Library

423-461-8703 | library.milligan.edu http://library.milligan.edu/

sig

--

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and

Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration

 more

Get technology previously reserved for billion-dollar

corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk

___

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

mailto:DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette:

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

--

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration  more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk

___

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


--

Christian Scheible

Softwareentwickler / Abt. Content-basierte Dienste

Kommunikations-, Informations- und Medienzentrum (KIM)

Universität Konstanz

78457 Konstanz

+49 (0)7531 / 88-2857

Raum B 703

--

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration  more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk

___

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net

Re: [Dspace-tech] Issues with OpenSearch sortFields and sorting order

2014-12-02 Thread Christian Scheible
 Hi,

 I'm playing with OpenSearch in DSpace 4.2 and I'm having a couple of 
 issues.  I see OpenSearch uses the Discovery configuration, so I'm 
 investigating `discovery.xml'.  Here are two related issues I'm having:

 1- I've added a custom sortField for dc.date.accessioned and added it 
 to my bean's sortFields, but I can't figure out how to use it.  
 OpenSearch has a `sort_by' parameter which only takes an integer; how 
 do I know which integer to use?

 2- If I use `sort_by=2` it appears to be sorting by dc.date.issued, 
 but in ascending order, even though `discovery.xml' lists desc as 
 the default sort order everywhere in the config.

 We're trying to piggy back on OpenSearch to build custom RSS feeds for 
 certain terms, so we can use a feed aggregator to send email alerts 
 when there are new items.  Unfortunately it's quite pointless if we 
 can't customize the field to sort by or see the newest items first in 
 the feed!

 Our application stack is: DSpace 4.2, Tomcat 7, Oracle Java 7, Ubuntu 
 14.04.

 Thank you,

 Alan


Hi Alan,

OpenSearch is using the dspace.cfg not discovery.xml and sorting options 
are defined like that:

webui.itemlist.sort-option.1 = dateissued:dc.date.issued:date
webui.itemlist.sort-option.2 = dateaccessioned:dc.date.accessioned:date

The sort-option and the order can be defined with get parameters like this
sort_by=1order=DESC

Best

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
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] dspace index-discovery command

2014-11-21 Thread Christian Scheible

Hi together,
maybe this helps. We run the command like this (after changes to the 
discovery config)


sudo -u tomcat7 JAVA_OPTS=-Xmx1024M -Xms1024M -Dfile.encoding=UTF-8 
/dspace/bin/dspace index-discovery -b

so we change the memory limit for java to a  gigabyte and it takes 80 
minutes for about 25000 items.


Am 21.11.2014 um 03:56 schrieb Peter Dietz:

Hi Anisio,

What is too long?

You should only run that command once, or rarely, as part of an 
upgrade or maintenance. With the -b flag, it creates a full reindex 
of your discovery index. On a daily basis (cron), you should run that 
with no argument, and it runs over a smaller set of objects.


If you are saying that it never completes, then you'll have to look at 
performance tuning. i.e. bump your memory limit in JAVA_OPTS in 
/dspace/bin/dspace, and run in -server. Just out of curiosity, do 
you have a very large DSpace instance (high number of items)? I'm just 
wondering if this is some scaling issue.



Peter Dietz
Longsight
www.longsight.com http://www.longsight.com
pe...@longsight.com mailto:pe...@longsight.com
p: 740-599-5005 x809

2014-11-19 12:29 GMT-05:00 Anisio Monteiro (IPEN/GDS-Informática) 
monte...@ipen.br mailto:monte...@ipen.br:


Hello,

The dspace index-discovery -b command is taking too long to
complete. Someone has any idea how to solve this problem.

Thanks for help!

-- 
Carlos ANISIO Monteiro mca...@gmail.com

mailto:mca...@gmail.com mca...@yahoo.com.br
mailto:mca...@yahoo.com.br monte...@ipen.br
mailto:monte...@ipen.br
IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São
Paulo, Brasil
CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622

Aquele que recebe de mim uma idéia tem aumentada a sua instrução
sem que eu tenha diminuída a minha. Como aquele que acende sua
vela na minha recebe luz sem apagar a minha. Que as idéias passem
livremente de uns aos outros no planeta, para a instrução moral e
mútua dos homens e a melhoria de sua condição...Invenções,
portanto, não podem, na natureza, ser sujeitas à propriedade.
(Thomas Jefferson)


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and
Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration
 more
Get technology previously reserved for billion-dollar
corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk


___
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



--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
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] Can't create webapp MBean for XOAI with DSpace 4.1

2014-07-25 Thread Christian Scheible
Hi together,

I have a problem with the oai webapp. I wanted to register a service to 
dspace-service in the dspace-oai module. But I allways get the error: 
DSpace Kernel must not be null. If I check the tomcat logs I see:
Can't create webapp MBean But the oai webeapp is running and working.

When shuting down tomcat there is the follwing error in tomcat logs:

Exception sending context destroyed event to listener instance of class 
org.dspace.app.util.DSpaceContextListener
java.lang.NullPointerException
 at 
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:146)
 at 
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
 at 
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
 at 
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
 at 
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
 at 
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)

So it seems to me that there is a problem when starting the webapp. Has 
anybody the same problems or a solution?

Regards

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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] dc.date.available for embargoed Items with Advanced Embargo functionality

2014-07-01 Thread Christian Scheible
Hi together,

We are using DSpace 4.1 and I have a question regarding the Advanced 
Embargo functionality.
During the install of an Item in 
org.dspace.content.InstallItem.populateMetadata(Context, Item) line 164
the item is checked if there is an embargo. But it uses the old 
EmbargoManager so it will never find an embargo.
The result is that dc.date.available is always the day of the acceptance 
of an item.
Is this a Bug or the expected behaviour?
Because in pre DSpace 3.x instances the dc.date.available is set to the 
embargo lift date when the EmbargoLifter is run and an embargo is 
lifted. I think that's the way date available should be set.

Regards

-- 
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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] Potential Bug in SolrBrowseCreateDAO

2014-04-25 Thread Christian Scheible
Hi together,

I found a potential Bug in 
org.dspace.browse.SolrBrowseCreateDAO.additionalIndex(Context, 
DSpaceObject, SolrInputDocument).
At least the comment suggests (and it makes sense) that withdrawn items 
schould not be indexed. But the if clause says:
if it is archived OR withdrawn = start indexing.

The code is in line 131 and looks like:

  // now index the new details - but only if it's archived and not withdrawn
 if (item.isArchived() || item.isWithdrawn())

Regards
Christian

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
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] R: Potential Bug in SolrBrowseCreateDAO

2014-04-25 Thread Christian Scheible

Hi Andrea,

I created issue DS-1985 to record the need to fix it.

Best Christian



Am 25.04.2014 10:17, schrieb Andrea Bollini:
Thanks Christian to have reported that. The comment is wrong it was 
introduced when discovery was used only for search.
SolrBrowse needs to have withdrawn items in the index because a browse 
withdrawn (and also private) items function exist.
I'm out of office so it will be appreciate if you can fire a jira 
issue or a PR to record the need to fix the comment.

Best,
Andrea



Inviato da Samsung Mobile


 Messaggio originale 
Da: Christian Scheible
Data:25/04/2014 09:48 (GMT+01:00)
A: dspace-tech
Oggetto: [Dspace-tech] Potential Bug in SolrBrowseCreateDAO

Hi together,

I found a potential Bug in
org.dspace.browse.SolrBrowseCreateDAO.additionalIndex(Context,
DSpaceObject, SolrInputDocument).
At least the comment suggests (and it makes sense) that withdrawn items
schould not be indexed. But the if clause says:
if it is archived OR withdrawn = start indexing.

The code is in line 131 and looks like:

  // now index the new details - but only if it's archived and not 
withdrawn

 if (item.isArchived() || item.isWithdrawn())

Regards
Christian

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
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


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform___
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] Maven - Local Code as a Maven Project

2014-04-09 Thread Christian Scheible

Thanks for your answers.
I am now using the additions module which comes with dspace.
The reason why I tried to use my own module have been dependency 
problems after adding dependencies to additions/pom.xml.
But I found out that it was a problem with transitive dependencies 
(org.apache.httpcomponents:httpcore)

so additions module is working fine now.

Am 08.04.2014 19:22, schrieb Pottinger, Hardy J.:
Hi, here's a hasty writeup I did on using the additions module to 
include a (not a custom) jar file:


https://wiki.duraspace.org/display/DSPACE/Nailgun?focusedCommentId=40076646src=search#comment-40076646


*From:* Terry Brady [tw...@georgetown.edu]
*Sent:* Tuesday, April 08, 2014 12:16 PM
*To:* Christian Scheible
*Cc:* dspace-tech
*Subject:* Re: [Dspace-tech] Maven - Local Code as a Maven Project

I have struggled with the maven configuration for my instance.  I have 
a custom plugin to generate thumbnails with ImageMagick.


Fortunately, once I upgraded to DSpace 3, I was able to use the 
additions module to contain my plugin.


Looking at my code prior to DSpace 3, I believe that I needed to list 
my custom module dependencies in both my custom module's pom and in 
dspace/pom.xml in order to get the dependencies on to the runtime 
classpath.


Terry

Terry


On Tue, Apr 8, 2014 at 11:03 AM, Christian Scheible 
christian.schei...@uni-konstanz.de 
mailto:christian.schei...@uni-konstanz.de wrote:


Hi together,

I was trying to add a maven module to our version of DSpace to
seperate
our code from the rest. This was needed because of dependency
conflicts
(Our code has dependencies which can't be added to additions/pom.xml
without problems).
My Problem is that one of the classes in our module is a NamedPlugin
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the
custum module is not in the classpath (no dependency in
dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one
can add local code as a Maven Project for a own
AuthenticationMethod (as
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins
(implementing an interface from dspace-api/ extending a class from
dspace-api)?

Thanks in advance
Christian


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto: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
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
202-687-7053


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
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] Maven - Local Code as a Maven Project

2014-04-08 Thread Christian Scheible
Hi together,

I was trying to add a maven module to our version of DSpace to seperate 
our code from the rest. This was needed because of dependency conflicts 
(Our code has dependencies which can't be added to additions/pom.xml 
without problems).
My Problem is that one of the classes in our module is a NamedPlugin 
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the 
custum module is not in the classpath (no dependency in dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom 
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one 
can add local code as a Maven Project for a own AuthenticationMethod (as 
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins 
(implementing an interface from dspace-api/ extending a class from 
dspace-api)?

Thanks in advance
Christian

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
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] ChoiceAuthority using LDAP

2014-04-04 Thread Christian Scheible
Hey Guys,

we are using LDAP at our institution and I would like to implement a 
choice authority based on it. Has anyone of you ever done something like 
that?

Best
Christian

--
___
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] Spring and EventService

2014-03-24 Thread Christian Scheible
Hi together,

I would like to write and register my own listener. I extended 
AbstractUsageEventListener and now I'm searching for the correct spring 
file to add my listener configuration (from DSpace docu 
https://wiki.duraspace.org/display/DSPACE/DSpace+Services+Framework 
Configuring Event Liseners):
?xml version=1.0 encoding=UTF-8?
beans

 bean id=dspace class=org.dspace.utils.DSpace/

 bean id=dspace.eventService
   factory-bean=dspace
   factory-method=getEventService/

 bean class=org.my.EventListener
  property name=eventService 
 ref bean=dspace.eventService/
 /property
 /bean
/beans

I tried creating a new addon-service.xml file in 
additions/src/main/resources/spring (result was exception DSpace Kernal 
can not be null) and applicationContext.xml from xmlui (no error but the 
listener is not registered).

What is the correct place to add my listener configuration?

Thanks
Christian

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Curration Task

2014-03-21 Thread Christian Scheible
Hi together,

I'm currently working on a curration task and found a Problem in the 
documentation/implementation of Curration Tasks. In 
https://wiki.duraspace.org/display/DSDOC4x/Curation+System#CurationSystem-Onthecommandline
 
it says that it's possible to use workflow Id as identifiers. But all 
CurrationTasks which extend AbstractCurrationTask can't work with 
workflow id's because public int perform(Context ctx, String id) 
dereferences to null for all id's which are no handles.
Is this a bug or should the documentation be clarified?

Best
Christian

P.S. I am not allowed to change this part of the documentation

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Debugging xsl

2014-03-13 Thread Christian Scheible
Hi together,

I am currently working on some XSL Files. I am wondering if there is a 
better way to test/debug changes than:
1. mvn package
2. ant update
3. restart tomcat
4. see if it works

How do you do it? Any hints are welcome

Regards
Christian

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Debugging xsl

2014-03-13 Thread Christian Scheible

Thank you helix,

yes i meant the XSL files form the XMLUI. So thanks for the tip that 
makes it easier.
If anyone has more tips how they develop for XMLUI (like debugging XSLT) 
I would be happy to hear them.


Best
Christian



Am 13.03.2014 16:36, schrieb helix84:

Hi Christian,

if you mean you're working on the XMLUI theme XSL files then yes, 
there is. You can make the changes directly in 
[dspace]/webapps/xmlui/themes/ and the changes will be in effect as 
soon as you save the file. In some cases, if you still see the old 
content, you'll have to clear the Cocoon cache:


https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache


Please, keep in mind that the next ant update will overwrite these 
files with files from [dspace-src] (actually, it will move your 
webapps directory to webapps.bak-20140313-1635 and create a new 
webapps directory), so don't forget to copy your changes to 
[dspace-src] when you're finished with your changes.



Regards,
~~helix84

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




Am 13.03.2014 16:36, schrieb helix84:

Hi Christian,

if you mean you're working on the XMLUI theme XSL files then yes, 
there is. You can make the changes directly in 
[dspace]/webapps/xmlui/themes/ and the changes will be in effect as 
soon as you save the file. In some cases, if you still see the old 
content, you'll have to clear the Cocoon cache:


https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache


Please, keep in mind that the next ant update will overwrite these 
files with files from [dspace-src] (actually, it will move your 
webapps directory to webapps.bak-20140313-1635 and create a new 
webapps directory), so don't forget to copy your changes to 
[dspace-src] when you're finished with your changes.



Regards,
~~helix84

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



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] Flow of events in XMLUI when a Button is pressed

2014-03-12 Thread Christian Scheible
Hi together,

I'm currently trying to follow the Flow of a XMLUI Request. Can you give 
me a hint what happens after a Button in XMLUI is pressed.
For example the submit_upload Button from 
org.dspace.app.xmlui-aspect.administrative.Item.AddBitstreamForm.
I understand that the request starts in sitemap.xmap. But I couldn't 
find the next point in the chain (is it the Theme and if what's 
happening next).

Thanks in advance
Christian

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
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] Item export and import via Simple Archive Format

2014-02-14 Thread Christian Scheible
Hi together,

I have a question regarding the item export and import described here:
https://wiki.duraspace.org/display/DSDOC18/Importing+and+Exporting+Items+via+Simple+Archive+Format

The export is working fine (I am exporting every collection I have to a 
different folder).
But when I try to import them again I get exceptions that the handle is 
already in use for items which are in more than one collection.
I think this means it exports all items of a collection even if the 
current collection is not the owning collection of an item.
Is this true and is there a way to avoid this?

Regards
Christian

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
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 create a Dspace project in Eclipse

2014-02-13 Thread Christian Scheible
Ok, I changed the location of the information to 
https://wiki.duraspace.org/display/DSPACE/DSpace+IDE+-+Eclipse%2C+Git%2C+Maven%2C+and+Tomcat.
 




Am 12.02.2014 16:30, schrieb helix84:
 On Wed, Feb 12, 2014 at 4:09 PM, Christian Scheible
 christian.schei...@uni-konstanz.de wrote:
 I just finished the Wiki page on
 https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace%2C+Eclipse+and+Tomcat.
 The procedure is not as simple and nice as with Netbeans but it's a
 working setup.
 Ouch, you edited the outdated page, not the new one updated with
 current information after we moved to Git... I specifically said which
 one is which.

 You may want to update the new one instead and revert the changes in
 the old one (which was kept for archiving purposes).

 In any case, thank you for your work.


 Regards,
 ~~helix84

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


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
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 create a Dspace project in Eclipse

2014-02-12 Thread Christian Scheible
I have done this one month ago. It seems that the m2e plugin doesn't 
work in this case so you have to use Maven and the CLI. Then it is easy 
it's just:


$ cd dspace # enter the folder with the dspace sources
mvn package # Build DSpace
mvn -Declipse.workspace=YOUR_DSPACE_FOLDER eclipse:configure-workspace # Create 
DSpace workspace
mvn eclipse:eclipse # Create Eclipse config files

Then you can do the import in Eclipse:
1. File - Import - General - Existing Projects Into Workspace - Next
2. Choose YOUR_DSPACE_FOLDER
3. Choose all the projects
4. Click finish

For debugging with tomcat you have to:
1. Open tomcat settings in (on Ubuntu) /etc/default/tomcat7
2. Uncomment line:  JAVA_OPTS=${JAVA_OPTS} -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
3. Restart tomcat like: sudo service tomcat7 restart
4. In Eclipse choose a module like dspace-api click on Debug Configurations... 
- Remote Java Applications
5. Enter your tomcat address (like localhost) and the Port 8000.
6. At tab source add the other modules (like dspace-xmlui)
7. You can start the debugging



Am 11.02.2014 18:21, schrieb Alcides Carlos de Moraes Neto:

Hello everyone,

I've been working with dspace for a while now, but I have never been 
able to create an error-free workspace in Eclipse. Is there 
documentation or a guide for this?


I downloaded the source and imported it with the Eclipse m2e plugin. 
All sub-projects are identified correctly, but I get loads of XSL, JSP 
and Maven problems.


Ats,

Alcides Carlos de Moraes Neto
Sometimes I think we're alone. Sometimes I think we're not. In either 
case, the thought is staggering.

- R. Buckminster Fuller


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk


___
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


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
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 create a Dspace project in Eclipse

2014-02-12 Thread Christian Scheible
Sure but I think i don't have the permission (can't log in) to make changes.
Am 12.02.2014 12:17, schrieb helix84:
 Hi Christian,

 could you please update the relevant wiki page with your instructions? 
 People might not find it buried in the archive, but that page should 
 be their first place to look. Thanks in advance.


 Regards,
 ~~helix84

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



--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
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 create a Dspace project in Eclipse

2014-02-12 Thread Christian Scheible
I just finished the Wiki page on 
https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace%2C+Eclipse+and+Tomcat.
 
The procedure is not as simple and nice as with Netbeans but it's a 
working setup.

Regards
Christian

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
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] XMLUI Language switcher (DS-1810)

2014-02-03 Thread Christian Scheible
Hi everybody, 

we are migrating from 1.6.2 to 4.0 and want to use the localization functions 
from DSpace 4.0. But it seems there are a few bugs. So I just wanted to add 
some additional information for the ticket DS-1810 .

Its not only happening during submission but also during registration 
http://demo.dspace.org/xmlui/register
and during the creation of a collection/community
http://demo.dspace.org/xmlui/admin/community?createNewcommunityID=13

Problem seems to be the building of the url in:
dspace-xmlui/src/main/webapp/themes/dri2xhtml/structural.xsl

it doesn't add the queryString from pageMeta element for example. But that's 
not the only Problem. If the language button is pressed during Submission (and 
Registration?) there are Cocoons Continuations used. The Continuation ID is 
lost if you press a language Button. 

I hope someone can add this Information to the ticket maybe it helps improving 
this feature.

Regards 
Christian

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
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] XMLUI Language switcher (DS-1810)

2014-02-03 Thread Christian Scheible
Thanks for your reply. If this fixes the exceptions this would realy help us. 

But I'm not sure if it is only happening with Flowscript. For example here:
http://demo.dspace.org/xmlui/admin/epeople

the reason for this exception is that there is a wrong value in pageMeta 
element (from the DRI document)
metadata element=request qualifier=URIadmin/epeople/main/metadata

the additional main is leading to an exception. 

Same here:
http://demo.dspace.org/xmlui/admin/community?createNew
with pageMeta from DRI:
metadata element=request 
qualifier=URIadmin/community/createCommunity/metadata

Maybe on could change the information from pageMeta and add the requestURI in 
dspace-xmlui/src/main/java/org/dspace/aqpp/xmlui/aspect/viewArtifacts-
addPageMeta 
like:
pageMeta.addMetadata(request, request uri).addContent(
request.getRequestURI());
because the content of requestURI is: /xmlui/admin/community
together with metadata element=request 
qualifier=queryStringcreateNew/metadata

with this information it would be posible to build a working URL in 
structural.xsl 
 

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
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