Hello, Jonathan -- Looking at the source code for org.fcrepo.server.utilities.rebuild.Rebuild, it appears that the options for rebuilding are read from stdin. The simplest thing to do may be to make a copy of this class, modify it to read command line arguments, and use that for your tests.
Another option would be to use some tool like expect to walk through the prompts. -- Scott On 06/23/11, Jonathan Green wrote: > Hey Folks. > > Has anyone ever run fedora-rebuild.sh from a script? I was hoping there were > some undocumented command line options or something, so that you could pass > what to rebuild as an argument instead of having to use the interactive > prompts. > > > > On a testing server I'm trying to have fedora drop its data directory > between tests, then rebuild from a data directory in a known state. Has > anyone tried something like that before? > > Thanks > > > > -- > Jonathan Green > DiscoveryGarden Inc. > Sims Office Suites Building, 3rd Floor, 118 Sydney Street > > > > > Charlottetown, PE C1A 1G4 > 902.367.3851 discoverygarden.ca(http://discoverygarden.ca/) > joant...@discoverygarden.ca(javascript:main.compose() > skype: jonathan.edwards.green > > > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense.. > http://p.sf.net/sfu/splunk-d2d-c1 > > > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users -- -- Scott Prater Library, Instructional, and Research Applications (LIRA) Division of Information Technology (DoIT) University of Wisconsin - Madison pra...@wisc.edu ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users