#!/bin/sh

# Script to generate ImageJ dependency graphs using maven-graph-plugin.
# Requires graphviz to be installed.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
COMPONENTS=(. core gui)

GRAPH_CMD="
  neato
  -Goverlap=scale
  -Gsplines=true
  -Gepsilon=0.0001
  -Tjpg
  -o dependency-graph.jpg
  dependency-graph.dot
"

for c in ${COMPONENTS[*]}
do
  cd $ROOT/$c
  mvn graph:reactor
  cd target && $GRAPH_CMD
done

#!/bin/sh

# Script to generate ImageJ dependency graphs using maven-graph-plugin.
# Requires graphviz to be installed.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
COMPONENTS=(. core ui)

GRAPH_CMD="
  neato
  -Goverlap=scale
  -Gsplines=true
  -Gepsilon=0.0001
  -Tjpg
  -o dependency-graph.jpg
  dependency-graph.dot
"

for c in ${COMPONENTS[*]}
do
  cd $ROOT/$c
  mvn graph:reactor
  cd target && $GRAPH_CMD
done

Update graph generation script directories.
Update graph generation script directories.


This used to be revision r2539.
