Re: [Dspace-tech] Achieving security by obscurity

2008-07-09 Thread Graham Triggs
Scott Phillips wrote:
 We wanted to expose dspace's metadata in a way that can be used by  
 other applications. They are nice restfull urls that are actionable  
 and easily predictable.

In most cases, that should be seen as a good thing.

I can see in certain situations that you wouldn't want to expose that 
publicly though. So, in the interests of furthering our collective 
knowledge, I'll pose the question for tackling it another way -

is it possible to restrict what has access to the /metadata urls? (ie. 
by IP address).

If you can restrict part of the url space to only being accessible 
either from an internal Cocoon resolution and/or specific IP addresses 
(ie. 127.0.0.1), then you can prevent leakage of [sensitive] 
information, whilst still allowing the internal processes, your own 
debugging, and possibly even 'trusted partners' access to the data they 
need.

G
This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace 1.5.0 Installation Successful

2008-07-09 Thread Yohannes Mulugeta

Thank you Dr Prasda,
I have finally succeeded in installing dspace 1.5 on my ubuntu 6.10 server 
based ARD Prasad comment. I just configured the maven settings.xml under 
maven/conf to point to the proxy and run the following command

mvn -s /home/dspace/maven/conf/settings.xml -f 
/home/dspace/dspace-1.5.0-release/dspace/pom.xml package

And finally run ant fresh_install from the target sdpace-[version].dirdirectory 
to install dspace.

Many thanks to Dr Clif Kussmaul as well for suggesting a way out for my 
problems.

Keep up the good works!
Good day,
Yohannes Mulugeta
Addis Ababa University
Main Library

ARD Prasad [EMAIL PROTECTED] wrote: Hi,
Maven required Internet connectivity.  If your system has connectivity,
please check whether you are behind a proxy. If so please modify,
settings.xml file in maven config directory OR have a private copy of
settings.xml in which case you have to run the command similar to the
following

mvn -s $HOME/.m2/settings.xml -f $DSPACE_SRC_DIR/pom.xml package

Please replace $HOME  $DSPACE_SRC_DIR with correct paths

with best regards
ard
-- 
ARD Prasad, Ph.D.
Documentation Research  Traning Centre (DRTC)
Indian Statistical Institute (ISI)
8th Mile Mysore Road
Bangalore  560 059
India
Phone (Off): +91-80-28483002  Ext. 496

Home Page: http://drtc.isibang.ac.in/DRTC/ardcv.html


 Dear all,

 It my third day when i am trying to install dspace 1.5 on ubuntu server
 6.10. Every thing goes well: the j2sdk1.5-sun, apache-tomcat, apache-ant,
 even apache-maven. Environmental variables were properly defined for these
 packages. By the way I have implemnted DSpace 1.4.2 for our ETD
 (Electronic Theses and Dissertations)  project at the Addis Ababa
 University Library. The problem comes when i am trying to generate the
 dspace installation (dspace 1.5) pakcge using  mvn pakcge. It says BUILD
 ERROR and Failed to resolve artifact. I need your help please. Here is the
 detail.

 [EMAIL PROTECTED]:~/dspace-1.5.0-release/dspace$ mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace Addon Modules
 [INFO]task-segment: [package]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 GroupId: org.apache.maven.plugins
 ArtifactId: maven-site-plugin
 Version: 2.0-beta-6

 Reason: Unable to download the artifact from any repository

   org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6

 from the specified remote repositories:
   maven.dspace.org/snapshot (http://maven.dspace.org/snapshot),
   central (http://repo1.maven.org/maven2)


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 6 minutes 21 seconds
 [INFO] Finished at: Thu Jul 03 14:03:53 EAT 2008
 [INFO] Final Memory: 1M/3M



 Yohannes Mulugeta
 Head, Computer and Information Retrival Center
 Addis Ababa University Libraries
 P.O.Box: 1176
 Addis Ababa
 Ethiopia




-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



Yohannes Mulugeta
Head, Computer and Information Retrival Center 
Addis Ababa University Libraries
P.O.Box: 1176
Addis Ababa
Ethiopia

e-mail: yohannesmuluATyahoo.com
yohannesmuluATgmail.com
cell phone: (251-91)-139-5572
   -
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at 

[Dspace-tech] How to enrich metadata with special characters?

2008-07-09 Thread Robert Roggenbuck
Hi,

I just wonder how to add special characters to metadata. Unicode-Escapes 
like #x1D6C0; work - but there are things in the world which are not 
captured by the unicode tables. One example is a superscript infinity 
sign, like in 
http://elib.ub.uni-osnabrueck.de/publications/pics/Omega-S.gif .

Would it be possible to allow MathML or LaTeX to be rendered? Or at 
least to allow a selected set of HTML-tags to handle these things, like 
sub, sup and img?

Best Regards

Robert

PS: While playing around to insert unicode-entities, I discovered a bug: 
whenever ampersands occur in a field, the last one is escaped as amp; 
in the rendered item page, but displayed correct in the text field for 
metadata editing. After actualising / saving the item a second time the 
characters are displayed as expected.

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help me: porcedure for installing. Reg.

2008-07-09 Thread Robert Roggenbuck
1. The installation- / configuration-steps are in the documentation 
included in the DSPace software package.
2. See also 
http://www.dspace.org/index.php?option=com_contenttask=viewid=152
3. There is also a manual online: 
http://www.dspace.org/images/onepointfivedocs/dspacemanual_15_may.zip
4. In the DSpace Wiki You will find further information: 
http://wiki.dspace.org/index.php/Installation

Greetings

Robert

Sudheer schrieb:
 Dear Sir/ Madam
 
 My name is Ch. Sudheer kumar working as Scientific Assistant in ISRO  
 and i want to install Dspace. for that some supporting Postgresql, and 
 Apache Tomcat is required. I have all the source files and i want to 
 install them in a paritcular order..
 
 so i need a detailed installation procedure for Postgresql, Apache 
 Tomcat on windows platform. i have searched in internet for help but i 
 could not get the exact procedure..
 
 If anybody is exprienced in installing Dspace, Postgres and Apache 
 Tomcat on windows platform, please help me to coordinate these three 
 applications for better installation and utilization.
 
 your sincerely
 ch sudheer kumar


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ItemImport does not recognise language setting

2008-07-09 Thread Robert Roggenbuck
Hi,

In the documentation of the format of the dublin_core.xml file the
attribute 'language' in mentioned. But as far as I see it's setting is
not recognised. Especially I'd like to avoid the automatically setting
of language values to things like numbers, dates, person names and so
on. But using '-', 'none' or '' as value does not work. Also setting
other values then the locale language ('de' in my case) has no effect.

Is it a bug in DSpace 1.5 or did I missed something?

Greetings

Robert

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Workflow-option of ItemImport is buggy

2008-07-09 Thread Robert Roggenbuck
Hi all,

when I use the --workflow option for the /dspace/bin/import 
(ItemImport), only 'dc.title' and 'dc.identifier' are imported. All 
other fields in the submit form are empty. Without --workflow the whole 
dataset is immediatly visible.

What's going on? Can someone explain this behaviour and know how to 
handle it?

Best Regards

Robert

PS: Sorry for seeming impatiend ... but, as usual, it is an important 
point for me.

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Translation to Submit Form is still not applied

2008-07-09 Thread Robert Roggenbuck
Hi Mikel,

I did not solved the problem complete, but I had some success:

1. My 'ant init_configs' does not copy all files in the main  directory 
of DSpace. I must copy the input-forms*.xml manually.

2. To get the right forms selected You have to mention them in the 
workflow configuration item-submission.xml .

Now my modified input form is used - but still only the English version :-(

Sorry for no further help - until now. Did You succeed in the meantime?

Greetings

Robert

PS: In my case it's DSpace 1.5 and jspu too.

---

Mikel Nin schrieb:
 Hi Robert,
 
  
 
 I'm having the same problem with the Spanish version of input-forms.xml.
 Although I have a Spanish version of input-forms.xml (input-forms_eu.xml)
 and default.license (default_es.license), both of them still continue in
 English. Did you managed to make it run properly?
 
  
 
 Greetings
 
  
 
 Mikel


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Translation to Submit Form is still not applied

2008-07-09 Thread Claudia Jürgen
Hi all,

the introduction of CSS removed the i18n of the submission, so at the 
moment the input-form is not selected based on your language settings.

cheers

Claudia


Robert Roggenbuck schrieb:
 Hi Mikel,
 
 I did not solved the problem complete, but I had some success:
 
 1. My 'ant init_configs' does not copy all files in the main  directory 
 of DSpace. I must copy the input-forms*.xml manually.
 
 2. To get the right forms selected You have to mention them in the 
 workflow configuration item-submission.xml .
 
 Now my modified input form is used - but still only the English version :-(
 
 Sorry for no further help - until now. Did You succeed in the meantime?
 
 Greetings
 
 Robert
 
 PS: In my case it's DSpace 1.5 and jspu too.
 
 ---
 
 Mikel Nin schrieb:
 Hi Robert,

  

 I'm having the same problem with the Spanish version of input-forms.xml.
 Although I have a Spanish version of input-forms.xml (input-forms_eu.xml)
 and default.license (default_es.license), both of them still continue in
 English. Did you managed to make it run properly?

  

 Greetings

  

 Mikel
 
 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] New problem installing DSpace

2008-07-09 Thread María Isabel López Sánchez-Huete
Hi,

I don´t now if somebody is really reading this list, but I try to ask 
again. I hope someday somebody can respond to me.

This installation is very difficult to me, perhaps because the 
documentation is written thinking in an linux operating system with a 
Postgres database. But this is not my case: Sparc, Solaris 10 and Oracle.

Now I arrive to the 7 point in the installation instructions, and I 
find a new error. When I execute

ant fres_install

the new error that arise is:
  [java] 2008-07-04 13:37:25,750 INFO 
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
  [java] 2008-07-04 13:37:26,391 FATAL 
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
  [java] java.sql.SQLException: Listener refused the connection with 
the following error:
  [java] ORA-12514, TNS:listener does not currently know of service 
requested in connect descriptor
  [java] The Connection descriptor used by the client was:
  [java] //machine.subdom.dom:1711/database

The database is up and the connections test are ok.

Somebody knows what is happening?

Thanks in advance.

Marisa.

-- 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Translation to Submit Form is still not applied

2008-07-09 Thread Robert Roggenbuck
Oops...

so, is it a matter of reformulating CSS or hacking Java / JSP? Is it a 
big thing to do? Will this be fixed in 1.5.1?

Greetings

Robert


Claudia Jürgen schrieb:
 Hi all,
 
 the introduction of CSS removed the i18n of the submission, so at the 
 moment the input-form is not selected based on your language settings.
 
 cheers
 
 Claudia
 
 
 Robert Roggenbuck schrieb:
 Hi Mikel,

 I did not solved the problem complete, but I had some success:

 1. My 'ant init_configs' does not copy all files in the main  
 directory of DSpace. I must copy the input-forms*.xml manually.

 2. To get the right forms selected You have to mention them in the 
 workflow configuration item-submission.xml .

 Now my modified input form is used - but still only the English 
 version :-(

 Sorry for no further help - until now. Did You succeed in the meantime?

 Greetings

 Robert

 PS: In my case it's DSpace 1.5 and jspu too.

 ---

 Mikel Nin schrieb:
 Hi Robert,

  

 I'm having the same problem with the Spanish version of input-forms.xml.
 Although I have a Spanish version of input-forms.xml 
 (input-forms_eu.xml)
 and default.license (default_es.license), both of them still continue in
 English. Did you managed to make it run properly?

  

 Greetings

  

 Mikel




-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Translation to Submit Form is still not applied

2008-07-09 Thread Claudia Jürgen
Hi Robert,

I did not investigate the changes along with the Customizable Submission 
Interface (CSS) closely, I'll take a look as soon as I find some time.

Claudia


Robert Roggenbuck schrieb:
 Oops...
 
 so, is it a matter of reformulating CSS or hacking Java / JSP? Is it a 
 big thing to do? Will this be fixed in 1.5.1?
 
 Greetings
 
 Robert
 
 
 Claudia Jürgen schrieb:
 Hi all,

 the introduction of CSS removed the i18n of the submission, so at the 
 moment the input-form is not selected based on your language settings.

 cheers

 Claudia


 Robert Roggenbuck schrieb:
 Hi Mikel,

 I did not solved the problem complete, but I had some success:

 1. My 'ant init_configs' does not copy all files in the main  
 directory of DSpace. I must copy the input-forms*.xml manually.

 2. To get the right forms selected You have to mention them in the 
 workflow configuration item-submission.xml .

 Now my modified input form is used - but still only the English 
 version :-(

 Sorry for no further help - until now. Did You succeed in the meantime?

 Greetings

 Robert

 PS: In my case it's DSpace 1.5 and jspu too.

 ---

 Mikel Nin schrieb:
 Hi Robert,

  

 I'm having the same problem with the Spanish version of 
 input-forms.xml.
 Although I have a Spanish version of input-forms.xml 
 (input-forms_eu.xml)
 and default.license (default_es.license), both of them still 
 continue in
 English. Did you managed to make it run properly?

  

 Greetings

  

 Mikel


 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Ant Errors when installing Dspace with Oracle

2008-07-09 Thread Rebekah Burke
Hi all,

I've searched and searched but cannot find a solution to my problem.

I am installing DSpace on Debian Linux with Tomcat 6. It's using an Oracle
11g server which is sitting on a seperate Solaris server.

I get this error when I run ant fresh_install for dspace:

Buildfile: build.xml

init_installation:

init_configs:

setup_database:
 [java] Exception in thread main java.lang.NoClassDefFoundError:
org/dspace/storage/rdbms/InitializeDatabase
 [java] Caused by: java.lang.ClassNotFoundException:
org.dspace.storage.rdbms.InitializeDatabase
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 [java] at java.security.AccessController.doPrivileged(Native
Method)
 [java] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 [java] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 [java] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)



It looks like the oracle jdbc driver is not being found..? I have put the
driver in my dspace folder, in a folder called lib (which I had to create as
there was no lib folder there initially..).

Here is an extract from the database section of my dspace.cfg file, maybe
there is something wrong here..?

# DSpace installation directory
dspace.dir =/usr/local/apache-tomcat-6.0.16/webapps/dspace

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# /jspui and set webapp of your choice as the ROOT webapp in
# the servlet engine.
dspace.url = http://10.209.3.21:8080/dspace

# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = http://10.209.3.21/

# Name of the site
dspace.name = Qualitative Data Archive

# Database settings #

# Database name (oracle, or postgres)
#db.name = ${default.db.name}
#db.name = postgres
db.name = oracle

# URL for connecting to database
#db.url = ${default.db.url}
#db.url = jdbc:postgresql://localhost:5432/dspace
db.url = jdbc:oracle:thin@//10.209.2.40/dspace

# JDBC Driver
#db.driver = ${default.db.driver}
#db.driver = org.postgresql.Driver
db.driver = oracle.jdbc.OracleDriver

# Database username and password
db.username = dspace
db.password = edited out for mailing list :)
#db.username = dspace
#db.password = dspace



Any help you could give would be greatly appreciated.
Thanks,
Rebekah
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Workflow-option of ItemImport is buggy

2008-07-09 Thread Robert Roggenbuck
Hi Claudia!

Yes, two fields in the metadata were missing in the form - and now it 
works. Thanks!

But still it is strange to see only dc.title and dc.identifier in the 
first summary view of an item after picking it up form the workflow 
pool. At least I would expect dc.creator at this place. (I did not use 
dc.creator.author, because there is none in Dublin Core). Is there a 
place to adjust this page?

Greetings

Robert


Claudia Jürgen schrieb:
 Hi Robert,
 
 did you adjust your submission forms so that they'll correspond to the 
 metadata given in the import?
 
 Claudia
 
 
 Robert Roggenbuck schrieb:
 Hi all,

 when I use the --workflow option for the /dspace/bin/import 
 (ItemImport), only 'dc.title' and 'dc.identifier' are imported. All 
 other fields in the submit form are empty. Without --workflow the 
 whole dataset is immediatly visible.

 What's going on? Can someone explain this behaviour and know how to 
 handle it?

 Best Regards

 Robert

 PS: Sorry for seeming impatiend ... but, as usual, it is an important 
 point for me.

 

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Alte Muenze 16
D-49074 Osnabrueck
Germany
Tel ++49/541/969-4344  Fax -4482
[EMAIL PROTECTED]

Postbox:
Postfach 4496
D-49034 Osnabrueck
===

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Workflow-option of ItemImport is buggy

2008-07-09 Thread Claudia Jürgen
Hi Robert,

with first summary view do you mean the preview in the workflow?

This got nothing to to with the submission form but is based on the 
default item display. To change this adjust 
webui.itemdisplay.default/orYourOwn. Make sure you got the appropriate 
keys in your Messages.properties/messages.xml.

Claudia

Robert Roggenbuck schrieb:
 Hi Claudia!
 
 Yes, two fields in the metadata were missing in the form - and now it 
 works. Thanks!
 
 But still it is strange to see only dc.title and dc.identifier in the 
 first summary view of an item after picking it up form the workflow 
 pool. At least I would expect dc.creator at this place. (I did not use 
 dc.creator.author, because there is none in Dublin Core). Is there a 
 place to adjust this page?
 
 Greetings
 
 Robert
 
 
 Claudia Jürgen schrieb:
 Hi Robert,

 did you adjust your submission forms so that they'll correspond to the 
 metadata given in the import?

 Claudia


 Robert Roggenbuck schrieb:
 Hi all,

 when I use the --workflow option for the /dspace/bin/import 
 (ItemImport), only 'dc.title' and 'dc.identifier' are imported. All 
 other fields in the submit form are empty. Without --workflow the 
 whole dataset is immediatly visible.

 What's going on? Can someone explain this behaviour and know how to 
 handle it?

 Best Regards

 Robert

 PS: Sorry for seeming impatiend ... but, as usual, it is an important 
 point for me.


 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Achieving security by obscurity

2008-07-09 Thread Dorothea Salo
On Wed, Jul 9, 2008 at 8:42 AM, Gary McGath [EMAIL PROTECTED] wrote:

 This still leaves the problem of other ways the metadata can be viewed.
 For instance, we've disabled METS data from the OAI provider because of
 the same problem. I'm considering patching InstallItem.java so that it
 never puts the provenance element into the metadata in the first place.
 Would this cause any problems?

Technically? Probably not. Operationally? Not unlikely.

I could be wrong about this and welcome correction, but I don't think
depositor information on an item is stored anyplace but the provenance
field. (The system does know who has add/remove/change rights on the
said item, but that's not necessarily the same thing.) This means that
if you remove DC provenance, *you don't know who clicked through the
license*. Somebody check me on this, please?

Truthfully, my librarian's teeth itch at the idea of removing
provenance information; we have it drummed into our heads in library
school that provenance is one of the bits of information you simply do
not discard if you are a responsible content manager. But that's
between you and your librarians. The licensing issue strikes me as
more urgent.

I think, alongside others in this thread, that the fix may be doing
something more responsible with provenance/history information than
leaving it in an (editable! easily falsifiable!) Dublin Core field.
(I'd rather see it go into a separate table in the database, though I
suspect that's a temporary fix at best.) The problems noted about
exposing email addresses only strengthen this sense.

Dorothea

-- 
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Achieving security by obscurity

2008-07-09 Thread Dorothea Salo
 I could be wrong about this and welcome correction, but I don't think
 depositor information on an item is stored anyplace but the provenance
 field. (The system does know who has add/remove/change rights on the
 said item, but that's not necessarily the same thing.) This means that
 if you remove DC provenance, *you don't know who clicked through the
 license*. Somebody check me on this, please?

Never mind, I'm wrong. There's a submitter_id in the item table.

Dorothea

-- 
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Translation to Submit Form is still not applied

2008-07-09 Thread SUZUKI Keiji
Hi Robert,

I  have succeeded to make input_form in JSPUI to i18n with
the attached patches.

I hope it helps you. Thank you.

Keiji Suzuki
[EMAIL PROTECTED]

2008/7/9 Claudia Jürgen [EMAIL PROTECTED]:
 Hi Robert,

 I did not investigate the changes along with the Customizable Submission
 Interface (CSS) closely, I'll take a look as soon as I find some time.

 Claudia


 Robert Roggenbuck schrieb:
 Oops...

 so, is it a matter of reformulating CSS or hacking Java / JSP? Is it a
 big thing to do? Will this be fixed in 1.5.1?

 Greetings

 Robert


 Claudia Jürgen schrieb:
 Hi all,

 the introduction of CSS removed the i18n of the submission, so at the
 moment the input-form is not selected based on your language settings.

 cheers

 Claudia


 Robert Roggenbuck schrieb:
 Hi Mikel,

 I did not solved the problem complete, but I had some success:

 1. My 'ant init_configs' does not copy all files in the main
 directory of DSpace. I must copy the input-forms*.xml manually.

 2. To get the right forms selected You have to mention them in the
 workflow configuration item-submission.xml .

 Now my modified input form is used - but still only the English
 version :-(

 Sorry for no further help - until now. Did You succeed in the meantime?

 Greetings

 Robert

 PS: In my case it's DSpace 1.5 and jspu too.

 ---

 Mikel Nin schrieb:
 Hi Robert,



 I'm having the same problem with the Spanish version of
 input-forms.xml.
 Although I have a Spanish version of input-forms.xml
 (input-forms_eu.xml)
 and default.license (default_es.license), both of them still
 continue in
 English. Did you managed to make it run properly?



 Greetings



 Mikel




 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


Index: dspace-api/src/main/java/org/dspace/submit/step/DescribeStep.java
===
--- dspace-api/src/main/java/org/dspace/submit/step/DescribeStep.java	(revision 169)
+++ dspace-api/src/main/java/org/dspace/submit/step/DescribeStep.java	(revision 170)
@@ -43,6 +43,7 @@
 import java.sql.SQLException;
 import java.util.LinkedList;
 import java.util.List;
+import java.util.Locale;
 
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
@@ -63,6 +64,7 @@
 import org.dspace.content.Item;
 import org.dspace.content.MetadataField;
 import org.dspace.core.Context;
+import org.dspace.core.I18nUtil;
 import org.dspace.submit.AbstractProcessingStep;
 
 /**
@@ -88,8 +90,11 @@
 private static Logger log = Logger.getLogger(DescribeStep.class);
 
 /** hash of all submission forms details */
-private static DCInputsReader inputsReader;
+private static DCInputsReader inputsReader = null;
 
+/** locale  */
+private static Locale langForm = null;
+
 /***
  * STATUS / ERROR FLAGS (returned by doProcessing() if an error occurs or
  * additional user interaction may be required)
@@ -346,9 +351,30 @@
 }
 
 /**
+ * @param context
+ *  The current context
  * 
  * @return the current DCInputsReader
  */
+public static DCInputsReader getInputsReader(Context context) throws ServletException
+{
+	Locale locale = context.getCurrentLocale();
+	
+// load inputsReader only the first time
+if ((inputsReader == null) || (langForm == null) || !langForm.equals(locale))
+{
+// read configurable submissions forms data
+inputsReader = new DCInputsReader(I18nUtil.getInputFormsFileName(locale));
+	langForm = locale;
+}
+
+return inputsReader;
+}
+
+/**
+ * 
+ * @return the current DCInputsReader
+ */
 public static DCInputsReader getInputsReader() throws ServletException
 {
 // load inputsReader only the first time
Index: dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/submit/step/JSPDescribeStep.java
===
--- dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/submit/step/JSPDescribeStep.java	(revision 169)
+++ dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/submit/step/JSPDescribeStep.java	(revision 170)
@@ -232,7 +232,7 @@
 Collection c = subInfo.getSubmissionItem().getCollection();
 
 // requires configurable form info per collection
-request.setAttribute(submission.inputs, 

Re: [Dspace-tech] Duplicating a Group (update)

2008-07-09 Thread George Kozak
Hi...

Well, I solved my own problem ;-)

I created a perl script that uses SQL commands to create a flat file 
with the data from the group that I was interested in and then 
created another script to re-insert the changes.  So, this can be 
considered closed.
***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED]


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech