annotate tool_dependencies.xml @ 0:ea529a96b534 draft default tip

Uploaded
author aafc-mbb
date Thu, 21 Apr 2016 17:15:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
1 <?xml version="1.0"?>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
2 <tool_dependency>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
3 <package name="Kurator_Package" version="0.0.1">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
4 <install version="1.0">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
5 <actions>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
6 <!-- Download kurator-akka.jar -->
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
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>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
8 <action type="move_file">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
9 <source>kurator-akka.jar</source>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
10 <destination>$INSTALL_DIR</destination>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
11 </action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
12
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
13 <!-- Download kurator-validation package and unzip -->
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
14 <action type="download_by_url" target_filename="kurator-validation.jar">https://github.com/kurator-org/kurator-validation/archive/v0.3.zip</action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
15 <action type="shell_command">unzip kurator-validation.jar</action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
16 <action type="move_directory_files">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
17 <source_directory>kurator-validation-0.3</source_directory>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
18 <destination_directory>$INSTALL_DIR/kurator-validation</destination_directory>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
19 </action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
20 <action type="set_environment">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
21 <environment_variable name="JYTHONPATH" action="set_to">$INSTALL_DIR/kurator-validation/packages/</environment_variable>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
22 </action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
23
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
24 <!-- Install and configure jython -->
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
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>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
26 <action type="shell_command">java -jar jython-installer-2.7.0.jar -s -d \$INSTALL_DIR/jython</action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
27 <action type="set_environment">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
28 <environment_variable name="JYTHONHOME" action="set_to">$INSTALL_DIR/jython</environment_variable>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
29 </action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
30 <action type="shell_command">\$INSTALL_DIR/jython/bin/pip install suds-jurko</action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
31
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
32 <!-- Set an environment to reference installed files-->
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
33 <action type="set_environment">
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
34 <environment_variable name="JAR_PATH" action="set_to">$INSTALL_DIR</environment_variable>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
35 </action>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
36
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
37 </actions>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
38 </install>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
39 </package>
ea529a96b534 Uploaded
aafc-mbb
parents:
diff changeset
40 </tool_dependency>