[virtualcommons-svn] SF.net SVN: virtualcommons:[287] irrigation
Status: Beta
Brought to you by:
alllee
From: <al...@us...> - 2009-10-07 23:30:21
|
Revision: 287 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=287&view=rev Author: alllee Date: 2009-10-07 23:30:13 +0000 (Wed, 07 Oct 2009) Log Message: ----------- starting to migrate irrigation experiment over to use csidex / maven / ivy Added Paths: ----------- irrigation/trunk/ irrigation/trunk/build.properties.example irrigation/trunk/build.xml irrigation/trunk/deploy.bat irrigation/trunk/ivy.xml irrigation/trunk/ivysettings.xml irrigation/trunk/jetty.bat irrigation/trunk/pom.xml irrigation/trunk/src/ irrigation/trunk/src/main/ irrigation/trunk/src/main/java/ irrigation/trunk/src/main/resources/ irrigation/trunk/src/main/resources/web/ irrigation/trunk/src/main/resources/web/client.jnlp irrigation/trunk/src/main/resources/web/facilitator.jnlp irrigation/trunk/src/main/resources/web/index.html irrigation/trunk/src/test/ irrigation/trunk/src/test/java/ Added: irrigation/trunk/build.properties.example =================================================================== --- irrigation/trunk/build.properties.example (rev 0) +++ irrigation/trunk/build.properties.example 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,30 @@ +# Any configuration properties set here will override the defaults provided in +# the build.xml file. If you are using the builtin Maven Jetty webserver, you +# just need to change the server address (and the port listed in the +# codebase.url property if you are running on a port other than 8080). + +# server name, set this to the IP address or domain name that will be running +# the experiment server +# FIXME: currently, this MUST be the same as the IP address/domain name of the +# webserver you are deploying the software on. +server.address=localhost + +# the absolute path of where you would like to deploy the experiment JNLP and +# jar files +# (should be accessible / mounted by the webserver) +# NOTE: for windows, use double backslashes as a path separator +# web.dir=C:\\WebServer\\foraging +web.dir=src/main/webapp + +# The URL that maps to the path above. If you don't mind using "foraging" as +# part of the URL you can just set the server.address and leave this property +# blank since the build.xml that loads this properties file sets the codebase +# url to the ${server.address} + "/foraging" by default. +codebase.url=http://${server.address}:8080/irrigation + +# set to whatever port you want the Java experiment server to run on (this is +# *not* the webserver port, this is the experiment server port used to +# communicate with the individual experiment clients) +server.port=16001 + + Added: irrigation/trunk/build.xml =================================================================== --- irrigation/trunk/build.xml (rev 0) +++ irrigation/trunk/build.xml 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,365 @@ +<!-- $Id: build.xml 330 2008-02-13 05:31:26Z alllee $ + vim:sts=2:sw=2: + Version: $Revision: 330 $ + --> +<project xmlns:ivy='antlib:org.apache.ivy.ant' name="irrigation" default="build-all" basedir="."> + + <!-- ensure ivy availability --> + <!-- + <path id='ivy.lib.path'> + <fileset dir='lib/ivy' includes='*.jar'/> + </path> + <taskdef resource='org/apache/ivy/ant/antlib.xml' + uri='antlib:org.apache.ivy.ant' + classpathref='ivy.lib.path'/> + --> + <property name="ivy.install.version" value="2.1.0-rc2" /> + <condition property="ivy.home" value="${env.IVY_HOME}"> + <isset property="env.IVY_HOME" /> + </condition> + <property name="ivy.home" value="${user.home}/.ant" /> + <property name="ivy.jar.dir" value="${ivy.home}/lib" /> + <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" /> + + <target name="download-ivy" unless="offline"> + + <mkdir dir="${ivy.jar.dir}"/> + <!-- download Ivy from web site so that it can be used even without any special installation --> + <get src="http://repo2.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar" + dest="${ivy.jar.file}" usetimestamp="true"/> + <!-- + <get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/ivy.jar" + dest="${ivy.jar.file}" usetimestamp="true"/> + <get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip" + dest="${ivy.jar.dir}/ivy-${ivy.install.version}-bin.zip" usetimestamp="true"/> + --> + <!-- FIXME: this should be dependent on the download in the first place + <unzip src='${ivy.jar.dir}/ivy-${ivy.install.version}-bin.zip' dest='${ivy.jar.dir}' overwrite='false' /> + <move file='${ivy.jar.dir}/apache-ivy-${ivy.install.version}/ivy-${ivy.install.version}.jar' tofile='${ivy.jar.file}' overwrite='false' /> + --> + </target> + + <target name="init-ivy" depends="download-ivy"> + <!-- try to load ivy here from ivy home, in case the user has not already dropped + it into ant's lib dir (note that the latter copy will always take precedence). + We will not fail as long as local lib dir exists (it may be empty) and + ivy is in at least one of ant's lib dir or the local lib dir. --> + <path id="ivy.lib.path"> + <fileset dir="${ivy.jar.dir}" includes="*.jar"/> + </path> + <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> + </target> + + <target name='resolve' depends='init-ivy' description='--> retrieve dependencies with ivy'> + <ivy:retrieve pattern='${lib.dir}/[artifact].[ext]'/> + </target> + + <!-- Load all properties from the build.properties file, + then try to define defaults for all the properties. + The property definitions in the build.properties file + will have precedence. + --> + <property file="build.properties" /> + <!-- default compilation properties --> + <property name='src.dir' value='src/main/java'/> + <property name='build.dir' value='target'/> + + <!-- default web & deployment properties --> + <property name='web.dir' value='src/main/webapp'/> + <property name='server.port' value='16001'/> + <property name='server.xml' value='server.xml'/> + <property name='codebase.url' value='http://${server.address}/${ant.project.name}'/> + <property name='client.class' value='edu.asu.commons.irrigation.client.IrrigationClient'/> + <property name='facilitator.class' value='edu.asu.commons.irrigation.facilitator.Facilitator'/> + <property name='server.class' value='edu.asu.commons.irrigation.server.IrrigationServer'/> + <property name='framework.jar' value='csidex.jar'/> + + <property name='dist.dir' value='dist' /> + + <property name='resources.dir' value='src/main/resources'/> + <property name='conf.dir' value='${resources.dir}/configuration'/> + + <!-- test properties --> + <property name="test.src.dir" value="src/test/java"/> + <property name="test.build.dir" value="target/test-classes"/> + <property name="test.results.dir" value="target/surefire-reports" /> + + <property name="javadoc.dir" value="docs/javadoc"/> + <property name="javadoc.private.dir" value="docs/private"/> + <property name='lib.dir' value='lib'/> + + <!-- Set up the CLASSPATH, includes all jars in the lib + directory and all built files for both the main project + and the tests --> + <path id="project.classpath"> + <pathelement location="." /> + <fileset dir="${lib.dir}"> + <include name="**/*.jar" /> + </fileset> + <pathelement location="${build.dir}" /> + <pathelement location="${test.build.dir}" /> + <pathelement location='${resources.dir}' /> + </path> + + <target name="help"> + <echo> + NOTE: At minimum you will need to modify the default web.dir and + server.address properties in the build.properties file before invoking deploy + or build-all. + + Currently deploying to ${web.dir} with a web address of ${codebase.url}. + + Experiment server will start on ${server.address}, listening on port ${server.port}. + + Available targets: + compile - Compile all the source code and tests. + clean - Remove all compiled source and test classes. + docs - Create JavaDoc documentation for all source code. + test - Run all JUnit in the test source tree. + build-all - builds the client, server, and facilitator jars. + deploy - invokes build-all and then copies the client and facilitator jars to ${web.dir} + </echo> + </target> + + <target name='build-all' depends='facilitator-jar, client-jar, server-jar, compile'/> + +<!-- deploys the client + facilitator + csidex jarfiles to the appropriate + webapps directory. --> + <target name='deploy-to' depends='build-all'> + <mkdir dir='${deploy.dir}'/> + <!-- + copy client jar, facilitator jar, and csidex.jar to web deployment + directory + --> + <copy todir='${deploy.dir}' overwrite='true'> + <fileset dir='${dist.dir}'> + <include name='client.jar'/> + <include name='facilitator.jar'/> + </fileset> + <fileset dir='${lib.dir}'> + <include name='${framework.jar}'/> + </fileset> + <fileset dir='${resources.dir}/web'> + <include name='index.html'/> + <include name='WEB-INF/**'/> + </fileset> + </copy> + <!-- copy images --> + <copy todir='${deploy.dir}/images' overwrite='true'> + <fileset dir='${resources.dir}/images'/> + </copy> + <!-- + copy client and facilitator JNLP descriptor files, replacing + url/main class tokens. + --> + <copy file='${resources.dir}/web/client.jnlp' todir='${deploy.dir}' overwrite='true'> + <filterset> + <filter token='CODEBASE_URL' value='${codebase.url}'/> + <filter token='MAIN_CLASS' value='${client.class}'/> + <filter token='FRAMEWORK_JAR' value='${framework.jar}'/> + </filterset> + </copy> + <copy file='${resources.dir}/web/facilitator.jnlp' todir='${deploy.dir}' overwrite='true'> + <filterset> + <filter token='CODEBASE_URL' value='${codebase.url}'/> + <filter token='MAIN_CLASS' value='${facilitator.class}'/> + <filter token='FRAMEWORK_JAR' value='${framework.jar}'/> + </filterset> + </copy> + <chmod dir='${deploy.dir}' perm='664' type='file' includes='**'/> + <chmod dir='${deploy.dir}' perm='775' type='dir' includes='**'/> + </target> + + <target name='deploy'> + <antcall target='deploy-to'> + <param name='deploy.dir' value='${web.dir}'/> + </antcall> + </target> + + <target name='client-jar' depends='server-jar'> + <antcall target='build-jar'> + <param name='main.class' value='${client.class}'/> + <param name='jar.name' value='client.jar'/> + </antcall> + </target> + + <target name='facilitator-jar' depends='client-jar'> + <antcall target='build-jar'> + <param name='main.class' value='${facilitator.class}'/> + <param name='jar.name' value='facilitator.jar'/> + </antcall> + </target> + + + <target name='server-jar' depends='compile, configure'> + <antcall target='build-jar'> + <param name='main.class' value='${server.class}'/> + <param name='jar.name' value='server.jar'/> + </antcall> + <move file='${dist.dir}/server.jar' tofile='server.jar'/> + </target> + + <target name='build-jar'> + <manifestclasspath property='manifest.classpath' jarfile='${jar.name}'> + <classpath refid='project.classpath'/> + </manifestclasspath> + <chmod dir='${build.dir}' perm='a+rx' type='dir' includes='**'/> + <chmod dir='${build.dir}' perm='a+r' type='file' includes='**'/> + <manifest file='manifest.mf'> + <attribute name="Main-Class" value="${main.class}"/> + <attribute name='Class-Path' value='${manifest.classpath}'/> + </manifest> + <jar destfile='${dist.dir}/${jar.name}' manifest='manifest.mf'> + <fileset dir='${build.dir}'> + <include name='edu/asu/commons/**'/> + <include name='data/**'/> + <include name='conf/**'/> + <include name='images/**'/> + </fileset> + </jar> + <chmod file='${dist.dir}/${jar.name}' perm='664'/> + </target> + <!-- Prepare for a build by creating appropriate directories --> + <target name="prepare" depends='resolve'> + <mkdir dir="${build.dir}"/> + <mkdir dir="${test.build.dir}"/> + <mkdir dir='${dist.dir}'/> + </target> + + <!-- Clean up build by deleting build directories --> + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${test.build.dir}"/> + <delete dir='${dist.dir}'/> + <delete dir='${lib.dir}'/> + <delete file='server.jar'/> + + </target> + + <!-- Compile project source files --> + <target name='compile' depends="prepare"> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + debug="on" + optimize="off" + deprecation="on" + source="1.6" + > + <compilerarg value='-Xlint:unchecked'/> + <classpath refid="project.classpath" /> + </javac> + <copy todir='${build.dir}/data'> + <fileset dir='${resources.dir}/data'/> + </copy> + <copy todir='${build.dir}/images'> + <fileset dir='${resources.dir}/images'/> + </copy> + </target> + + <target name='configure'> + <copy todir='${build.dir}/conf'> + <fileset dir='${conf.dir}'/> + <filterset> + <filter token='SERVER_ADDRESS' value='${server.address}'/> + <filter token='PORT_NUMBER' value='${server.port}'/> + <filter token='CODEBASE_URL' value='${codebase.url}'/> + </filterset> + </copy> + </target> + + <target name='profile' depends='test'> + <java jar='${project.profiler}' classpathref='project.classpath' fork='true'> + <arg value='${hprof.file}'/> + </java> + <!-- do something like java -jar PerfAnal.jar <hprof.txt> --> + </target> + + <!-- Build project documentation --> + <target name="docs"> + <javadoc sourcepath="${src.dir}" + destdir="${javadoc.dir}" + packagenames="*" + source="1.6" + classpathref='project.classpath' + link='http://java.sun.com/javase/6/docs/api/ + http://commons.asu.edu/src/csidex/api' + overview="${src.dir}/overview.html" /> + </target> + + <!-- RUN TARGETS --> + <target name='client' depends='compile'> + <java classname='${client.class}' + classpathref='project.classpath' + fork='yes'/> + </target> + + <target name='fac' depends='compile'> + <java classname='${facilitator.class}' + classpathref='project.classpath' + fork='yes'/> + </target> + + <target name='deploy-server' depends='deploy, server' /> + + <target name='server' depends='compile'> + <!-- make sure we update the configuration --> + <copy todir='${build.dir}/conf' overwrite='true'> + <fileset dir='${conf.dir}'/> + <filterset> + <filter token='SERVER_ADDRESS' value='${server.address}'/> + <filter token='PORT_NUMBER' value='${server.port}'/> + <filter token='CODEBASE_URL' value='${codebase.url}'/> + </filterset> + </copy> + <java classname='${server.class}' classpathref='project.classpath' fork='yes'> + <jvmarg value="-server"/> + </java> + </target> + + + <!-- Compile Tests --> + <target name="compile-tests" depends="compile"> + <javac srcdir="${test.src.dir}" + destdir="${test.build.dir}" + source="1.6" + debug="on"> + <!-- <compilerarg value='-Xlint:unchecked'/> --> + <classpath refid="project.classpath" /> + </javac> + </target> + + <!-- Run Tests --> + <target name="test" depends="compile-tests"> + <delete dir="${test.results.dir}"/> + <mkdir dir="${test.results.dir}"/> + <junit fork="yes" haltonfailure="yes" printsummary="yes"> + <classpath refid="project.classpath" /> + <batchtest todir="${test.results.dir}" > + <formatter usefile="no" type="plain" /> + <formatter type="xml" /> + <fileset dir="${test.build.dir}"> + <include name="**/*Test.class" /> + </fileset> + </batchtest> + </junit> + </target> + + <property name='savefile.converter.class' value='edu.asu.commons.irrigation.util.SaveFileConverter'/> + <target name='convert-savefiles' depends='compile'> + <java classname='${savefile.converter.class}' classpathref='project.classpath' fork='yes'> + <arg value='raw-data'/> + </java> + </target> + + <!-- Run Test on GUI --> + <target name="guitest" depends="compile-tests"> + <java fork="yes" classname="junit.swingui.TestRunner" taskname="JUnit" failonerror="true" dir="${basedir}"> + <jvmarg value="-Djunit.test.path=${test.build.dir}" /> + <sysproperty key="basedir" value="${basedir}" /> + <classpath> + <path refid="project.classpath" /> + </classpath> + </java> + </target> + +</project> Added: irrigation/trunk/deploy.bat =================================================================== --- irrigation/trunk/deploy.bat (rev 0) +++ irrigation/trunk/deploy.bat 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,7 @@ +REM set ANT_HOME to the location where you unpacked Ant. Inside this +REM directory should be bin and lib directories containing the Ant +REM executables and library dependencies. +set ANT_HOME=C:\tools\ant +set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16 +set PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin;%PATH% +ant deploy Added: irrigation/trunk/ivy.xml =================================================================== --- irrigation/trunk/ivy.xml (rev 0) +++ irrigation/trunk/ivy.xml 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!-- +vim:sts=2:sw=2: +--> +<ivy-module version="2.0"> + <info organisation="edu.asu.commons" module="irrigation"/> + <dependencies> + <dependency org="junit" name="junit" rev="latest.integration"/> + <dependency org="edu.asu.commons" name="csidex" rev="latest.integration"/> + <dependency org="jfree" name="jfreechart" rev="1.0.13"/> + <dependency org="jfree" name="jcommon" rev="1.0.16"/> + </dependencies> +</ivy-module> Added: irrigation/trunk/ivysettings.xml =================================================================== --- irrigation/trunk/ivysettings.xml (rev 0) +++ irrigation/trunk/ivysettings.xml 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!-- +vim:sts=2:sw=2: +--> +<ivysettings> + <settings defaultResolver="chain-resolver" /> + <property name='local-m2-pattern' + value='${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision]'/> + <resolvers> + <chain name='chain-resolver' returnFirst='true'> + <filesystem name='m2' m2compatible='true'> + <ivy pattern='${local-m2-pattern}.pom' /> + <artifact pattern='${local-m2-pattern}.[ext]'/> + </filesystem> + <ibiblio name='commons-archiva' m2compatible='true' root='http://dev.commons.asu.edu/archiva/repository/internal'/> + <ibiblio name='tdar-archiva' m2compatible='true' root='http://dev.tdar.org/archiva/repository/internal'/> + </chain> + </resolvers> +</ivysettings> Added: irrigation/trunk/jetty.bat =================================================================== --- irrigation/trunk/jetty.bat (rev 0) +++ irrigation/trunk/jetty.bat 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,11 @@ +REM set M2_HOME to the location where you unpacked Maven. Inside this +REM directory should be bin and lib directories containing the Maven +REM executables and library dependencies. +REM ******* +REM You MUST RUN deploy.bat or server.bat before this to properly compile and +REM configure this application. +set ANT_HOME=C:\tools\ant +set M2_HOME=C:\tools\maven +set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16 +set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%M2_HOME%\bin;%PATH% +mvn jetty:run Added: irrigation/trunk/pom.xml =================================================================== --- irrigation/trunk/pom.xml (rev 0) +++ irrigation/trunk/pom.xml 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +vim:sts=2:sw=2 +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>edu.asu.commons</groupId> + <artifactId>irrigation</artifactId> + <packaging>jar</packaging> + <version>1.0-SNAPSHOT</version> + <name>foraging</name> + <url>http://commons.asu.edu/irrigation</url> + <repositories> + <repository> + <id>dev.commons.asu.edu</id> + <name>dev.commons Maven2 repository</name> + <url>http://dev.commons.asu.edu/archiva/repository/internal</url> + <releases><enabled>true</enabled></releases> + <snapshots><enabled>false</enabled></snapshots> + </repository> + <repository> + <id>snapshot.dev.commons.asu.edu</id> + <name>dev.commons Maven2 snapshot repository</name> + <url>http://dev.commons.asu.edu/archiva/repository/snapshots</url> + <releases><enabled>false</enabled></releases> + <snapshots><enabled>true</enabled></snapshots> + </repository> + <repository> + <id>dev.tdar.org</id> + <name>tDAR Maven2 repository</name> + <url>http://dev.tdar.org/archiva/repository/internal</url> + <releases><enabled>true</enabled></releases> + <snapshots><enabled>false</enabled></snapshots> + </repository> + </repositories> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.5</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>edu.asu.commons</groupId> + <artifactId>csidex</artifactId> + <version>0.2.1</version> + </dependency> + <dependency> + <groupId>jfree</groupId> + <artifactId>jcommon</artifactId> + <version>1.0.16</version> + </dependency> + <dependency> + <groupId>jfree</groupId> + <artifactId>jfreechart</artifactId> + <version>1.0.13</version> + </dependency> + </dependencies> + <build> + <finalName>irrigation</finalName> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.6</source> + <target>1.6</target> + </configuration> + </plugin> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <configuration> + <scanIntervalSeconds>10</scanIntervalSeconds> + </configuration> + </plugin> + </plugins> + </build> + <profiles> + <profile> + <id>ant</id> + <build> + <defaultGoal>antrun:run</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <goals> + <goal>load</goal> + </goals> + <configuration> + <tasks> + <!-- + can be invoked via + mdeployvn -P ant -D target= + --> + <property name="compile.classpath" refid="maven.compile.classpath"/> + <property name="runtime.classpath" refid="maven.runtime.classpath"/> + <property name="test.classpath" refid="maven.test.classpath"/> + <property name="plugin.classpath" refid="maven.plugin.classpath"/> + <ant antfile="${basedir}/build.xml" inheritRefs="true" inheritAll="true"> + <target name="${target}"/> + </ant> + </tasks> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>ant-contrib</groupId> + <artifactId>ant-contrib</artifactId> + <version>1.0b2</version> + </dependency> + </dependencies> + </profile> + + </profiles> +</project> Added: irrigation/trunk/src/main/resources/web/client.jnlp =================================================================== --- irrigation/trunk/src/main/resources/web/client.jnlp (rev 0) +++ irrigation/trunk/src/main/resources/web/client.jnlp 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- irrigation client jnlp --> +<jnlp spec="1.6+" codebase="@CODEBASE_URL@" href="client.jnlp"> + <information> + <title>Virtual Commons Experiment</title> + <vendor>The Virtual Commons, Center for the Study of Institutional Diversity, Dr. Marco Janssen, Marty Anderies, Allen Lee, Sanket Joshi</vendor> + <homepage href="http://commons.asu.edu"/> + <description>Virtual Commons Experiment</description> + </information> + <resources> + <j2se version="1.6+"/> + <jar href="client.jar"/> + <jar href='@FRAMEWORK_JAR@'/> + </resources> + <application-desc main-class="@MAIN_CLASS@"/> +</jnlp> + Added: irrigation/trunk/src/main/resources/web/facilitator.jnlp =================================================================== --- irrigation/trunk/src/main/resources/web/facilitator.jnlp (rev 0) +++ irrigation/trunk/src/main/resources/web/facilitator.jnlp 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- irrigation facilitator JNLP --> +<jnlp spec="1.6+" codebase="@CODEBASE_URL@" href="facilitator.jnlp"> + <information> + <title>Virtual Commons Experiment</title> + <vendor>The Virtual Commons, Center for the Study of Institutional Diversity, Dr. Marco Janssen, Marty Anderies, Allen Lee, Sanket Joshi</vendor> + <homepage href="http://commons.asu.edu"/> + <description>Virtual Commons Experiment</description> + </information> + <resources> + <j2se version="1.6+"/> + <jar href="facilitator.jar"/> + <jar href='@FRAMEWORK_JAR@'/> + </resources> + <application-desc main-class="@MAIN_CLASS@"/> +</jnlp> + Added: irrigation/trunk/src/main/resources/web/index.html =================================================================== --- irrigation/trunk/src/main/resources/web/index.html (rev 0) +++ irrigation/trunk/src/main/resources/web/index.html 2009-10-07 23:30:13 UTC (rev 287) @@ -0,0 +1,12 @@ +<html> +<head> +<META HTTP-EQUIV="Refresh" CONTENT="0;URL=client.jnlp"> +<title>Virtual Commons Experiment</title> +</head> +<body> +<p> +Automatically starting the client. You may close this window after the client +loads. Please <b>do not reload or refresh</b> this window. +</p> +</body> +</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |