Hi Sisay,
Glad you've found the tool helpful. I have recently updated that SAFBuilder
<https://github.com/peterdietz/SAFBuilder> tool to make the compile process
use Maven. This specific error means that you have to run "mvn clean package"
before using the tool.
Since that step could be confusing, I've been able to further simplify the
instructions, and running the safbuilder.sh will now recompile the project
for you automatically. This adds a minor time penalty, but it makes
instructions and upgrades even simpler.
So, to update the code, run:
cd SAFBuilder
git pull origin master
./safbuilder.sh
It should work fine after that.
If the maven route is too difficult, you can use the previous version of
SAFBuilder, from before it used maven:
git clone git://github.com/peterdietz/SAFBuilder.git
cd SAFBuilder
git checkout 1.x
./recompile.sh
./safbuilder.sh
________________
Peter Dietz
Longsight
www.longsight.com
[email protected]
p: 740-599-5005 x809
On Mon, Jul 7, 2014 at 5:07 AM, Webshet, Sisay (ILRI) <[email protected]>
wrote:
> I just installed dsapce 4.1 veersion on obuntu 14.04
>
> I found a great tool that makes batch importing items a snap. It's at
> https://github.com/peterdietz/SAFBuilder
>
>
>
> I cd SAFBuilder
>
> ./safbuilder.sh
>
>
>
> The final command will then give me the follqing outputs which is Ok
>
>
>
> USAGE: BatchProcess /path/to/directory metadatafilename.csv
>
> Hint -- directory: Use absolute path and no trailing slashes
>
> Hint -- metadatafilename: needs to be in the directory, as do the content
> files
>
>
>
> ./safbuilder.sh /path/to/SAFBuilder/src/edu/osu/kb/sample_data
> AAA_batch-metadata.csv
>
>
>
>
>
> To run the tool over the sample data: I used the following command and
> creates SimpleArchiveFormat directory which is empty.
>
>
>
> and prints the following failed to execute
> goal.org.codehouse.mojo:exec-maven-plugin:3.1Java on project safbuilder…..
>
>
>
> Thanks
>
>
>
> sisay
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> There is sample data included with the tool to give an idea of how to use
> this.
>
> *Sisay Webshet *| Information Systems Specialist
> International Livestock Research Institute | ilri.org
> <http://www.ilri.org/>
> Box 5689, Addis Ababa, Ethiopia | Tel: +251 11 617 2471
>
> Mobile: +251 91 1 09 02 05 | Skype: swebshet | Email: *[email protected]
> <[email protected]>*
>
> ILRI ONLINE: Website <http://www.ilri.org/> | News
> <http://www.ilri.org/ilrinews> | Repository <http://mahider.ilri.org/> |
> Presentations
> <http://www.slideshare.net/ILRI/presentations> | I
> <https://owa.cgiar.org/owa/redir.aspx?C=449f3cf5fc1b43e486d5def4409fcabc&URL=http%3a%2f%2fwww.flickr.com%2fphotos%2filri%2fsets>
> mages <http://www.flickr.com/photos/ilri/sets>
> Films <http://ilri.blip.tv/posts>| Facebook
> <http://www.facebook.com/ILRIFanPage> | Twitter
> <http://www.twitter.com/ilri> | Maps and locations
> <http://www.ilri.org/contactus>
>
> ILRI is a member of the CGIAR Consortium <http://www.cgiar.org/>
> *better lives through livestock*
>
> *The content of this email may be privileged or confidential. If you are
> not the intended recipient, please notify the sender immediately and do not
> copy, distribute or take action based on this email. **Please consider
> the environment before printing this email.*
>
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette