diff options
author | Random Hacker <random_hacker@xapek.org> | 2011-12-19 23:49:51 +0100 |
---|---|---|
committer | Random Hacker <random_hacker@xapek.org> | 2011-12-19 23:49:51 +0100 |
commit | d3d5bd4344e0cac23eda536144c62d08429f2fca (patch) | |
tree | c9bcb06fbbe279f2b01dcbdfd64442be49470d79 /ebus-scala/Main.scala | |
parent | b36e11d9567d6abf0d90f4fa97767c241258331a (diff) | |
download | ebus-alt-d3d5bd4344e0cac23eda536144c62d08429f2fca.tar.gz ebus-alt-d3d5bd4344e0cac23eda536144c62d08429f2fca.zip |
scala: Split Main.scala/run.sh
Diffstat (limited to 'ebus-scala/Main.scala')
-rwxr-xr-x | ebus-scala/Main.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ebus-scala/Main.scala b/ebus-scala/Main.scala index 63ec98e..da54e71 100755 --- a/ebus-scala/Main.scala +++ b/ebus-scala/Main.scala @@ -1,6 +1,3 @@ -#!/bin/sh -exec scala "$0" "$@" -!# import Stream._ import java.io.{InputStream, EOFException} import java.net.{InetAddress, InetSocketAddress, Socket} @@ -319,7 +316,7 @@ class EbusL7BroadcastPacket(l2Packet: EbusL2BroadcastPacket) extends EbusL7Packe /// Application object App { - val ebusDefinition = EbusDefinition.fromFile("/home/yvesf/vcs/ebus/ebus/ebus-xml/ebus.xml") + val ebusDefinition = EbusDefinition.fromFile("../ebus-xml/ebus.xml") var source: InputStream = null def println(msg : Any) { @@ -408,4 +405,3 @@ HOST PORT } } -App.main(args) |