[Dspace-tech] Connecting Dspace to Exchange server

2008-09-03 Thread Michael Guthrie
 
Hi all,

I have a dspace instance running on a Linux server in an intranet
environment. We have our mail on an exchange server. What is the best
way to hook up the mail function in dspace to the exchange or mail out
functions in the system?

Thanks


Michael Guthrie
IT Officer - Sea Your History
www.seayourhistory.org.uk
Royal Naval Museum 
Registered Charity 266563 
Tel: 023 927 27576
[EMAIL PROTECTED] 
www.royalnavalmuseum.org 

The Museum's Mission is To make accessible to all the story of the
Royal Navy and its people from earliest times to the present
Our special exhibition Sea Your History - the C20th Royal Navy is now
open and runs throughout 2008/09.  See also the related website at
www.seayourhistory.org.uk 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] question Manakin?

2008-09-03 Thread Zaya Kh
Hello all,
I installed Manakin, But I don't login in Login page
 This page is error.
what should I do?
 help me?
Thanks
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Configuring the Browse List

2008-09-03 Thread George Hamilton
Hi

I want to change what metadata fields are displayed in the browse and 
search list.  The documentation is rather divided on how to do it.  The 
current documentation (1.5.1 beta), and that delivered with 1.5.0, 
suggest the browse indices should be configured as:

webui.browse.index.n = index name : \
   schema prefix.element[.qualifier|.*] : \
   (date | title | text) : \
   (full | single) \

where if full is specified you can use |webui.itemlist.columns| for 
defining what metadata fields to display for your item.

This is does not match the documentation in dspace.cfg (or the code).  
It suggests using:

webui.browse.index.n = index name : metadata : \
schema prefix.element[.qualifier|.*] : \
(date | title | text) : (asc | desc)

or

webui.browse.index.n = index name : item : sort option name : (asc 
| desc)

Its seems that the 1.5.0 code base agrees with the dspace.cfg 
documentation.  However, I cannot get my configuration to work.  If I have:

webui.browse.index.3 = title:item:title
webui.itemlist.columns = dc.title, dc.format

configured, I would expect to see the title and format displayed for 
each item in the browse list.  I still see the default metadata for the 
item.

I'm using the 1.5.0 XMLUI.

George

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Week 3: Good Repository Software

2008-09-03 Thread Mark H. Wood
Lots of folks are better positioned than I to describe excellence in
document repository software from the end-user or content-administrator
or organizational-administrator POV, so I'll confine my comments to
the operational and information-architecture POV.

o  Leverages the organization's existing authentication and identity
   systems.  DSpace has been getting better at the former, still shows
   room for improvement in the latter.  (Example:  when registering a
   user authenticated through LDAP, there's no need to store locator
   info. such as a phone number or email address, because we can just
   fetch those from the directory when asked, and if we *do* store
   them then the data become stale over time.)

o  Instrumented for monitoring and maintenance.  This goes beyond
   statistics.  Example: I want to build an application-level backup
   system under DSpace so that we can fan out several dead-storage
   copies of new acquisitions *once* rather than backing up terabytes
   of static files every week forever.  To do that, my gadget needs to
   know when a new item comes in and how to identify it.

o  Configurable without rebuilding.  I think the current setup process
   knows too much about deployment issues.  DSpace is atypically good
   in this respect among the Java app.s I've seen, but I'd like to see
   even better decoupling between build time and runtime.  (I haven't
   yet spent enough time with 1.5 to say how much the situation has
   improved there.)

o  Routine operational procedures should be completely automatable.
   Any operation which requires a sysadmin. to sit at a console and
   click buttons is a manual process.  There should be no manual
   processes required for any repetitive task.  (This isn't speaking
   about content ingestion, which is a creative activity and *should*
   be hands-on.)  DSpace is good here -- I just want to keep it that
   way.

o  User functions exposed programmatically.  The repository should be
   usable by machines, not just humans.  Someone is going to come up
   with a use for our pool of documents which is quite unlike anything
   we've imagined, and he should be able to just use the documents
   and/or metadata without going up to his elbows into DSpace code.

Abstracting a bit, I think a repo. should be well fitted to serve as a
component in the organization's information architecture, not just an
isolated tool.  It should use other components which are useful and
strive to be useful to other components.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he
means the exact opposite.



pgpzWdmyKyzOE.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Connecting Dspace to Exchange server

2008-09-03 Thread Reuben Pasquini
Hi Michael,

The exchange server most likely provides a 
SMTP (simple mail transfer protocol) service on your intranet
(dspace uses SMTP to send e-mail, and so do most e-mail clients),
so you can probably just set the mail.server setting in dspace.cfg
to the normal SMTP setting (mail.RoyalNavalMuseum.org or whatever)
that any e-mail client would use to send e-mail.  The exchange admin
will know that host-name.

mail.server=smtp.RoyalNavalMuseum.org

Something like that.

Good luck!
Reuben
 

 Michael Guthrie [EMAIL PROTECTED] 9/3/2008
4:59 AM 

Hi all,

I have a dspace instance running on a Linux server in an intranet
environment. We have our mail on an exchange server. What is the best
way to hook up the mail function in dspace to the exchange or mail out
functions in the system?

Thanks


Michael Guthrie
IT Officer - Sea Your History
www.seayourhistory.org.uk 
Royal Naval Museum 
Registered Charity 266563 
Tel: 023 927 27576
[EMAIL PROTECTED] 
www.royalnavalmuseum.org 

The Museum's Mission is To make accessible to all the story of the
Royal Navy and its people from earliest times to the present
Our special exhibition Sea Your History - the C20th Royal Navy is now
open and runs throughout 2008/09.  See also the related website at
www.seayourhistory.org.uk 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/ 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Chat in one hour

2008-09-03 Thread Dorothea Salo
By now you know the drill: irc.freenode.net, #dspace, one hour from
now, to last one hour.

I want to emphasize that there are no right or wrong answers to this
week's question -- just different answers, and it's worthwhile to
surface as many as we can.

Thanks, all!

Dorothea

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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Week 3: Good Repository Software

2008-09-03 Thread Mark H. Wood
*sigh*  following up my own post. *sigh*

I feel that good software should try not to do too much outside of its
core competencies.  This is why I keep whining about components.  The
more unrelated features you try to bind together, the fewer users will
find your solution a good fit to their problems.

A good solution to a large complex problem often boils down to a
collection of solutions to small, organic problems, a collection
well-chosen by the user or the organization, and different for
different users/organizations.  Components which each handle one
agreed-upon problem well and which are easy to bind together make this
approach workable.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he
means the exact opposite.



pgpuhJcQDXskg.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Blanco, Jose
I would like to remove the 1st step from the submission.  I have already
taken care of the title and publisher questions that appear in the 1st
step, and I would like now to have it assume that there are multiple
files for the submission.  I think that the easiest way to do this is to
call the WorkspaceItem.setMultiplefiles method with true, but I'm not
sure from where, since it's normally called when the initial questions
page is processed.  Any ideas?

Thanks!
Jose

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Tim Donohue

Jose,

We created a custom invisible step in our DSpace 1.5 Submission 
process, in order to set some defaults and remove that 1st Initial 
Questions step.  I've attached our InitializationStep.java to this 
email, for your usage/modification (and for anyone else interested). 
Once you have the source code in place, you should be able to enable it 
in your item-submission.xml with the following:


step 
processing-classedu.uiuc.dspace.submit.step.InitializationStep/processing-class

workflow-editablefalse/workflow-editable
/step

(Obviously, don't forget to remove or comment out the configuration for 
the InitialQuestionsStep in your item-submission.xml)


Yes, I need to writeup a simple little How-To on the DSpace Wiki for 
this one.  But, until then, I thought I'd just send this out via the list :)


- Tim


Blanco, Jose wrote:

I would like to remove the 1st step from the submission.  I have already
taken care of the title and publisher questions that appear in the 1st
step, and I would like now to have it assume that there are multiple
files for the submission.  I think that the easiest way to do this is to
call the WorkspaceItem.setMultiplefiles method with true, but I'm not
sure from where, since it's normally called when the initial questions
page is processed.  Any ideas?

Thanks!
Jose

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
University of Illinois at Urbana-Champaign
[EMAIL PROTECTED] | (217) 333-4648
/*
 * InitializationStep.java
 *
 * Version: $Revision$
 *
 * Date: $Date$
 *
 * Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts
 * Institute of Technology.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 * - Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 *
 * - Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 *
 * - Neither the name of the Hewlett-Packard Company nor the name of the
 * Massachusetts Institute of Technology nor the names of their
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 * DAMAGE.
 */
package edu.uiuc.dspace.submit.step;

import java.io.IOException;
import java.sql.SQLException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import org.dspace.app.util.SubmissionInfo;
import org.dspace.authorize.AuthorizeException;
import org.dspace.core.Context;

import org.dspace.submit.AbstractProcessingStep;

/**
 * This non-interactive step just sets the default values for the 
 * Initial Questions to those for UIUC.
 * 
 * @see org.dspace.submit.AbstractProcessingStep
 * 
 * @author Tim Donohue
 * @version $Revision$
 */
public class InitializationStep extends AbstractProcessingStep
{

/** log4j logger */
private static Logger log = Logger.getLogger(InitializationStep.class);

/**
 * Do any processing of the information input by the user, and/or perform
 * step processing (if no user interaction required)
 * P
 * It is this method's job to save any data to the underlying database, as
 * necessary, and return error messages (if any) which can then be processed
 * by the doPostProcessing() method.
 * 

Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Blanco, Jose
Tim:

I put the file in 
dspace-api/src/main/java/org/dspace/submit/step/

I configured the file like this:

  step

processing-classorg.dspace.submit.step.InitializationStep/processing-
class
workflow-editablefalse/workflow-editable
  /step

But I'm getting this error:

2008-09-03 12:14:57,076 ERROR
org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.InitializationStep':
java.lang.ClassNotFoundException:
org.dspace.submit.step.InitializationStep
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1363)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1209)
at
org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
124)
at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionContr
oller.jav 

-Original Message-
From: Tim Donohue [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2008 10:50 AM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Removing the 1st step from submission.

Jose,

We created a custom invisible step in our DSpace 1.5 Submission
process, in order to set some defaults and remove that 1st Initial
Questions step.  I've attached our InitializationStep.java to this
email, for your usage/modification (and for anyone else interested). 
Once you have the source code in place, you should be able to enable it
in your item-submission.xml with the following:

step
processing-classedu.uiuc.dspace.submit.step.InitializationStep/proces
sing-class
workflow-editablefalse/workflow-editable
/step

(Obviously, don't forget to remove or comment out the configuration for
the InitialQuestionsStep in your item-submission.xml)

Yes, I need to writeup a simple little How-To on the DSpace Wiki for
this one.  But, until then, I thought I'd just send this out via the
list :)

- Tim


Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear in

 the 1st step, and I would like now to have it assume that there are 
 multiple files for the submission.  I think that the easiest way to do

 this is to call the WorkspaceItem.setMultiplefiles method with true, 
 but I'm not sure from where, since it's normally called when the 
 initial questions page is processed.  Any ideas?
 
 Thanks!
 Jose
 
 --
 --- This SF.Net email is sponsored by the Moblin Your Move Developer's

 challenge Build the coolest Linux based applications with Moblin SDK 

 win great prizes Grand prize is a trip for two to an Open Source event

 anywhere in the world 
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 

--
Tim Donohue
Research Programmer, Illinois Digital Environment for Access to Learning
and Scholarship (IDEALS) University of Illinois at Urbana-Champaign
[EMAIL PROTECTED] | (217) 333-4648

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Tim Donohue
Jose,

It looks like you didn't rebuild everything properly. The error is 
saying that it cannot find that new Java class.  Generally, you should 
be doing the following:

(1) Place that file in 
dspace-api/src/main/java/org/dspace/submit/step/.   Alternatively, if 
you didn't have the 'dspace-api' source checked out, you could place it 
in 
[dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/step/ 
(the latter path just adds the java code to the overlay for your XMLUI 
ONLY!)

(2) Re-package via Maven:
mvn package

(3) Re-Install updated JAR/WAR to your installation location:
cd /dspace/target/dspace-1.5.0-build.dir/
ant update

(4) Copy over the updated item-submission.xml to your installation 
directory (i.e. [dspace]/config/item-submission.xml)

(5) Restart Tomcat  (Don't forget to copy new WAR over to Tomcat 
/webapps, before you restart.)

I hope that helps...

- Tim


Blanco, Jose wrote:
 Tim:
 
 I put the file in 
 dspace-api/src/main/java/org/dspace/submit/step/
 
 I configured the file like this:
 
   step
   
 processing-classorg.dspace.submit.step.InitializationStep/processing-
 class
   workflow-editablefalse/workflow-editable
   /step
 
 But I'm getting this error:
 
 2008-09-03 12:14:57,076 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.ClassNotFoundException:
 org.dspace.submit.step.InitializationStep
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
 .java:1363)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
 .java:1209)
 at
 org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 124)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionContr
 oller.jav 
 
 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 03, 2008 10:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.
 
 Jose,
 
 We created a custom invisible step in our DSpace 1.5 Submission
 process, in order to set some defaults and remove that 1st Initial
 Questions step.  I've attached our InitializationStep.java to this
 email, for your usage/modification (and for anyone else interested). 
 Once you have the source code in place, you should be able to enable it
 in your item-submission.xml with the following:
 
 step
 processing-classedu.uiuc.dspace.submit.step.InitializationStep/proces
 sing-class
 workflow-editablefalse/workflow-editable
 /step
 
 (Obviously, don't forget to remove or comment out the configuration for
 the InitialQuestionsStep in your item-submission.xml)
 
 Yes, I need to writeup a simple little How-To on the DSpace Wiki for
 this one.  But, until then, I thought I'd just send this out via the
 list :)
 
 - Tim
 
 
 Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear in
 
 the 1st step, and I would like now to have it assume that there are 
 multiple files for the submission.  I think that the easiest way to do
 
 this is to call the WorkspaceItem.setMultiplefiles method with true, 
 but I'm not sure from where, since it's normally called when the 
 initial questions page is processed.  Any ideas?

 Thanks!
 Jose

 --
 --- This SF.Net email is sponsored by the Moblin Your Move Developer's
 
 challenge Build the coolest Linux based applications with Moblin SDK 
 
 win great prizes Grand prize is a trip for two to an Open Source event
 
 anywhere in the world 
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 
 --
 Tim Donohue
 Research Programmer, Illinois Digital Environment for Access to Learning
 and Scholarship (IDEALS) University of Illinois at Urbana-Champaign
 [EMAIL PROTECTED] | (217) 333-4648
 

-- 
Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
University of Illinois at Urbana-Champaign
[EMAIL PROTECTED] | (217) 333-4648

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Blanco, Jose
Tim:

I had 

package edu.uiuc.dspace.submit.step;

In the file instead of

org.dspace.submit.step;

Thank you!
Jose 

-Original Message-
From: Tim Donohue [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2008 12:29 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Removing the 1st step from submission.

Jose,

It looks like you didn't rebuild everything properly. The error is
saying that it cannot find that new Java class.  Generally, you should
be doing the following:

(1) Place that file in 
dspace-api/src/main/java/org/dspace/submit/step/.   Alternatively, if 
you didn't have the 'dspace-api' source checked out, you could place it
in
[dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/step/
 
(the latter path just adds the java code to the overlay for your XMLUI
ONLY!)

(2) Re-package via Maven:
mvn package

(3) Re-Install updated JAR/WAR to your installation location:
cd /dspace/target/dspace-1.5.0-build.dir/
ant update

(4) Copy over the updated item-submission.xml to your installation
directory (i.e. [dspace]/config/item-submission.xml)

(5) Restart Tomcat  (Don't forget to copy new WAR over to Tomcat
/webapps, before you restart.)

I hope that helps...

- Tim


Blanco, Jose wrote:
 Tim:
 
 I put the file in
 dspace-api/src/main/java/org/dspace/submit/step/
 
 I configured the file like this:
 
   step
   
 processing-classorg.dspace.submit.step.InitializationStep/processin
 g-
 class
   workflow-editablefalse/workflow-editable
   /step
 
 But I'm getting this error:
 
 2008-09-03 12:14:57,076 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.ClassNotFoundException:
 org.dspace.submit.step.InitializationStep
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1363)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1209)
 at

org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 124)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionCon
 tr
 oller.jav
 
 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2008 10:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.
 
 Jose,
 
 We created a custom invisible step in our DSpace 1.5 Submission 
 process, in order to set some defaults and remove that 1st Initial 
 Questions step.  I've attached our InitializationStep.java to this 
 email, for your usage/modification (and for anyone else interested).
 Once you have the source code in place, you should be able to enable 
 it in your item-submission.xml with the following:
 
 step
 processing-classedu.uiuc.dspace.submit.step.InitializationStep/proc
 es
 sing-class
 workflow-editablefalse/workflow-editable
 /step
 
 (Obviously, don't forget to remove or comment out the configuration 
 for the InitialQuestionsStep in your item-submission.xml)
 
 Yes, I need to writeup a simple little How-To on the DSpace Wiki for

 this one.  But, until then, I thought I'd just send this out via the 
 list :)
 
 - Tim
 
 
 Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear 
 in
 
 the 1st step, and I would like now to have it assume that there are 
 multiple files for the submission.  I think that the easiest way to 
 do
 
 this is to call the WorkspaceItem.setMultiplefiles method with true, 
 but I'm not sure from where, since it's normally called when the 
 initial questions page is processed.  Any ideas?

 Thanks!
 Jose

 -
 -
 --- This SF.Net email is sponsored by the Moblin Your Move 
 Developer's
 
 challenge Build the coolest Linux based applications with Moblin SDK 
 
 
 win great prizes Grand prize is a trip for two to an Open Source 
 event
 
 anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 
 --
 Tim Donohue
 Research Programmer, Illinois Digital Environment for Access to 
 Learning and Scholarship (IDEALS) University of Illinois at 
 Urbana-Champaign [EMAIL PROTECTED] | (217) 333-4648
 

--
Tim Donohue
Research Programmer, Illinois Digital Environment for Access to Learning
and Scholarship (IDEALS) University of Illinois at Urbana-Champaign
[EMAIL PROTECTED] | (217) 333-4648

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand 

Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Blanco, Jose
Tim:

I'm getting a different error now:

2008-09-03 13:27:50,426 ERROR
org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.InitializationStep':
java.lang.NullPointerException
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1278)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1209)
at
org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
145)
at org.dspace.app.webui.servlet.SubmissionC 

-Original Message-
From: Tim Donohue [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2008 12:29 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Removing the 1st step from submission.

Jose,

It looks like you didn't rebuild everything properly. The error is
saying that it cannot find that new Java class.  Generally, you should
be doing the following:

(1) Place that file in 
dspace-api/src/main/java/org/dspace/submit/step/.   Alternatively, if 
you didn't have the 'dspace-api' source checked out, you could place it
in
[dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/step/
 
(the latter path just adds the java code to the overlay for your XMLUI
ONLY!)

(2) Re-package via Maven:
mvn package

(3) Re-Install updated JAR/WAR to your installation location:
cd /dspace/target/dspace-1.5.0-build.dir/
ant update

(4) Copy over the updated item-submission.xml to your installation
directory (i.e. [dspace]/config/item-submission.xml)

(5) Restart Tomcat  (Don't forget to copy new WAR over to Tomcat
/webapps, before you restart.)

I hope that helps...

- Tim


Blanco, Jose wrote:
 Tim:
 
 I put the file in
 dspace-api/src/main/java/org/dspace/submit/step/
 
 I configured the file like this:
 
   step
   
 processing-classorg.dspace.submit.step.InitializationStep/processin
 g-
 class
   workflow-editablefalse/workflow-editable
   /step
 
 But I'm getting this error:
 
 2008-09-03 12:14:57,076 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.ClassNotFoundException:
 org.dspace.submit.step.InitializationStep
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1363)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1209)
 at

org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 124)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionCon
 tr
 oller.jav
 
 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2008 10:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.
 
 Jose,
 
 We created a custom invisible step in our DSpace 1.5 Submission 
 process, in order to set some defaults and remove that 1st Initial 
 Questions step.  I've attached our InitializationStep.java to this 
 email, for your usage/modification (and for anyone else interested).
 Once you have the source code in place, you should be able to enable 
 it in your item-submission.xml with the following:
 
 step
 processing-classedu.uiuc.dspace.submit.step.InitializationStep/proc
 es
 sing-class
 workflow-editablefalse/workflow-editable
 /step
 
 (Obviously, don't forget to remove or comment out the configuration 
 for the InitialQuestionsStep in your item-submission.xml)
 
 Yes, I need to writeup a simple little How-To on the DSpace Wiki for

 this one.  But, until then, I thought I'd just send this out via the 
 list :)
 
 - Tim
 
 
 Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear 
 in
 
 the 1st step, and I would like now to have it assume that there are 
 multiple files for the submission.  I think that the easiest way to 
 do
 
 this is to call the WorkspaceItem.setMultiplefiles method with true, 
 but I'm not sure from where, since it's normally called when the 
 initial questions page is processed.  Any ideas?

 Thanks!
 Jose

 -
 -
 --- This SF.Net email is sponsored by the Moblin Your Move 
 Developer's
 
 challenge Build the coolest Linux based applications with Moblin SDK 
 
 
 win great prizes Grand prize is a trip for two to an Open Source 
 event
 
 anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 
 --
 Tim Donohue
 Research Programmer, Illinois 

Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Susan Parham
Thanks for sharing this Tim, as it is something we hope to do soon!

Susan




-- 
Susan Wells Parham
Head, Digital Library Development
Georgia Institute of Technology
Library  Information Center
404-894-4522
[EMAIL PROTECTED]

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Tim Donohue
Jose,

It looks like there *may* be a bug in the 1.5.0 JSPUI regarding these 
non-interactive steps...though I haven't been able to look at it close 
enough to be 100% sure.  The InitializationStep I sent you works fine 
with the XMLUI (which is what I'm working with).  I'll look into the 
problems with the JSPUI, though I may not get to it till tomorrow.

I'll let you know what I find out.

- Tim

Blanco, Jose wrote:
 Tim:
 
 I'm getting a different error now:
 
 2008-09-03 13:27:50,426 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.NullPointerException
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:269)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
 .java:1278)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
 .java:1209)
 at
 org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 145)
 at org.dspace.app.webui.servlet.SubmissionC 
 
 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 03, 2008 12:29 PM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.
 
 Jose,
 
 It looks like you didn't rebuild everything properly. The error is
 saying that it cannot find that new Java class.  Generally, you should
 be doing the following:
 
 (1) Place that file in 
 dspace-api/src/main/java/org/dspace/submit/step/.   Alternatively, if 
 you didn't have the 'dspace-api' source checked out, you could place it
 in
 [dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/step/
  
 (the latter path just adds the java code to the overlay for your XMLUI
 ONLY!)
 
 (2) Re-package via Maven:
 mvn package
 
 (3) Re-Install updated JAR/WAR to your installation location:
 cd /dspace/target/dspace-1.5.0-build.dir/
 ant update
 
 (4) Copy over the updated item-submission.xml to your installation
 directory (i.e. [dspace]/config/item-submission.xml)
 
 (5) Restart Tomcat  (Don't forget to copy new WAR over to Tomcat
 /webapps, before you restart.)
 
 I hope that helps...
 
 - Tim
 
 
 Blanco, Jose wrote:
 Tim:

 I put the file in
 dspace-api/src/main/java/org/dspace/submit/step/

 I configured the file like this:

   step
  
 processing-classorg.dspace.submit.step.InitializationStep/processin
 g-
 class
  workflow-editablefalse/workflow-editable
   /step

 But I'm getting this error:

 2008-09-03 12:14:57,076 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.ClassNotFoundException:
 org.dspace.submit.step.InitializationStep
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1363)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1209)
 at

 org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 124)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionCon
 tr
 oller.jav

 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2008 10:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.

 Jose,

 We created a custom invisible step in our DSpace 1.5 Submission 
 process, in order to set some defaults and remove that 1st Initial 
 Questions step.  I've attached our InitializationStep.java to this 
 email, for your usage/modification (and for anyone else interested).
 Once you have the source code in place, you should be able to enable 
 it in your item-submission.xml with the following:

 step
 processing-classedu.uiuc.dspace.submit.step.InitializationStep/proc
 es
 sing-class
 workflow-editablefalse/workflow-editable
 /step

 (Obviously, don't forget to remove or comment out the configuration 
 for the InitialQuestionsStep in your item-submission.xml)

 Yes, I need to writeup a simple little How-To on the DSpace Wiki for
 
 this one.  But, until then, I thought I'd just send this out via the 
 list :)

 - Tim


 Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear 
 in
 the 1st step, and I would like now to have it assume that there are 
 multiple files for the submission.  I think that the easiest way to 
 do
 this is to call the WorkspaceItem.setMultiplefiles method with true, 
 but I'm not sure from where, since it's normally called when the 
 initial questions page is processed.  Any ideas?

 Thanks!
 Jose

 -
 -
 --- This SF.Net email is sponsored by the Moblin Your Move 
 

Re: [Dspace-tech] Removing the 1st step from submission.

2008-09-03 Thread Blanco, Jose
Thank you! 

-Original Message-
From: Tim Donohue [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2008 2:16 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Removing the 1st step from submission.

Jose,

It looks like there *may* be a bug in the 1.5.0 JSPUI regarding these
non-interactive steps...though I haven't been able to look at it close
enough to be 100% sure.  The InitializationStep I sent you works fine
with the XMLUI (which is what I'm working with).  I'll look into the
problems with the JSPUI, though I may not get to it till tomorrow.

I'll let you know what I find out.

- Tim

Blanco, Jose wrote:
 Tim:
 
 I'm getting a different error now:
 
 2008-09-03 13:27:50,426 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.NullPointerException
 at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:269)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1278)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoad
 er
 .java:1209)
 at

org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 145)
 at org.dspace.app.webui.servlet.SubmissionC
 
 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2008 12:29 PM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.
 
 Jose,
 
 It looks like you didn't rebuild everything properly. The error is 
 saying that it cannot find that new Java class.  Generally, you should

 be doing the following:
 
 (1) Place that file in 
 dspace-api/src/main/java/org/dspace/submit/step/.   Alternatively,
if 
 you didn't have the 'dspace-api' source checked out, you could place 
 it in 
 [dspace-src]/dspace/modules/xmlui/src/main/java/org/dspace/submit/ste
 p/
  
 (the latter path just adds the java code to the overlay for your 
 XMLUI
 ONLY!)
 
 (2) Re-package via Maven:
 mvn package
 
 (3) Re-Install updated JAR/WAR to your installation location:
 cd /dspace/target/dspace-1.5.0-build.dir/
 ant update
 
 (4) Copy over the updated item-submission.xml to your installation 
 directory (i.e. [dspace]/config/item-submission.xml)
 
 (5) Restart Tomcat  (Don't forget to copy new WAR over to Tomcat 
 /webapps, before you restart.)
 
 I hope that helps...
 
 - Tim
 
 
 Blanco, Jose wrote:
 Tim:

 I put the file in
 dspace-api/src/main/java/org/dspace/submit/step/

 I configured the file like this:

   step
  
 processing-classorg.dspace.submit.step.InitializationStep/processi
 n
 g-
 class
  workflow-editablefalse/workflow-editable
   /step

 But I'm getting this error:

 2008-09-03 12:14:57,076 ERROR
 org.dspace.app.webui.servlet.SubmissionController @ Error loading 
 step
 class'org.dspace.submit.step.InitializationStep':
 java.lang.ClassNotFoundException:
 org.dspace.submit.step.InitializationStep
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
 d
 er
 .java:1363)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
 d
 er
 .java:1209)
 at


org.dspace.app.webui.submit.JSPStepManager.loadStep(JSPStepManager.java:
 124)
 at
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionCo
 n
 tr
 oller.jav

 -Original Message-
 From: Tim Donohue [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2008 10:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Removing the 1st step from submission.

 Jose,

 We created a custom invisible step in our DSpace 1.5 Submission 
 process, in order to set some defaults and remove that 1st Initial 
 Questions step.  I've attached our InitializationStep.java to this 
 email, for your usage/modification (and for anyone else interested).
 Once you have the source code in place, you should be able to enable 
 it in your item-submission.xml with the following:

 step
 processing-classedu.uiuc.dspace.submit.step.InitializationStep/pro
 c
 es
 sing-class
 workflow-editablefalse/workflow-editable
 /step

 (Obviously, don't forget to remove or comment out the configuration 
 for the InitialQuestionsStep in your item-submission.xml)

 Yes, I need to writeup a simple little How-To on the DSpace Wiki 
 for
 
 this one.  But, until then, I thought I'd just send this out via the 
 list :)

 - Tim


 Blanco, Jose wrote:
 I would like to remove the 1st step from the submission.  I have 
 already taken care of the title and publisher questions that appear 
 in the 1st step, and I would like now to have it assume that there 
 are multiple files for the submission.  I think that the easiest way

 to do this is to call the WorkspaceItem.setMultiplefiles method with

 true,