0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="Kurator_Package" version="0.0.1">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <!-- Download kurator-akka.jar -->
|
|
7 <action type="download_by_url" target_filename="kurator-akka.jar">https://github.com/kurator-org/kurator-akka/releases/download/v0.3/kurator-akka-0.3-jar-with-dependencies.jar</action>
|
|
8 <action type="move_file">
|
|
9 <source>kurator-akka.jar</source>
|
|
10 <destination>$INSTALL_DIR</destination>
|
|
11 </action>
|
|
12
|
|
13 <!-- Download kurator-validation package and unzip -->
|
|
14 <action type="download_by_url" target_filename="kurator-validation.jar">https://github.com/kurator-org/kurator-validation/archive/v0.3.zip</action>
|
|
15 <action type="shell_command">unzip kurator-validation.jar</action>
|
|
16 <action type="move_directory_files">
|
|
17 <source_directory>kurator-validation-0.3</source_directory>
|
|
18 <destination_directory>$INSTALL_DIR/kurator-validation</destination_directory>
|
|
19 </action>
|
|
20 <action type="set_environment">
|
|
21 <environment_variable name="JYTHONPATH" action="set_to">$INSTALL_DIR/kurator-validation/packages/</environment_variable>
|
|
22 </action>
|
|
23
|
|
24 <!-- Install and configure jython -->
|
|
25 <action type="download_by_url" target_filename="jython-installer-2.7.0.jar">http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar</action>
|
|
26 <action type="shell_command">java -jar jython-installer-2.7.0.jar -s -d \$INSTALL_DIR/jython</action>
|
|
27 <action type="set_environment">
|
|
28 <environment_variable name="JYTHONHOME" action="set_to">$INSTALL_DIR/jython</environment_variable>
|
|
29 </action>
|
|
30 <action type="shell_command">\$INSTALL_DIR/jython/bin/pip install suds-jurko</action>
|
|
31
|
|
32 <!-- Set an environment to reference installed files-->
|
|
33 <action type="set_environment">
|
|
34 <environment_variable name="JAR_PATH" action="set_to">$INSTALL_DIR</environment_variable>
|
|
35 </action>
|
|
36
|
|
37 </actions>
|
|
38 </install>
|
|
39 </package>
|
|
40 </tool_dependency>
|