forked from egonet/egonet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving some of our reworked and local work into the repository
- Loading branch information
0 parents
commit d8df0b6
Showing
118 changed files
with
22,310 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry excluding="com/endlessloopsoftware/ego/client/graph/NodePanel.java" kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="lib" path="lib/EXML.jar"/> | ||
<classpathentry kind="lib" path="lib/jung-1.7.6.jar" sourcepath="/home/sonam/JavaLib/JUNG1.7/jung-1.7.6-src.jar"/> | ||
<classpathentry kind="lib" path="lib/forms-1.1.0.jar"/> | ||
<classpathentry kind="lib" path="lib/FoamRuntime.jar"/> | ||
<classpathentry kind="lib" path="lib/elsutils.jar"/> | ||
<classpathentry kind="lib" path="lib/looks-2.1.4.jar"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/EgoWeb"/> | ||
<classpathentry kind="lib" path="/EgoWeb/lib/appletlib/colt.jar"/> | ||
<classpathentry kind="lib" path="/EgoWeb/lib/strutslib/jbossall-client.jar"/> | ||
<classpathentry kind="lib" path="lib/commons-collections-3.2.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Enet</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<jsmoothproject> | ||
<JVMSearchPath>registry</JVMSearchPath> | ||
<JVMSearchPath>javahome</JVMSearchPath> | ||
<JVMSearchPath>jrepath</JVMSearchPath> | ||
<JVMSearchPath>jdkpath</JVMSearchPath> | ||
<JVMSearchPath>exepath</JVMSearchPath> | ||
<JVMSearchPath>jview</JVMSearchPath> | ||
<arguments></arguments> | ||
<embeddedJar>true</embeddedJar> | ||
<executableName>EgoAuthor.exe</executableName> | ||
<initialMemoryHeap>-1</initialMemoryHeap> | ||
<jarLocation>EgoClient.jar</jarLocation> | ||
<mainClassName>com.endlessloopsoftware.ego.author.EgoNet</mainClassName> | ||
<classPath>Egonet-lib.jar</classPath> | ||
<maximumMemoryHeap>-1</maximumMemoryHeap> | ||
<maximumVersion></maximumVersion> | ||
<minimumVersion></minimumVersion> | ||
<skeletonName>Windowed Wrapper</skeletonName> | ||
<skeletonProperties> | ||
<key>Message</key> | ||
<value>Java has not been found on your computer. Do you want to download it?</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>URL</key> | ||
<value>http://www.java.com</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>SingleProcess</key> | ||
<value>0</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>Debug</key> | ||
<value>0</value> | ||
</skeletonProperties> | ||
</jsmoothproject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<jsmoothproject> | ||
<JVMSearchPath>registry</JVMSearchPath> | ||
<JVMSearchPath>javahome</JVMSearchPath> | ||
<JVMSearchPath>jrepath</JVMSearchPath> | ||
<JVMSearchPath>jdkpath</JVMSearchPath> | ||
<JVMSearchPath>exepath</JVMSearchPath> | ||
<JVMSearchPath>jview</JVMSearchPath> | ||
<arguments></arguments> | ||
<embeddedJar>true</embeddedJar> | ||
<executableName>EgoClient.exe</executableName> | ||
<initialMemoryHeap>-1</initialMemoryHeap> | ||
<jarLocation>EgoClient.jar</jarLocation> | ||
<mainClassName>com.endlessloopsoftware.ego.client.EgoClient</mainClassName> | ||
<classPath>Egonet-lib.jar</classPath> | ||
<maximumMemoryHeap>-1</maximumMemoryHeap> | ||
<maximumVersion></maximumVersion> | ||
<minimumVersion></minimumVersion> | ||
<skeletonName>Windowed Wrapper</skeletonName> | ||
<skeletonProperties> | ||
<key>Message</key> | ||
<value>Java has not been found on your computer. Do you want to download it?</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>URL</key> | ||
<value>http://www.java.com</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>SingleProcess</key> | ||
<value>0</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<key>Debug</key> | ||
<value>0</value> | ||
</skeletonProperties> | ||
</jsmoothproject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project name="Enet" default="compile" basedir="."> | ||
|
||
<description> | ||
Egonet | ||
</description> | ||
|
||
<!-- Global Properties--> | ||
<property name="dir.lib.Enet" location="../Enet/lib" /> | ||
<property name="dir.lib.Egoweb.appletlib" location="../EgoWeb/lib/appletlib" /> | ||
<property name="dir.lib.Egoweb.strutslib" location="../EgoWeb/lib/strutslib" /> | ||
<property name="dir.src.Egonet" location="../Enet/src" /> | ||
<property name="dir.src.Egoweb" location="../EgoWeb/src" /> | ||
<property name="dir.build.Egonet" location="build" /> | ||
|
||
<!--specifying the main classes to be executed --> | ||
<property name="main.class.EgoClient" value="com.endlessloopsoftware.ego.client.EgoClient" /> | ||
<property name="main.class.EgoNet" value="com.endlessloopsoftware.ego.author.EgoNet" /> | ||
|
||
<!-- Class path ref --> | ||
<path id="classpath.project.Egonet"> | ||
<pathelement location="${dir.build.Egonet}" /> | ||
<fileset dir="${dir.lib.Enet}" includes="*.jar" /> | ||
<fileset dir="${dir.lib.Egoweb.strutslib}" includes="jbossall-client.jar" /> | ||
<fileset dir="${dir.lib.Egoweb.appletlib}" includes="colt.jar" /> | ||
</path> | ||
<path id="classpath.project.Egoweb"> | ||
<pathelement location="${dir.build.Egonet}" /> | ||
<fileset dir="${dir.lib.Enet}" includes="*.jar" /> | ||
<fileset dir="${dir.lib.Egoweb.strutslib}" includes="*.jar" /> | ||
<fileset dir="${dir.lib.Egoweb.appletlib}" includes="*.jar" /> | ||
</path> | ||
|
||
|
||
|
||
<!-- Compiling the Egoweb and Enet java Files --> | ||
<target name="compile" description="compile the Enet source" depends="init"> | ||
<javac srcdir="${dir.src.Egoweb}" destdir="${dir.build.Egonet}"> | ||
<classpath refid="classpath.project.Egoweb" /> | ||
</javac> | ||
<javac srcdir="${dir.src.Egonet}" destdir="${dir.build.Egonet}"> | ||
<classpath refid="classpath.project.Egonet" /> | ||
</javac> | ||
</target> | ||
|
||
<!-- Creat a build folder to put the class files--> | ||
<target name="init"> | ||
<tstamp /> | ||
<mkdir dir="${dir.build.Egonet}" /> | ||
</target> | ||
|
||
<!-- Remove the build folder | ||
<target name="clean" description="clean up"> | ||
<delete dir="${dir.Egonet.build}" /> | ||
</target> | ||
--> | ||
|
||
<!-- Create jar file for project --> | ||
<target name="lib-jar"> | ||
<!-- Creating jar for Enet libraries --> | ||
<jar jarfile="Egonet-lib.jar"> | ||
<zipfileset src="${dir.lib.Enet}/commons-collections-3.2.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/elsutils.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/EXML.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/FoamRuntime.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/forms-1.1.0.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/jung-1.7.6.jar" /> | ||
<zipfileset src="${dir.lib.Enet}/looks-2.1.4.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/jbossall-client.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.appletlib}/colt.jar" /> | ||
|
||
<!-- | ||
<property name="dir.layoutxml.Egonet" location="../Enet/src/com/endlessloopsoftware/ego/client" /> | ||
<property name="" location="../Enet/src/com/endlessloopsoftware/ego/author" /> | ||
<fileset file="${dir.layoutxml.Egonet}/localSelect.gui_xml" /> | ||
<fileset file="${dir.layoutxml.Egonet}/QuestionPanel.gui_xml" /> | ||
<fileset file="${dir.layoutxml.Egonet}/ServerInterviewChooser.gui_xml" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/struts-legacy.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/struts.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/jakarta-oro.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-validator.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-lang.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-fileupload.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-digester.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-beanutils.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/struts-workflow-1-0-3.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/struts.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/javax.servlet.jar" /> | ||
<zipfileset src="${dir.lib.Egoweb.strutslib}/commons-logging.jar" /> | ||
--> | ||
</jar> | ||
</target> | ||
|
||
<target name="jar" depends="compile,lib-jar"> | ||
<!-- Creating jar file for the main class EgoClient.java --> | ||
<jar destfile="EgoClient.jar" duplicate="preserve"> | ||
<manifest> | ||
<attribute name="Main-Class" value="${main.class.EgoClient}" /> | ||
<attribute name="Class-Path" value="Egonet-lib.jar" /> | ||
</manifest> | ||
<zipfileset dir="${dir.build.Egonet}" includes="**/*.class" /> | ||
<zipfileset dir="${dir.src.Egonet}" /> | ||
<zipfileset src="Egonet-lib.jar" /> | ||
|
||
</jar> | ||
<!-- Creating jar file for the main class "EgoNet.java" --> | ||
<jar destfile="EgoAuthor.jar" duplicate="preserve"> | ||
<manifest> | ||
<attribute name="Main-Class" value="${main.class.EgoNet}" /> | ||
<attribute name="Class-Path" value="Egonet-lib.jar" /> | ||
|
||
</manifest> | ||
<zipfileset dir="${dir.build.Egonet}" /> | ||
<zipfileset dir="${dir.src.Egonet}" /> | ||
<zipfileset src="Egonet-lib.jar" /> | ||
</jar> | ||
</target> | ||
|
||
<target name="clean"> | ||
<delete dir="${dir.build.egonet}" /> | ||
<delete file="EgoAuthor.jar" /> | ||
<delete file="EgoClient.jar" /> | ||
<delete file="Egonet-lib.jar" /> | ||
</target> | ||
|
||
<target name="dist" depends="clean,jar" description="Create Windows-compatible executables from the built Jar files"> | ||
<taskdef name="jsmoothgen" classname="net.charabia.jsmoothgen.ant.JSmoothGen" classpath="${dir.lib.Enet}/jsmooth/jsmoothgen-ant.jar" /> | ||
<jsmoothgen project="Egonet.jsmooth" skeletonroot="lib/jsmooth/" /> | ||
<taskdef name="jsmoothgen" classname="net.charabia.jsmoothgen.ant.JSmoothGen" classpath="${dir.lib.Enet}/jsmooth/jsmoothgen-ant.jar" /> | ||
<jsmoothgen project="Egoauthor.jsmooth" skeletonroot="lib/jsmooth/" /> | ||
</target> | ||
</project> | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<jsmoothskeleton> | ||
<debug>false</debug> | ||
<description><![CDATA[ | ||
This skeleton wraps <b>console applications</b>. | ||
<ul> | ||
<li> Standard Input/Output and Error streams are available | ||
<li> If no Java VM is found, it displays a default message. | ||
</ul> | ||
Although it is designed for console application (i.e. launched from the command.com shell prompt), it can launch standard GUI application. In such a case, any output of the java application (from System.out or System.err) is displayed in the a DOS Console. | ||
]]> | ||
</description> | ||
<executableName>consolewrapper.exe</executableName> | ||
<resourceCategory>JAVA</resourceCategory> | ||
<resourceJarId>102</resourceJarId> | ||
<resourcePropsId>103</resourcePropsId> | ||
<shortName>Console Wrapper</shortName> | ||
<skeletonProperties> | ||
<description>When no JVM is found in the target computer, the following message is displayed on the console.</description> | ||
<idName>Message</idName> | ||
<label>Message</label> | ||
<type>textarea</type> | ||
<value>This program needs Java to run. | ||
Please download it at http://www.java.com</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<description>The wrapper waits a keypress on the console when the application exits.</description> | ||
<idName>PressKey</idName> | ||
<label>PressKey</label> | ||
<type>boolean</type> | ||
<value>0</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<description>Enable the jsmooth debug traces</description> | ||
<idName>Debug</idName> | ||
<label>Debug traces</label> | ||
<type>boolean</type> | ||
<value>0</value> | ||
</skeletonProperties> | ||
</jsmoothskeleton> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<jsmoothskeleton> | ||
<debug>false</debug> | ||
<description><![CDATA[ | ||
This skeleton wraps <b>GUI applications</b>.<ul> | ||
<li>No console I/O is displayed | ||
<li>If no Java VM is found, it is able to display a configurable URL (typically to a java download page). | ||
</ul> | ||
Arguments can be passed to the application (either use the JSmooth default argument mechanism, or create a shortcut with arguments).]]> | ||
</description> | ||
<executableName>jwrap.exe</executableName> | ||
<resourceCategory>JAVA</resourceCategory> | ||
<resourceJarId>102</resourceJarId> | ||
<resourcePropsId>103</resourcePropsId> | ||
<shortName>Windowed Wrapper</shortName> | ||
<skeletonProperties> | ||
<description>When no JVM is found in the target computer, the user is prompted with the message defined below. Then, the default browser is launched with the URL defined here.</description> | ||
<idName>Message</idName> | ||
<label>Message</label> | ||
<type>textarea</type> | ||
<value>Java has not been found on your computer. Do you want to download it?</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<description>If the user selects YES to the message prompted above, the default web browser is launched with this URL.</description> | ||
<idName>URL</idName> | ||
<label>URL</label> | ||
<type>string</type> | ||
<value>http://www.java.com</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<description>The default behaviour is to launch the java application in a different (detached) process. If you want to force the wrapper to launch the Java application in the same process than the exe, than select this option.</description> | ||
<idName>SingleProcess</idName> | ||
<label>Launch java app in the exe process</label> | ||
<type>boolean</type> | ||
<value>0</value> | ||
</skeletonProperties> | ||
<skeletonProperties> | ||
<description>Enable the jsmooth debug console.</description> | ||
<idName>Debug</idName> | ||
<label>Debug console</label> | ||
<type>boolean</type> | ||
<value>0</value> | ||
</skeletonProperties> | ||
</jsmoothskeleton> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.