Skip to content

Commit 8bd970d

Browse files
committed
Import
1 parent 597307a commit 8bd970d

131 files changed

Lines changed: 3124321 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
HybridVis
2+
=========
3+
4+
HybridVis creates visualizations using the hybrid image method [1].
5+
6+
**This software is supplied for experimentation and to make it possible to reproduce the paper results, but we are not committed to maintaining it.**
7+
8+
## Building HybridVis
9+
10+
The build is managed by `ant`.
11+
12+
`ant run` will build and run the software
13+
14+
`ant uberjar` will build an archive containing the software and all of its
15+
dependencies.
16+
17+
[1] https://hal.inria.fr/hal-00844878/PDF/HybridImageVisualization_CameraReady.pdf

build.xml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<project name="hybridvis" basedir="." default="main">
2+
3+
<property name="src.dir" value="src"/>
4+
<property name="lib.dir" value="lib"/>
5+
<property name="resources.dir" value="resources"/>
6+
7+
<path id="classpath">
8+
<fileset dir="${lib.dir}" includes="**/*.jar"/>
9+
</path>
10+
11+
<property name="build.dir" value="build"/>
12+
<property name="classes.dir" value="${build.dir}/classes"/>
13+
<property name="jar.dir" value="${build.dir}/jar"/>
14+
15+
<property name="main-class" value="fr.aviz.hybridvis.HybridImageGenerator"/>
16+
17+
<target name="clean">
18+
<delete dir="${build.dir}"/>
19+
</target>
20+
21+
<target name="compile">
22+
<mkdir dir="${classes.dir}"/>
23+
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath" includeantruntime="false" source="1.7" target="1.7"/>
24+
</target>
25+
26+
<target name="jar" depends="compile">
27+
<mkdir dir="${jar.dir}"/>
28+
<jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">
29+
<manifest>
30+
<attribute name="Main-Class" value="${main-class}"/>
31+
</manifest>
32+
<fileset dir="." includes="${resources.dir}/**" excludes="**/*.swp"/>
33+
</jar>
34+
</target>
35+
36+
<target name="uberjar" depends="compile">
37+
<jar destfile="${jar.dir}/${ant.project.name}-with-dependencies.jar">
38+
<manifest>
39+
<attribute name="Main-Class" value="${main-class}"/>
40+
</manifest>
41+
<fileset dir="${classes.dir}" includes="**/*.class" />
42+
<restrict>
43+
<name name="**/*.class"/>
44+
<archives>
45+
<zips>
46+
<fileset dir="lib" includes="**/*.jar"/>
47+
</zips>
48+
</archives>
49+
</restrict>
50+
</jar>
51+
</target>
52+
53+
<target name="run" depends="jar">
54+
<java fork="true" classname="${main-class}">
55+
<classpath>
56+
<path refid="classpath"/>
57+
<path location="${jar.dir}/${ant.project.name}.jar"/>
58+
</classpath>
59+
</java>
60+
</target>
61+
62+
<target name="clean-build" depends="clean,jar"/>
63+
64+
<target name="main" depends="clean,jar"/>
65+
66+
</project>

0 commit comments

Comments
 (0)