Skip to content

Commit

Permalink
convert to sbt project, except launch4j
Browse files Browse the repository at this point in the history
  • Loading branch information
martinb3 committed Mar 30, 2014
1 parent 457e090 commit 71cd531
Show file tree
Hide file tree
Showing 234 changed files with 9,626 additions and 9,711 deletions.
41 changes: 0 additions & 41 deletions .classpath

This file was deleted.

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,9 @@ pip-log.txt

# Mac crap
.DS_Store

target
.cache

.classpath
.project
17 changes: 0 additions & 17 deletions .project

This file was deleted.

30 changes: 30 additions & 0 deletions build-launch4j.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>

<project name="Enet" default="compile" basedir=".">

<description>
Egonet
</description>

<!-- Global Properties-->
<property name="dir.lib.Enet" location="lib" />
<property name="dir.src.Egonet" location="src" />
<property name="dir.test.Egonet" location="test" />
<property name="dir.build.Egonet" location="build" />
<property name="dir.dist.Egonet" location="dist" />

<!--specifying the main classes to be executed -->
<property name="main.class.Egonet" value="org.egonet.gui.EgonetRunner" />

<property name="launch4j.dir" location="lib/launch4j" />

<taskdef name="launch4j"
classname="net.sf.launch4j.ant.Launch4jTask"
classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar" />

<target name="compile" description="Create Windows-compatible executables from the built Jar files">
<launch4j configFile="winwrap.xml" />
</target>

</project>

61 changes: 61 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
import AssemblyKeys._
import Keys._
import sbtassembly.Plugin._

assemblySettings

name := "egonet"

libraryDependencies += "net.sf.jung" % "jung-api" % "2.0.1"

libraryDependencies += "net.sf.jung" % "jung-graph-impl" % "2.0.1"

libraryDependencies += "net.sf.jung" % "jung-algorithms" % "2.0.1"

libraryDependencies += "net.sf.jung" % "jung-io" % "2.0.1"

libraryDependencies += "net.sf.jung" % "jung-visualization" % "2.0.1"

libraryDependencies += "org.swinglabs" % "swingx" % "0.9.7"

libraryDependencies += "org.jdesktop" % "swing-worker" % "1.1"

libraryDependencies += "org.swinglabs" % "swing-layout" % "1.0.3"

libraryDependencies += "com.miglayout" % "miglayout" % "3.7"

libraryDependencies += "com.jgoodies" % "forms" % "1.1.0"

libraryDependencies += "com.jgoodies" % "looks" % "2.1.4"

libraryDependencies += "com.google.guava" % "guava" % "r08"

libraryDependencies += "com.jcraft" % "jsch" % "0.1.41"

libraryDependencies += "net.sf.opencsv" % "opencsv" % "1.8"

libraryDependencies += "com.lowagie" % "itext" % "2.1.5"

libraryDependencies += "com.lowagie" % "itext-rtf" % "2.1.5"

libraryDependencies += "junit" % "junit" % "4.3.1"

libraryDependencies += "commons-codec" % "commons-codec" % "1.3"

libraryDependencies += "org.slf4j" % "slf4j-api" % "1.5.6"

libraryDependencies += "org.slf4j" % "slf4j-jdk14" % "1.5.6"

mainClass in (Compile, run) := Some("org.egonet.gui.EgonetRunner")

mainClass in assembly := Some("org.egonet.gui.EgonetRunner")

mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
// case PathList("javax", "servlet", xs @ _*) => MergeStrategy.first
// case PathList(ps @ _*) if ps.last endsWith ".html" => MergeStrategy.first
// case "application.conf" => MergeStrategy.concat
case "RELEASE-NOTES.txt" => MergeStrategy.discard
case x => old(x)
}
}
127 changes: 0 additions & 127 deletions build.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed lib/fest-swing-1.0b1/fest-swing-1.0b1-sources.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed lib/fest-swing-1.0b1/lib/fest-util-0.4-sources.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file removed lib/forms-1.1.0.jar
Binary file not shown.
Binary file removed lib/guava-r08.jar
Binary file not shown.
Binary file removed lib/iText-2.1.5.jar
Binary file not shown.
Binary file removed lib/iText-rtf-2.1.5.jar
Binary file not shown.
Binary file removed lib/jsch-0.1.40.jar
Binary file not shown.
Binary file removed lib/jung/collections-generic-4.01.jar
Binary file not shown.
Binary file removed lib/jung/colt-1.2.0.jar
Binary file not shown.
Binary file removed lib/jung/concurrent-1.3.4.jar
Binary file not shown.
Binary file removed lib/jung/jung-algorithms-2.0-beta1.jar
Binary file not shown.
Binary file removed lib/jung/jung-api-2.0-beta1.jar
Binary file not shown.
Binary file removed lib/jung/jung-graph-impl-2.0-beta1.jar
Binary file not shown.
Binary file removed lib/jung/jung-io-2.0-beta1.jar
Binary file not shown.
Binary file removed lib/jung/jung-visualization-2.0-beta1.jar
Binary file not shown.
Binary file removed lib/junit-4.3.1.jar
Binary file not shown.
Binary file removed lib/looks-2.1.4.jar
Binary file not shown.
Binary file removed lib/miglayout-3.7-swing.jar
Binary file not shown.
Binary file removed lib/opencsv-1.8.jar
Binary file not shown.
Binary file removed lib/slf4j-api-1.5.6.jar
Binary file not shown.
Binary file removed lib/slf4j-jdk14-1.5.6.jar
Binary file not shown.
Binary file removed lib/swing-layout-1.0.3.jar
Binary file not shown.
Binary file removed lib/swing-worker-1.1.jar
Binary file not shown.
Binary file removed lib/swingx-0.9.7.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
Loading

0 comments on commit 71cd531

Please sign in to comment.