Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Run external tools on captured items and integrate the output #108

Open
gregjan opened this issue Jan 2, 2013 · 1 comment
Open

Run external tools on captured items and integrate the output #108

gregjan opened this issue Jan 2, 2013 · 1 comment

Comments

@gregjan
Copy link
Contributor

gregjan commented Jan 2, 2013

Eclipse external tools feature currently works on any files that are local resources within the project. This is done via the resources API and using $selected_resource_path as a command parameter.

This feature would make another variable available for the configuration of external tool runs, something like $selected_arrangement_item_path. A variable like that would allow external tools to run on individually selected items in the arrangement.

@gregjan
Copy link
Contributor Author

gregjan commented Jan 27, 2013

By assigning a name to each tool, a standard Eclipse external tool run configuration can map place resulting files in standard locations, like this:

$ file -i ${CAPTURED_ITEM_LOCATION} -o ${PROJECT_LOCATION}//${CAPTURED_ITEM_ID}.xml

This would allow an Eclipse build to detect new output files and link them into a mdSec in METS, then from there back to the item in the structMap for the project.

The METS builder would need the following:

  • tool name (used for output dir name and GROUPID in mdSec)
  • type of mdSec to create (techMD, rightsMD, sourceMD, digiprovMD, dmdSec)
  • MDTYPE, OTHERMDTYPE, MDTYPEVERSION
  • MIMETYPE
  • LABEL

The METS builder enables quick views of the output of external tools. The mdRefs could be pulled into the standard properties viewer, for example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant