[Dspace-tech] A doubt with batch importer

2008-04-02 Thread Germán Cuéllar

Hi guys!


I'm proving the batch importer tool with several files, but I supose 
that my dublin_core.xml file is not well configured because the command 
/dsrun/ returns this:



***Test Run** - not actually importing items.
Destination collections:
Owning  Collection: Coleccion de pruebas 1
Adding items from directory: ../Paquete1
Generating mapfile: ../mapfile
Adding item from directory Item1
   Loading dublin core from ../Paquete1/Item1/dublin_core.xml
   Schema: dc Element: title Qualifier: none Value: Item de prueba 1
   Schema: dc Element: date Qualifier: issued Value: 2008
   Schema: dc Element: title Qualifier: alternate Value: ble ble ble
   Processing contents file: ../Paquete1/Item1/contents
   Bitstream: cyberpunk.pdf
   Bitstream: mitologia_fedro_platon.pdf
   Bitstream: mitologia.pdf
Processing handle file: handle
It appears there is no handle file -- generating one
0 Item1
Adding item from directory Item2
   Loading dublin core from ../Paquete1/Item2/dublin_core.xml
   Schema: dc Element: title Qualifier: none Value: La segunda 
importacion

   Schema: dc Element: date Qualifier: issued Value: 2009
   Schema: dc Element: title Qualifier: alternate Value: bla bla bla
   Processing contents file: ../Paquete1/Item2/contents
   Bitstream: arquitectura_consolas.pdf
   Bitstream: guerra_consolas.pdf
Processing handle file: handle
It appears there is no handle file -- generating one
1 Item2
***End of Test Run



   * The command that I write (the ePerson and collectionID exist on
 database):

/*./dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] 
-c *1* -s *../Paquete1* -m *../mapfile* --test


*/

   * The dublin_core.xml file on each item directory has this structure
 (same that the example in the web documentation):

On Item1 directory:

*dublin_core
   dcvalue element=title qualifier=noneItem de prueba 1/dcvalue
   dcvalue element=date qualifier=issued2008/dcvalue
   dcvalue element=title qualifier=alternate language=en ble 
ble ble/dcvalue

/dublin_core

*On Item2 directory:

*dublin_core
   dcvalue element=title qualifier=none**Item de prueba 2**/dcvalue
   dcvalue element=date qualifier=issued2009/dcvalue
   dcvalue element=title qualifier=alternate language=en bla 
bla bla/dcvalue

/dublin_core*

/*
*/What does mean /It appears there is no handle file -- generating 
one?/ The dublin_core file needs more elements?Which?


Thanks, a lot!!

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] A doubt with batch importer

2008-04-02 Thread Dorothea Salo
  I'm proving the batch importer tool with several files, but I supose that
 my dublin_core.xml file is not well configured because the command dsrun
 returns this:

The command is running perfectly fine. You have put it into test mode
with the -t flag -- if you want the items to appear in the repository,
do not use this flag.

  What does mean It appears there is no handle file -- generating one? The
 dublin_core file needs more elements?Which?

It just means that this is a new item that doesn't have a handle, so
DSpace will assign it one. You don't need to do anything differently.

If you were reimporting an item that you had previously exported,
there would be a handle file that DSpace would read so that the item
kept its existing handle.

Dorothea

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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] A doubt with batch importer

2008-04-02 Thread Claudia Juergen
Hola Germán,

this import is a successful import.
The message at the end simply means that a handle as supposed was created.
DSpace uses the handle system as persistent identifier at the moment. For
more details see http://www.handle.net/.
While importing items, which got no handle one is created.

So your test run is ok.

saludos

Claudia
 Hi guys!


 I'm proving the batch importer tool with several files, but I supose
 that my dublin_core.xml file is not well configured because the command
 /dsrun/ returns this:


 ***Test Run** - not actually importing items.
 Destination collections:
 Owning  Collection: Coleccion de pruebas 1
 Adding items from directory: ../Paquete1
 Generating mapfile: ../mapfile
 Adding item from directory Item1
 Loading dublin core from ../Paquete1/Item1/dublin_core.xml
 Schema: dc Element: title Qualifier: none Value: Item de prueba 1
 Schema: dc Element: date Qualifier: issued Value: 2008
 Schema: dc Element: title Qualifier: alternate Value: ble ble ble
 Processing contents file: ../Paquete1/Item1/contents
 Bitstream: cyberpunk.pdf
 Bitstream: mitologia_fedro_platon.pdf
 Bitstream: mitologia.pdf
 Processing handle file: handle
 It appears there is no handle file -- generating one
 0 Item1
 Adding item from directory Item2
 Loading dublin core from ../Paquete1/Item2/dublin_core.xml
 Schema: dc Element: title Qualifier: none Value: La segunda
 importacion
 Schema: dc Element: date Qualifier: issued Value: 2009
 Schema: dc Element: title Qualifier: alternate Value: bla bla bla
 Processing contents file: ../Paquete1/Item2/contents
 Bitstream: arquitectura_consolas.pdf
 Bitstream: guerra_consolas.pdf
 Processing handle file: handle
 It appears there is no handle file -- generating one
 1 Item2
 ***End of Test Run



 * The command that I write (the ePerson and collectionID exist on
   database):

 /*./dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED]
 -c *1* -s *../Paquete1* -m *../mapfile* --test

 */

 * The dublin_core.xml file on each item directory has this structure
   (same that the example in the web documentation):

 On Item1 directory:

 *dublin_core
 dcvalue element=title qualifier=noneItem de prueba 1/dcvalue
 dcvalue element=date qualifier=issued2008/dcvalue
 dcvalue element=title qualifier=alternate language=en ble
 ble ble/dcvalue
 /dublin_core

 *On Item2 directory:

 *dublin_core
 dcvalue element=title qualifier=none**Item de prueba
 2**/dcvalue
 dcvalue element=date qualifier=issued2009/dcvalue
 dcvalue element=title qualifier=alternate language=en bla
 bla bla/dcvalue
 /dublin_core*

 /*
 */What does mean /It appears there is no handle file -- generating
 one?/ The dublin_core file needs more elements?Which?

 Thanks, a lot!!

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech