Re: [Dspace-tech] Question about update-discovery-index -r

2014-01-13 Thread helix84
On Fri, Jan 10, 2014 at 10:30 PM, Terry Brady tw...@georgetown.edu wrote:
 I presumed that I could remove the documents for an entire
 community/collection in a single command.

Sorry about the confusion, that didn't occur to me. A Solr index is
just a collection of documents with no intrinsic concept of hierarchy.
Is there any way we could write the help text more clearly?

 Perhaps it would be useful to have a new command line option to force the
 re-indexing of a specific community or collection.  It might also be useful
 to allow multiple items to be deleted in a single command.  If this sounds
 potentially useful to others, I will file an enhancement request.

Sure, feel free to file one. Although I personally can't imagine a
case where it would be useful. It sounds ad hoc - and if you need
something ad hoc, it sounds more flexible to talk directly to Solr
than to build it into DSpace. In your case, your query would look
like:

$ curl http://localhost:8080/solr/search/select/?q=location.coll:1234rows=0;

Measure twice, cut once.

$ curl 
http://localhost:8080/solr/search/update?stream.body=updatedeletequerylocation.coll:1234/query/deletecommit//update


Regards,
~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] CC_LICENSE , IP Authentication / javascript or custom code ?

2014-01-13 Thread helix84
On Fri, Jan 10, 2014 at 10:28 PM, Monika C. Mevenkamp
moni...@princeton.edu wrote:
 From reading DSpace 1.8 documentation I understand that CC_LICENSEs are part
 of a items. They are meant to describe what a user can do with bitstreams.

Hi Monika,

yes, in fact, they're just regular bitstreams with a specific name and
contents, recognized by the presentation layer and rendered with a CC
deed.

 Stepping back:  Our DSPACE instances has a community with collections which
 contain senior theses documents. Access to these is supposed to be
 restricted to University members and site visitors should be made very aware
 of what they can and can not do with these files: aka read, print, but do
 not share with outsiders.

 For access restriction I am envisioning using IPAuthentication. I understand
 that I need to enter our specific values in
 dspace/config/modules/authentication-ip.cfg file. I am envisioning a stack,
 where first our custom authentication code is tried, then IP Authentication,
 and then the Anonymous user is ‘authorized’.  How do I tie a pseudo user
 account to IP authentication ?

DSpace has stackable authentication built-in, so a number of auth
methods may be chained and will be tried in turn until one of them
succeeds. In case of IP authentication, you may configure users from a
certain IP range to be put in a certain DSpace group. Then you'll just
create appropriate permissions on the bitstreams you want to
allow/restrict for that group.

 We would like to make site users explicitly agree to our custom license when
 they download a bitstream from a senior theses collection. Ideally  DSPACE
 should remember that agreement acceptance for a specified duration. Looking
 at the code I came up with the following plan:

You might get a better mileage with development-related questions on
dspace-devel. dspace-tech is meant for user (repo admin) support. Many
developers listen on both, though.


Regards,
~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Dublin Core to MARC crosswalk and dc.creator field

2014-01-13 Thread helix84
Hi Diwakar,

assuming you're using DSpace 3 or 4 (since those have the XMLMARC
output format), you can change the mapping in this XSLT file:

https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/config/crosswalks/oai/metadataFormats/marc.xsl#L30

As you can see, here it maps dc.contributor.author to the MARC21 720
field. You can add any additional mappings you need. For any changes
to the xsl file to take effect, don't forget to run:

[dspace]/bin/dspace oai clean-cache


Regards,
~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Question about update-discovery-index -r

2014-01-13 Thread Terry Brady
Ivan,

Your recommended solution looks simple and quick to me.  I had not
considered issuing my own transactions against the SOLR service.  Given the
simplicity of your recommendation, your recommendation seems preferable to
adding complexity to the command-line interface.

Looking at the command line help, the left side of the help is clear that
an item handle is recommended.  Based on my experience with the
filter-media handle parameter, I presumed that passing a
collection/community handle to this command might trigger the re-processing
of the entire community/collection.

Here are a couple possible alternatives for the help text.

   - remove an Item from the index based on its handle
   - remove a solr document from the index based on its handle

Terry


On Mon, Jan 13, 2014 at 3:33 AM, helix84 heli...@centrum.sk wrote:

 On Fri, Jan 10, 2014 at 10:30 PM, Terry Brady tw...@georgetown.edu
 wrote:
  I presumed that I could remove the documents for an entire
  community/collection in a single command.

 Sorry about the confusion, that didn't occur to me. A Solr index is
 just a collection of documents with no intrinsic concept of hierarchy.
 Is there any way we could write the help text more clearly?

  Perhaps it would be useful to have a new command line option to force the
  re-indexing of a specific community or collection.  It might also be
 useful
  to allow multiple items to be deleted in a single command.  If this
 sounds
  potentially useful to others, I will file an enhancement request.

 Sure, feel free to file one. Although I personally can't imagine a
 case where it would be useful. It sounds ad hoc - and if you need
 something ad hoc, it sounds more flexible to talk directly to Solr
 than to build it into DSpace. In your case, your query would look
 like:

 $ curl 
 http://localhost:8080/solr/search/select/?q=location.coll:1234rows=0;

 Measure twice, cut once.

 $ curl http://localhost:8080/solr/search/update?stream.body=
 updatedeletequerylocation.coll:1234/query/deletecommit//update


 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
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Configuring Shibboleth for DSpace 4

2014-01-13 Thread Shazia Sathar
Thanks for the explanation. I will try this and keep the group posted on
how it goes!

Regards,
Shazia


On Fri, Jan 10, 2014 at 8:10 AM, helix84 heli...@centrum.sk wrote:

 On Thu, Jan 9, 2014 at 7:34 PM, Shazia Sathar ssat...@uic.edu wrote:
  2) For all other users it would be the default password-based
  authentication.

 Hi Shazia,

 yes, DSpace uses stackable authentication, so multiple authentication
 modules can be used in parallel. Here's what you need for
 authentication.cfg:

 plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
 org.dspace.authenticate.ShibAuthentication, \
 org.dspace.authenticate.PasswordAuthentication

 Of course, now you should set up authentication-password.cfg (usually
 not necessary) and authentication-shibboleth.cfg.


  Is it possible to do this? Any pointers would be appreciated. I have gone
  through the documentation but I am not sure where to start. I have addded
  org.dspace.authenticate.ShibAuthentication to authentication.cfg.

 The details for DSpace 1.8.2 and newer are here:


 https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ConfiguringShibbolethAuthentication(DSpace1.8.2+)

 In the supported setup, you need to run Apache HTTPD as a front-end to
 DSpace. You have to install the Shibboleth Service Provider (SP) and
 load it as a module to Apache (mod_shib).

 Then you have to configure the details of your particular Shibboleth
 environment in authentication-shibboleth.cfg.


 Regards,
 ~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Dublin Core to MARC crosswalk and dc.creator field

2014-01-13 Thread Diwakar Timilsina
Thank you so much. I appreciate it.




Diwakar Timilsina
Systems Analyst, UITS
University of Arkansas, Fayetteville
Email: diwa...@uark.edu
Phone: 479.575.6160

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, January 13, 2014 2:54 AM
To: Diwakar Timilsina
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dublin Core to MARC crosswalk and dc.creator field

Hi Diwakar,

assuming you're using DSpace 3 or 4 (since those have the XMLMARC output 
format), you can change the mapping in this XSLT file:

https://urldefense.proofpoint.com/v1/url?u=https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/config/crosswalks/oai/metadataFormats/marc.xsl%23L30k=t8cWouLHMWKnKZhAFQUeVA%3D%3D%0Ar=%2BaVeCzrb3rShDVSB5L8Xxw%3D%3D%0Am=%2FaT%2B9dKhVCBzRdbpg4hLFBlIXNhCq6qnqKXM%2BFTikaY%3D%0As=e84fcb8f6f8ca87b7931062858a19e5d16a5ebadb4b1861f7416fde89bfad374

As you can see, here it maps dc.contributor.author to the MARC21 720 field. You 
can add any additional mappings you need. For any changes to the xsl file to 
take effect, don't forget to run:

[dspace]/bin/dspace oai clean-cache


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://urldefense.proofpoint.com/v1/url?u=https://wiki.duraspace.org/display/DSPACE/Mailing%2BList%2BEtiquettek=t8cWouLHMWKnKZhAFQUeVA%3D%3D%0Ar=%2BaVeCzrb3rShDVSB5L8Xxw%3D%3D%0Am=%2FaT%2B9dKhVCBzRdbpg4hLFBlIXNhCq6qnqKXM%2BFTikaY%3D%0As=70a91cd5ed20538be57d53824ea5a3a3bea97d62694d97a6198d53d030f57943
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] again problems with build.properties, dspace.cfg and install directories

2014-01-13 Thread Brouns, Francis
] 

 [echo]

prepare_solr_configs:
[mkdir] Created dir: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspac
e\target\dspace-3.2-build\solr-config-temp
 [copy] Copying 40 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\solr-config-temp

copy_solr_configs_keep:

overwrite_solr_configs:
 [copy] Copying 40 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\${dspace.install.dir}\solr
   [delete] Deleting directory D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\solr-config-temp
 [echo]
 [echo] 

 [echo]  The DSpace configuration has been updated.
 [echo]
 [echo]  During the upgrade process the build has attempted to overwrite the

 [echo]  previous configuration while preserving your previous changes in fi
les
 [echo]  suffixed *.old
 [echo]
 [echo]  To complete installation, you should do the following:
 [echo]
 [echo]  * Check that you've properly merged any differences in the followin
g files:
 [echo]
 [echo]
 [echo]
 [echo]
 [echo]
 [echo]   * To properly merge your previous configuration files, it's
 [echo] best to try to take the newer version and copy your
 [echo] previous changes into it.
 [echo] 

 [echo]

update_configs:

check_geolite:

init_geolite:

update_geolite:
 [echo] Downloading: http://geolite.maxmind.com/download/geoip/database/GeoL
iteCity.dat.gz
  [get] Getting: http://geolite.maxmind.com/download/geoip/database/GeoLiteC
ity.dat.gz
  [get] To: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\
dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz
  [get] 
  [get] 
  [get] 
  [get] 
  [get] 
  [get] 
  [get] 
   [gunzip] Expanding D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\t
arget\dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz to D:\cel
stec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\dspace-3.2-build\${dsp
ace.install.dir}\config\GeoLiteCity.dat
   [delete] Deleting: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\t
arget\dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz

update_code:
 [move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\bin does not exist.
 [copy] Copying 8 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\${dspace.install.dir}\bin
 [move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\lib does not exist.
 [copy] Copying 100 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-relea
se\dspace\target\dspace-3.2-build\${dspace.install.dir}\lib
 [move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\etc does not exist.
 [copy] Copying 31 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\${dspace.install.dir}\etc
 [echo]
 [echo] 

 [echo]  ${dspace.install.dir}/bin was backed up to
 [echo]
 [echo]  ${dspace.install.dir}/bin.bak-20140113-160644
 [echo]
 [echo]  ${dspace.install.dir}/lib was backed up to
 [echo]
 [echo]  ${dspace.install.dir}/lib.bak-20140113-160644
 [echo]
 [echo]  ${dspace.install.dir}/etc was backed up to
 [echo]
 [echo]  ${dspace.install.dir}/etc.bak-20140113-160644
 [echo]
 [echo]  Please review these directories and delete if no longer needed.
 [echo] 

 [echo]

update_webapps:
 [move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\webapps does not exist.
 [echo]
 [echo] 

 [echo]  ${dspace.install.dir}/webapps was backed up to
 [echo]
 [echo]  ${dspace.install.dir}/webapps.bak-20140113-160644
 [echo]
 [echo]  Please review this directory and delete it if it's no longer needed
.
 [echo] 

 [echo]

copy_webapps:
 [copy] Copying 2151 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-rele

[Dspace-tech] moving position of search box on dspace homepage - Version 1.8.2 (XMLUI)

2014-01-13 Thread Evans, Kevin
Hi,

We have had a request to move the position of the Simple Search box from the 
below the 'Communities' list to above it. This has been done on our other 
Dspace Repositories (which were earlier versions) but despite searching the 
template.xsl and structural.xsl, I can't see how to change it.

We are using xmlui (version 1.8.2).

Any advice gratefully received.


Cheers

Kev

Kevin Evans
Systems Developer,
Research  Collaborative Systems,
Enterprise Applications,
Room 919, 9th Floor, Laver Building,
University of Exeter,
Exeter,
Devon,
EX4 4QE
01392 725573

Embrace. Extend. Extinguish.


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] moving position of search box on dspace homepage - Version 1.8.2 (XMLUI)

2014-01-13 Thread helix84
On Mon, Jan 13, 2014 at 4:49 PM, Evans, Kevin kevin.ev...@exeter.ac.uk wrote:
 We have had a request to move the position of the Simple Search box from the
 below the ‘Communities’ list to above it. This has been done on our other
 Dspace Repositories (which were earlier versions) but despite searching the
 template.xsl and structural.xsl, I can’t see how to change it.

Hi Kev,

there are a couple of ways you could do that. I'll write one that I
think requires the least amount of work:

Put this in your theme's XSL file:
xsl:template name=disable_front-page-search
match=dri:div[@id='aspect.discovery.SiteViewer.div.front-page-search']
/xsl:template

And the following block to the appropriate place in
[dspace]/config/news-xmlui.xml (this one assumes you have Discovery
enabled; if you don't, just use the appropriate snippet from DRI and
change the id attribute):

div id=aspect.discovery.SiteViewer.div.front-page-search-custom
interactive=yes rend=primary action=/discover
n=front-page-search method=get
headSearch DSpace/head
pEnter some text in the box below to search DSpace./p
p
field id=aspect.discovery.SiteViewer.field.query n=query type=text
params/
/field
field id=aspect.discovery.SiteViewer.field.submit n=submit type=button
params/
value type=rawGo/value
/field
/p
/div


Regards,
~~helix84

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

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] failing to install DSPACE on MacOS

2014-01-13 Thread Monika C. Mevenkamp

I agree (after reading maven doc) that at least some of my problems relate to 
system/maven settings.
I installed maven directly instead of through brew.

Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
11:22:22-0400)
Maven home: /Users/monikam/Software/maven
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: mac os x, version: 10.9.1, arch: x86_64, family: mac


Now I have a version that actually provides an initial settings.xml file. 
Looking inside reveals no settings though, just lots of empty xml elements.

Again mvm tried to download a non existing jar, so I changed dspace-api/pom.xml
-  dependency
- groupIdedu.yale/groupId
- artifactIdcasclient/artifactId
- version2.0.11/version
-  /dependency
+dependency
+  groupIdcas/groupId
+artifactIdcasclient/artifactId
+  version2.0.11/version
+  /dependency
 /dependencies

Now maven  works away until:

Downloading: 
http://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/1.6.0/pdfbox-1.6.0.jar

It downloads a couple 100 bytes and then hangs

any tips ?

Monika



On Jan 8, 2014, at 11:31 AM, Andrea Bollini 
a.boll...@cineca.itmailto:a.boll...@cineca.it wrote:

The problem is related to the repositories used vy maven tp download the 
artifacts. You should check the effective pom (I don't remember the cmd but 
google can help here).
The standard repositories, as the central repo at maven.orghttp://maven.org, 
are normally defined in the settings.xml that come out of box with maven but 
you can edit it yourself.
You can also add additional repositories editing directly the dspace parent pom 
file but I suggeds to you to try to fix your maven environment first.
Hope this help,
Andrea




Inviato da Tablet Samsung

Monika Mevenkamp moni...@princeton.edumailto:moni...@princeton.edu ha 
scritto:

I found something on stack overflow that some people have problems with maven 
3.1 so I installed 3.0.5
I am still running into the same problem - aka maven trying to get a jar that 
does not exist
http://oss.sonatype.org/content/repositories/releases/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar

with maven2  I go a little further but then I get unable to find resource 
messages and the command appears to hang

[INFO] Unable to find resource 'org.apache.pdfbox:pdfbox:jar:1.6.0' in 
repository sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/1.6.0/pdfbox-1.6.0.jar
[INFO] Unable to find resource 'org.apache.lucene:lucene-core:jar:4.4.0' in 
repository sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
[INFO] Unable to find resource 'org.apache.pdfbox:jempbox:jar:1.6.0' in 
repository sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
Downloading: 
http://repo1.maven.org/maven2/org/apache/pdfbox/jempbox/1.6.0/jempbox-1.6.0.jar
50K downloaded  (jempbox-1.6.0.jar)

I am fairly sure this has something to do with me coming from a MAC with some 
setting somewhere that directed maven to the wrong url
Do you have any tips where I should start looking ?
Or can I bypass this problem by running a few wgets ?

Monika



On Jan 8, 2014, at 7:18 AM, helix84 
heli...@centrum.skmailto:heli...@centrum.sk wrote:

Hi Monika,

I wasn't able to reproduce your issue with DSpace 4.0 and Maven 2.2.1.
Maybe it's specific to maven 3.1, because I'm sure it also builds with
Maven 3.0. Or the issue is something else altogether...

On Tue, Jan 7, 2014 at 10:47 PM, Monika Mevenkamp 
moni...@princeton.edumailto:moni...@princeton.edu wrote:
Downloading:
http://oss.sonatype.org/content/repositories/releases/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar
which in fact does not exists:

This doesn't seem right, the jar is located here:

http://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar

At least this is what I'm getting when I delete my ~/.m2:

...
[DEBUG] Unable to locate resource in repository
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate
resource in repository
   at 
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:139)
   at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
   at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
   at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382)
   at 

[Dspace-tech] JSPUI Customizations in DSpace 4

2014-01-13 Thread Shazia Sathar
Hello All,

I am trying to customize fonts and colors in the home page. Looks like the
stylesheet styles.css is not used anymore for the DSpace 4 pages. Could
someone please point me to location of the .css file?
I found these .css files:

dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.min.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.min.css


I followed the usual steps to modify files and rebuild but the changes do
not reflect on the page. Also bootstrap.css and bootstrap.min.css seem to
be the same file but formatted differently. I am not sure which one to
modify.
Is there something different we need to do in DSpace 4 to customize JSPUI?

Regards,
Shazia
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] JSPUI Customizations in DSpace 4

2014-01-13 Thread Andrea Bollini

Hi Shazia,
you are right the styles.css is not longer the primary css file of 
dspace. At the moment it is only used in popup (help pages  some 
administrative features) so we will probably completely remove it in the 
a future version.


The relevant css files are
/static/css/jquery-ui-1.10.3.custom/redmond/jquery-ui-1.10.3.custom.css
/static/css/bootstrap/bootstrap.min.css
/static/css/bootstrap/bootstrap-theme.min.css
/static/css/bootstrap/dspace-theme.css

all in dspace-src\dspace-jspui\src\main\webapp\
So only the minimized version of bootstrap css are used, the exploded 
version is included to make easier understand the files and maybe 
override few definitions in dspace-theme.css.
My suggestion is to replace the bootstrap files (you can put your 
customization in jspui/src/main/webapp/) with file generated using the 
bootstrap customize form

http://getbootstrap.com/customize
or choosing a prebuild theme from
http://bootswatch.com http://bootswatch.com/

as we are also using some widget from the JQuery UI project you probably 
want to replace the redmond's folder files with ones downloaded or 
generated from here

http://jqueryui.com/themeroller/
The jqueryui redmond theme indeed works well with the default bootstrap 
theme.


Finally, the dspace-theme.css files contains minimal tricks specific of 
dspace that probably will need some edit if you change the 
bootstrap/jqueryui theme.

Hope this helps,
Andrea




Il 13/01/2014 19.28, Shazia Sathar ha scritto:

Hello All,

I am trying to customize fonts and colors in the home page. Looks like 
the stylesheet styles.css is not used anymore for the DSpace 4 pages. 
Could someone please point me to location of the .css file?

I found these .css files:

dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.min.css
dspace-src\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.min.css


I followed the usual steps to modify files and rebuild but the changes 
do not reflect on the page. Also bootstrap.css and bootstrap.min.css 
seem to be the same file but formatted differently. I am not sure 
which one to modify.

Is there something different we need to do in DSpace 4 to customize JSPUI?

Regards,
Shazia


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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



--
Andrea Bollini
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Question about

2014-01-13 Thread Mary Weppler-Selear
Hello,

I'm attempting to import items into a collection, and in the CLI was trying to 
access the import program using the command /dspace/bin/dspace import.  However 
I'm receiving the message Permission denied.  I haven't seen this message 
before.  Any assistance the group has would be most appreciated.

Mary

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Question about

2014-01-13 Thread Keir Vaughan-Taylor
Possibly an ID problem. You need to be the user DSpace (or whatever the
the DSpace user is and definitely not root)

Also check the permissions and ownership of on the
executable /dspace/bin/dspace so it is owned by DSpace and is executable
by its owner.

The import command needs a few parameters for example with either add,
replace, or remove.



On Mon, 2014-01-13 at 21:10 +, Mary Weppler-Selear wrote:
 Hello,
 
 I'm attempting to import items into a collection, and in the CLI was
 trying to access the import program using the
 command /dspace/bin/dspace import.  However I'm receiving the message
 Permission denied.  I haven't seen this message before.  Any
 assistance the group has would be most appreciated.
 
 Mary
 
 
 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today. 
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] BROWSE INDEX DISPLAY

2014-01-13 Thread c_sugumaran
We would like to add new browse index (as per Report Number  Entity) as
given in *homepage-m.jpg*. (file attached).  For this we have made
modifications in (1. dspace.cfg, 2. Messages.properties, 3.input-forms-xml) 
as given in (1. Dspace-browse.cfg – 2. Messages-browse.properties, 3.
Input-forms-browse.xml) (The modified portions in red colour is given in doc
files)

But we have had Internal System Error as given in *homepage-1-m.jpg.*

Can any one help us by going through these files, where we are doing mistake
and correct us by sending back the files after corrections ? by indicating
the corrections in different colour fonts

Please tell us also any other modifications is necessary in any other files
to get the result.

We would like to add these features in Search indices also.

Expecting your early help
dspace-browse.cfg
http://dspace.2283337.n4.nabble.com/file/n4670236/dspace-browse.cfg  
dspace-browse.doc
http://dspace.2283337.n4.nabble.com/file/n4670236/dspace-browse.doc  
homepage-1-m.JPG
http://dspace.2283337.n4.nabble.com/file/n4670236/homepage-1-m.JPG  
homepage-m.JPG
http://dspace.2283337.n4.nabble.com/file/n4670236/homepage-m.JPG  
input-forms.xml
http://dspace.2283337.n4.nabble.com/file/n4670236/input-forms.xml  
input-forms-browse-xml.txt
http://dspace.2283337.n4.nabble.com/file/n4670236/input-forms-browse-xml.txt  
Messages-browse.properties
http://dspace.2283337.n4.nabble.com/file/n4670236/Messages-browse.properties  
Messages-properties-browse.doc
http://dspace.2283337.n4.nabble.com/file/n4670236/Messages-properties-browse.doc
  



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/BROWSE-INDEX-DISPLAY-tp4670236.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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