Re: [Dspace-tech] Import tool: How to set primary bitstream

2009-04-27 Thread Stuart Lewis
Hi Álvaro,

This feature has now been added into Dspace ready for the 1.6.0 release. If you 
are running a 1.5.x version of DSpace, you can probably replace your current 
item importer code with the new code to get this feature:

Replace 
[dspace-src]/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java 
with the new version from:

http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java

In the 'contents' file you can then add a 'tabprimary:true' to set a 
bitstream to be the primary bitstream.

E.g.:

file.pdfbundle:ORIGINAL primary:truedescription:File description

or just

file.pdfprimary:true

(Note - there must be tabs between the elements in each line in the contents 
file)

Thanks,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/




-Original Message-
From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: Friday, 24 April 2009 8:55 a.m.
To: Alvaro Sandoval; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Import tool: How to set primary bitstream

Hi Álvaro,

At present the import command does not support this. I have registered this as 
a feature request in our issue tracking software JIRA 
(http://jira.dspace.org/). Hopefully this issue can be addressed soon.

http://jira.dspace.org/jira/browse/DS-195 - Allow the primary bitstream to be 
set in the item importer

Thanks,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



-Original Message-
From: Alvaro Sandoval [mailto:alsando...@bcn.cl] 
Sent: Friday, 24 April 2009 1:06 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Import tool: How to set primary bitstream


Hi all:
I am importing more than one file per item using the [dspace]/bin/import
tool.
I wonder how can I set one of them as primary bitstream. I know that it can
be done using the UI, but I rather prefer use some automatic procedure.
Does anyone know how to set it?

Thanks in advance,
Álvaro Sandoval
BCN, Biblioteca del Congreso Nacional
Servicios Digitales. Ingeniería y Desarrollo
Fono: (56-32) 226 3981. Fax: (56-32) 226 3973
www.bcn.cl

-- 
View this message in context: 
http://www.nabble.com/Import-tool%3A-How-to-set-primary-bitstream-tp23196493p23196493.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Import tool: How to set primary bitstream

2009-04-23 Thread Alvaro Sandoval

Hi all:
I am importing more than one file per item using the [dspace]/bin/import
tool.
I wonder how can I set one of them as primary bitstream. I know that it can
be done using the UI, but I rather prefer use some automatic procedure.
Does anyone know how to set it?

Thanks in advance,
Álvaro Sandoval
BCN, Biblioteca del Congreso Nacional
Servicios Digitales. Ingeniería y Desarrollo
Fono: (56-32) 226 3981. Fax: (56-32) 226 3973
www.bcn.cl

-- 
View this message in context: 
http://www.nabble.com/Import-tool%3A-How-to-set-primary-bitstream-tp23196493p23196493.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Import tool: How to set primary bitstream

2009-04-23 Thread Stuart Lewis
Hi Álvaro,

At present the import command does not support this. I have registered this as 
a feature request in our issue tracking software JIRA 
(http://jira.dspace.org/). Hopefully this issue can be addressed soon.

http://jira.dspace.org/jira/browse/DS-195 - Allow the primary bitstream to be 
set in the item importer

Thanks,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



-Original Message-
From: Alvaro Sandoval [mailto:alsando...@bcn.cl] 
Sent: Friday, 24 April 2009 1:06 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Import tool: How to set primary bitstream


Hi all:
I am importing more than one file per item using the [dspace]/bin/import
tool.
I wonder how can I set one of them as primary bitstream. I know that it can
be done using the UI, but I rather prefer use some automatic procedure.
Does anyone know how to set it?

Thanks in advance,
Álvaro Sandoval
BCN, Biblioteca del Congreso Nacional
Servicios Digitales. Ingeniería y Desarrollo
Fono: (56-32) 226 3981. Fax: (56-32) 226 3973
www.bcn.cl

-- 
View this message in context: 
http://www.nabble.com/Import-tool%3A-How-to-set-primary-bitstream-tp23196493p23196493.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech