Add oeadmin in standalone distribution
parent
5a64a7a2f9
commit
7de34f2e92
|
@ -109,6 +109,13 @@
|
|||
<version>${openesb-web-console.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- OpenESB oeadmin-->
|
||||
<dependency>
|
||||
<groupId>net.open-esb</groupId>
|
||||
<artifactId>openesb-oeadmin</artifactId>
|
||||
<version>${openesb-oeadmin.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- OpenESB Core Distribution -->
|
||||
<dependency>
|
||||
<groupId>open-esb</groupId>
|
||||
|
|
|
@ -80,6 +80,13 @@
|
|||
<outputDirectory>lib</outputDirectory>
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<includes>
|
||||
<include>net.open-esb:openesb-oeadmin</include>
|
||||
</includes>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<includes>
|
||||
<include>com.atomikos:transactions-jta</include>
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
#!/bin/sh
|
||||
### ====================================================================== ###
|
||||
## ##
|
||||
## OpenESB Administration Command Line ##
|
||||
## ##
|
||||
### ====================================================================== ###
|
||||
|
||||
DIRNAME=`dirname $0`
|
||||
PROGNAME=`basename $0`
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
linux=false;
|
||||
case "`uname`" in
|
||||
CYGWIN*)
|
||||
cygwin=true
|
||||
;;
|
||||
|
||||
Darwin*)
|
||||
darwin=true
|
||||
;;
|
||||
|
||||
Linux)
|
||||
linux=true
|
||||
;;
|
||||
esac
|
||||
|
||||
# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
|
||||
if [ "$linux" = "true" ]; then
|
||||
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
|
||||
fi
|
||||
|
||||
# Setup OPENESB_HOME
|
||||
if [ "x$OPENESB_HOME" = "x" ]; then
|
||||
# get the full path (without any relative bits)
|
||||
OPENESB_HOME=`cd $DIRNAME/..; pwd`
|
||||
fi
|
||||
|
||||
export OPENESB_HOME
|
||||
export JAVA_OPTS="$JAVA_OPTS"
|
||||
|
||||
# Setup the JVM
|
||||
if [ "x$JAVA" = "x" ]; then
|
||||
if [ "x$JAVA_HOME" != "x" ]; then
|
||||
JAVA="$JAVA_HOME/bin/java"
|
||||
else
|
||||
JAVA="java"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Setup the classpath
|
||||
runjar=`find $OPENESB_HOME -name "openesb-oeadmin*.jar"`
|
||||
if [ ! -f "$runjar" ]; then
|
||||
die "Missing required file: $runjar"
|
||||
fi
|
||||
OPENESB_OEADMIN_CLASSPATH="$runjar"
|
||||
|
||||
"$JAVA" $JAVA_OPTS \
|
||||
-jar "$OPENESB_OEADMIN_CLASSPATH" \
|
||||
"$@"
|
||||
|
||||
OPENESB_STATUS=$?
|
1
pom.xml
1
pom.xml
|
@ -27,6 +27,7 @@
|
|||
<openesb.version>2.4.0-SNAPSHOT</openesb.version>
|
||||
<openesb-rest-api.version>1.0.0-SNAPSHOT</openesb-rest-api.version>
|
||||
<openesb-web-console.version>1.0.0-SNAPSHOT</openesb-web-console.version>
|
||||
<openesb-oeadmin.version>1.0.0-SNAPSHOT</openesb-oeadmin.version>
|
||||
<atomikos.version>3.8.0</atomikos.version>
|
||||
<tomcat.version>7.0.47</tomcat.version>
|
||||
</properties>
|
||||
|
|
Loading…
Reference in New Issue