[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Replace web-prepare.sh by ant task.
commit 5523617d54cc31acec49947184daa9334cdded31
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date: Mon Dec 4 11:14:14 2017 +0000
Replace web-prepare.sh by ant task.
This is a preparational move. The ant task will later be called from the
task preparing the war, i.e., it is only an internal helper task.
---
build.xml | 10 ++++++++++
website/src/main/resources/web-prepare.sh | 15 ---------------
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/build.xml b/build.xml
index 26bbf0e..bef7e1b 100644
--- a/build.xml
+++ b/build.xml
@@ -64,6 +64,16 @@
<patternset refid="library" />
</patternset>
+ <target name="generate-ml-javadoc" depends="submoduleupdate" >
+ <mkdir dir="${basedir}/src/submods/metrics-lib/lib" />
+ <exec executable="ant"
+ dir="${basedir}/src/submods/metrics-lib"
+ failonerror="true" >
+ <arg value="clean" />
+ <arg value="docs" />
+ </exec>
+ </target>
+
<!-- The following line adds the common targets and properties
for Metrics' Java Projects.
-->
diff --git a/website/src/main/resources/web-prepare.sh b/website/src/main/resources/web-prepare.sh
deleted file mode 100755
index 02b604b..0000000
--- a/website/src/main/resources/web-prepare.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# Expecting the submodule path as argument
-#
-
-cd $1
-
-for x in metrics-lib ; do
- cd $1/$x
- src/main/resources/bootstrap-development.sh
- if ! [ -d lib ] ; then
- mkdir lib
- fi;
- ant clean docs
-done;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits