hps-java/sandbox
diff -N fileprod.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ fileprod.sh 29 Apr 2012 23:45:10 -0000 1.1
@@ -0,0 +1,2 @@
+./scripts/et_evio_file_producer.sh -e ./hps_000620.evio.0 -f /tmp/et -s 300000 -host $(hostname) -d 100
+#-d 1000
hps-java/sandbox
diff -N old.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ old.sh 29 Apr 2012 23:45:10 -0000 1.1
@@ -0,0 +1,15 @@
+< # This stuff only works on Linux due to dependency on a system-dependent JNI lib which doesn't seem to compile on OSX.
+< if [ $(uname) = "Linux" ]
+< then
+< echo "Running on a Linux system. OK."
+< else
+< echo "Not running on a Linux system. Bailing!"
+< exit 1
+< fi
+<
+< # Check for LD_LIBRARY_PATH which should point to hps-et-java lib dir.
+< if [ -z "$LD_LIBRARY_PATH" ]; then
+< echo "No LD_LIBRARY_PATH is set in your environment. Set this to [--YOUR_PATH_TO--]/hps-et-java/lib/lib/Linux-x86_64/ and try again."
+< exit 1
+< fi
+
hps-java/sandbox
diff -N pom.xml.bkp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pom.xml.bkp 29 Apr 2012 23:45:10 -0000 1.1
@@ -0,0 +1,156 @@
+<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>
+ <artifactId>hps-java</artifactId>
+ <groupId>org.lcsim</groupId>
+ <name>Heavy Photon Search Java Project</name>
+ <version>1.1-SNAPSHOT</version>
+ <description>Heavy Photon Search java code that uses lcsim infrastructure.</description>
+ <scm>
+ <connection>scm:cvs:pserver:[log in to unmask]:/cvs/lcd:hps-java</connection>
+ <developerConnection>scm:cvs:pserver:[log in to unmask]:/cvs/lcd:hps-java</developerConnection>
+ <url>http://source.freehep.org/jcvsweb/ilc/LCSIM/list/hps-java</url>
+ </scm>
+ <distributionManagement>
+ <site>
+ <id>hps-java</id>
+ <name>hps-java</name>
+ <url>scp://svn.slac.stanford.edu///nfs/slac/g/lcd/mc/prj/www/lcsim/software/hps-java/${project.version}</url>
+ </site>
+ <repository>
+ <id>lcsim-maven-slac-linux</id>
+ <name>org.lcsim Maven Repository</name>
+ <url>scpexe://svn.slac.stanford.edu///nfs/slac/g/lcd/mc/prj/www/lcsim/maven2/</url>
+ </repository>
+ </distributionManagement>
+ <repositories>
+ <repository>
+ <id>lcsim-maven</id>
+ <name>org.lcsim Maven Repository</name>
+ <url>http://lcsim.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ <checksumPolicy>ignore</checksumPolicy>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>freehep-maven</id>
+ <name>FreeHEP Maven 2 Repository</name>
+ <url>http://java.freehep.org/maven2</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>freehep-maven</id>
+ <name>Freehep Plugin Repository</name>
+ <url>http://java.freehep.org/maven2</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <showDeprecation>false</showDeprecation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Xmx1024m</argLine>
+ <forkMode>pertest</forkMode>
+ <excludes>
+ <!-- Fix for http://jira.codehaus.org/browse/SUREFIRE-288 -->
+ <exclude>**/*$*</exclude>
+ <exclude>org/lcsim/hps/evio/DoEvioTest.java</exclude>
+ <exclude>org/lcsim/hps/et/BasicET12SystemTest.java</exclude>
+ <exclude>org/lcsim/hps/evio/RawTrackerHitToEvio4Converter_Test.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.freehep</groupId>
+ <artifactId>freehep-jas-plugin</artifactId>
+ <version>2.0.1</version>
+<!--
+ <executions>
+ <execution>
+ <goals>
+ <goal>install</goal>
+ </goals>
+ </execution>
+ </executions>
+-->
+ <configuration>
+ <jarName>hps-java</jarName>
+ <includes>
+ <include>org.lcsim:hps-java</include>
+ <include>org.lcsim:hps-detectors</include>
+ <include>org.lcsim:jevio-base</include>
+ <include>org.lcsim:hps-et-java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.3.3</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>bin</shadedClassifierName>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.lcsim.job.JobControlManager</mainClass>
+ </transformer>
+ </transformers>
+ <artifactSet>
+ <excludes>
+ <exclude>hep.testdata.aida:*</exclude>
+ </excludes>
+ </artifactSet>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.lcsim</groupId>
+ <artifactId>lcsim</artifactId>
+ <version>1.23-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.lcsim</groupId>
+ <artifactId>hps-et-java</artifactId>
+ <version>12.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.lcsim</groupId>
+ <artifactId>hps-detectors</artifactId>
+ <version>1.1-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.freehep</groupId>
+ <artifactId>freehep-jaida-remote</artifactId>
+ <version>3.3.0-12-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+</project>