Skip to content

Commit

Permalink
Some resources missing in git_rep added, minor updates needed before …
Browse files Browse the repository at this point in the history
…release

docs/ is full of info that should be in released app. added official
Icon of OVT, some build.xml updates and bundlers may not be needed at
all and can be ignored
  • Loading branch information
frejon committed Sep 4, 2015
1 parent 1d00032 commit 6291033
Show file tree
Hide file tree
Showing 27 changed files with 3,296 additions and 25 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ nbproject/private/private.xml
src/libovt/libovt-3.0.jnilib_temp

src/libovt/magpackbackup.c
lib/jogl/Archive.zip
dist copy/

lib/vtk copy.jar

lib/jogl/Archive.zip
src/ovt/object/MainFieldlineModule.javabackup

src/ovt/util/ImageOperations.backupjava

vtkError.txt
43 changes: 43 additions & 0 deletions Infopliststub.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>JavaAppLauncher</string>
<key>CFBundleIconFile</key>
<string>ovt.icns</string>
<key>CFBundleIdentifier</key>
<string>ovt.XYZWindow</string>
<key>CFBundleDisplayName</key>
<string>OVT</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ovt</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>JVMRuntime</key>
<string>jdk1.8.0_45.jdk</string>
<key>JVMMainClassName</key>
<string>ovt.XYZWindow</string>
<key>JVMOptions</key>
<array>
<string>-Djava.library.path=/Users/frejon/OVT/ovt/VTKBuild/lib:/Users/frejon/OVT/ovt/src/libovt</string>
<string>-Duser.dir=$APP_ROOT/Contents/Resources</string>
</array>
<key>JVMArguments</key>
<array>
</array>
<key>Properties</key>
</dict>
</plist>
57 changes: 47 additions & 10 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
Expand All @@ -40,19 +40,19 @@
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
Expand All @@ -64,10 +64,47 @@
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
nbproject/build-impl.xml file.
-->
<target name="-post-jar">
<jar jarfile="dist/ovtzip.jar">
<zipfileset src="${dist.jar}" excludes="META-INF/*" />

<zipfileset src="dist/lib/commons-io-2.4.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/jogl-all.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/gluegen-rt.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/parser.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/sscWebServicesJaxWs-client.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/vtk.jar" excludes="META-INF/*" />
<manifest>
<attribute name="Main-Class" value="ovt.XYZWindow"/>
</manifest>
</jar>
</target>

<property environment="env" />

<taskdef name="bundleapp"
classname="com.oracle.appbundler.AppBundlerTask"
classpath="lib/appbundler-1.0.jar" />

<target name="bundle-ovt">
<bundleapp outputdirectory="dist"
name="ovt"
displayname="OVT"
identifier="ovt.XYZWindow"
icon="ovt.icns"
mainclassname="ovt.XYZWindow">
<runtime dir="${env.JAVA_HOME}" />
<classpath file="dist/ovtzip.jar" />
<!--<librarypath dir="dist/lib/"/>-->
<option value="-Djava.library.path=/Users/frejon/OVT/ovt/VTKBuild/lib:/Users/frejon/OVT/ovt/src/libovt"/>
<option value="-Duser.dir=$APP_ROOT/Contents/Resources"/>
</bundleapp>
</target>

</project>
81 changes: 81 additions & 0 deletions docs/INSTALL-LINUX-RPM.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="Keywords" content="OVT ovt orbit visualization">
<meta name="description" content="Orbit Visualization Tool (OVT)
RPM Installation under LINUX">
<link rel="StyleSheet" href="/ovt_web.css" type="text/css" media="screen">
<title>OVT 2.3 RPM installation under LINUX</title>
</head>
<body>
<h1>OVT 2.3 RPM installation under LINUX</h1>
<hr>

<li>Install Java 1.4.x or 1.3.x<BR><BR>
For example - Sun's j2se SDK 1.4.2:
<UL>
<LI> download <B>Linux RPM in self-extracting file</B> from <a href="http://java.sun.com/j2se/1.4.2/download.html" target=_newwin>this page</a>.<BR>
<LI><TT>$ sh j2sdk-1_4_2_01-linux-i586-rpm.bin</TT><BR>
<LI><TT>$ rpm -i j2sdk-1_4_2_01-linux-i586.rpm</TT><BR>
</UL>

<BR><BR>

<LI>Install VTK 4.2 RPMS (
<A HREF="http://ovt.irfu.se/vtk/files/vtk-4.3.0-1.cvs20030930.i386.rpm">vtk-4.3.0-1.cvs20030930.i386.rpm</A>
and
<A HREF="http://ovt.irfu.se/vtk/files/vtk-java-4.3.0-1.cvs20030930.i386.rpm">vtk-java-4.3.0-1.cvs20030930.i386.rpm</A>)
<BR><BR>
<UL>
<LI><tt>$ rpm -i vtk-4.3.0-1.cvs20030930.i386.rpm</tt>
<LI><tt>$ rpm -i vtk-java-4.3.0-1.cvs20030930.i386.rpm</tt>
</UL>
<BR>

If you get the dependency error about missing libraries
(e.g. libstdc++.so.6, etc.) you should install them. You
can use <A HREF="http://rpmfind.net">http://rpmfind.net</A>
to locate the appropriate RPM.<BR><BR>

If you get:<BR>
<PRE>
error: Failed dependencies:
libjawt.so is needed by vtk-java-4.3.0-1.cvs20030930
</PRE>
Force <TT>vtk-java</TT> installation:
<tt>$ rpm -i --nodeps vtk-java-4.3.0-1.cvs20030930.i386.rpm</tt>
<BR><BR>

<!--
<PRE>
error: failed dependencies:
libvga.so.1 is needed by vtk-java-4.3.0-1.cvs20030930
</PRE>
You need to install <TT>svgalib</TT> package.
You can download <TT>svgalib-1.4<TT> rpm (RedHat 7.1 distribution) <A HREF="ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/powertools/i386/RedHat/RPMS/svgalib-1.4.1-13.i386.rpm">here</A>
//-->

Note, that VTK also requires OpenGL or Mesa libraries.
<BR><BR>
<LI> Install OVT RPM
<UL><LI><tt>$ rpm -i ovt-2.3-1.i386.rpm</tt></UL>


<li> Run OVT
<UL><tt>$ /usr/local/bin/ovt</tt></UL>

</ul>
<BR><BR>

<!--<li> Enjoy!-->
<hr>
Copyright &copy 2000-2002 OVT Team.
All rights reserved.
<br><br>
<small>
http://<!--#echo var="SERVER_NAME" var="DOCUMENT_URI"-->
<br>
last modified on <!--#echo var="LAST_MODIFIED"-->
</small>
</body>
</html>
163 changes: 163 additions & 0 deletions docs/INSTALL-UNIX.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta name="Author" content="[email protected]">
<meta name="Keywords" content="OVT ovt orbit visualization">
<meta name="description" content="Orbit Visualization Tool (OVT)
Installation under UNIX">
<link rel="StyleSheet" href="/ovt_web.css" type="text/css" media="screen">
<title>OVT 2.1 :: Installing under UNIX</title>
</head>
<body>
<h1>OVT 2.1 :: Installing under UNIX</h1>

<hr>

<ul>
<li><a href="#intro">Requirements</a>
<li><a href="#ovt">OVT Installation</a>
</ul>

<hr>

<a name="intro"><h2>Requirements</h2></a>
<blockquote>
OVT requires :
<UL>
<LI> Java (J2SE/JDK 1.2-1.3.x)
<LI> OpenGL or Mesa
<LI> VTK (Visualization Toolkit) 3.2 with Java support
</UL>

<BR><BR>

Follow the following steps before building OVT:
<ol>
<li><a href="#java">Install Java</a>
<li><a href="#vtk">Install OpenGL or Mesa libraries</a>
<li><a href="#vtk">Install VTK with Java support</a>
</ol>

<a name="java"><h3>Java Installation</h3></a>
<blockquote>
You need to install Java 2 Standard Edition (J2SE) version 1.2 - 1.3.x.<BR> <BR>

Note that OVT doesnt not work with versions: 1.1.x, 1.4.<BR><BR>

Install <A HREF="http://java.sun.com/j2se/1.3/">SUN's implementations of Java</A>
(recommended) or <a href="http://java.sun.com/cgi-bin/java-ports.cgi">Java Port by the vendor other then SUN Microsystems</a>.
<BR><BR>

To speed up OVT and VTK compilation process you can also install <A HREF="http://oss.software.ibm.com/developerworks/opensource/jikes/">jikes</A>.
</blockquote>
<!--
<a name="opengl"><h3>OpenGL/Mesa Installation</h3></a>
<blockquote>
OpenGL/Mesa is needed by VTK.<BR><BR>
If you have OpenGL already installed you should use it, otherwise install <a href="http://www.mesa3d.org/">Mesa</A>.
<BR><BR>
Mesa works faster on Xfree86-4 because of GLX support.
It is possible to run OVT to a remote X-display but depending on server/display
configuration performance/stability could differ seriously. Please refer to platform
specific tips for more details.
</blockquote>
//-->

<a name="vtk"><h3>OpenGL/Mesa Installation, VTK Installation</h3></a>
<blockquote>
For OpenGL/<a href="http://www.mesa3d.org/">Mesa</A> and <a href="http://www.kitware.com/vtk/">VTK</A> installation please refer
VTK for OVT page (<a href="http://ovt.irfu.se/vtk/">http://ovt.irfu.se/vtk/</a>)
</blockquote>

<!--
<blockquote>
<A HREF="ftp://public.kitware.com/pub/vtk/vtk3.2/vtk32-src-unix.tgz">Download</A> VTK 3.2 source files from Kitware FTP server.<BR>
Installing VTK with Java support is more complicated ;-) The most important moments
are to modify thread support for some systems (FreeBSD, Linux) and to link VTK Java
library with extra C++ libraries. If you will be using VTK only for OVT/Java then
disable TCL and Python support because of timing. For details please refer to VTK
documentation and our VTK page
(http://ovt.irfu.se/vtk/</a>)
</blockquote>
//-->
</blockquote>

<a name="ovt"><h2>OVT Installation</h2></a>
<blockquote>
<OL>

<LI> Download OVT sources (<TT>ovt2g-2.1-XX.src.tar.gz</TT>) from <A HREF="http://ovt.irfu.se/download/">http://ovt.irfu.se/download/<A>
<BR><BR>

<LI> Unpack sources: <TT>gzcat ovt2g-2.1-XX.src.tar.gz | tar xvf -</TT><BR><BR>

<LI> <TT>cd ovt2g-2.1</TT><BR><BR>

<!--
<LI> Run <TT>autoconf</TT> wich will generate configure script.<BR><BR>
//-->

<LI> Run <TT>configure</TT> script:<BR>

<TT>./configure --with-jdk=/path/to/your/JDKHOME --with-vtk-classpath=/path/to/your/vtk.jar --with-vtk-lib=/path/to/your/vtk/libs/dir</TT><BR><BR>
Use <TT>./configure --help</TT> for help.<BR><BR>
If you have installed jikes, add it to PATH before running <TT>configure</TT>.<BR><BR>
<LI> <TT>make</TT><BR><BR>

<LI> Become a superuser: <TT>su -l</TT><BR><BR>

<LI> <TT>make install</TT><BR><BR>
By default OVT will be installed under <TT>/usr/local/</TT>.<BR>
If you want OVT to be installed under the directory other than /usr/local/,
let's say <TT>/opt</TT> you have to supply <TT>configure</TT> with
<TT>--with-prefix=/opt</TT> parameter.<BR><BR>


<LI> Run OVT: <TT>/usr/local/bin/ovt.sh</TT><BR><BR>

</blockquote>
<!--
<h5>UNIX shared multiuser installation</h5>
<blockquote>
To run program properly user should have write permissions to OVT configuration and data
directories. To avoid interaction between users it is possible to make a personal installation.
To do so run <tt>$OVT_HOME/bin/ovt.sh –install</tt>.
It will copy all the necessary data
to <tt>$HOME/ovt2g</tt> and then will use only personal data and configuration
files.
</blockquote>
//-->

<!--
<a name="tips"><h2>Platform specific tips</h2></a>
<blockquote>
For the moment we have seen OVT working on the following platforms:
<ul>
<li>FreeBSD/i386 3.4 STABLE
<li>Solaris 7 (Sparc)
<li>Solaris 2.6 (x86)
<li>Windows 98
<li>Windows NT 4.8 SP6
<li>RedHat Linux 5.2
</ul>
</blockquote>
//-->
<hr>
Copyright &copy 2000-2002 OVT Team.
All rights reserved.
<br><br>
<font size=-2>
<!--#echo var="SERVER_NAME" var="DOCUMENT_URI"-->
<br>
last modified on <!--#echo var="LAST_MODIFIED"-->
</font>
</body>
</html>

2 changes: 2 additions & 0 deletions docs/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

Loook at RELNOTES.html and INSTALL-UNIX.html
Loading

0 comments on commit 6291033

Please sign in to comment.