[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
files required
From: |
david ROBIN |
Subject: |
files required |
Date: |
Wed, 5 Jan 2000 03:09:31 -0800 (PST) |
Hi, first i wish a happy new year to all the members
of the list.
I got the basic 2.0.1 swarm release for Windows NT,
and i got several questions about the content of this
release:
In a user letter of september, i read that all we need
to use swarm in java are the swarm.jar and the
javaswarm.dll files, but what about tcl/tk8.0:
i believed that it was needed to draw the probes , the
control panel and the graphs?
I saw that in the swarm-2.0.1/share directory that
there is also a tool named blt2.4, and want to know
what it is use for, and if it is needed in more of the
swarm.jar and the javaswarm.ddl .
In a letter i sent to you in december, i reported i
got trouble when i probe a double in java under NT.
Marcus told me it came from kaffe.
I was using jbuilder2 just as a text editor, and i
compiled and started my swarm programs in a swarm
terminal.
So, in order to solve this problem, i just had the
swarm.jar file to my jbuilder project, and compile and
start my application with jbuilder (which use sun jdk)
and probing double works perfectly.
But i have only access to jbuilder at work, and i want
to use swarm at home( still under Windows systems), so
i start hacking the code of the javaswarm file, but i
am not enough experienced with unix system to achieve
this work.
here is what i done (i got jdk1.2 at the following
place : c:\jdk1.2)
#!/bin/sh
swarm_prefix="${SWARMROOT}"
swarm_exec_prefix="${swarm_prefix}"
jdkdir="/jdk1.2"
if test yes = yes; then
PATH=${swarm_exec_prefix}/bin:${CYGFS}H-i586-cygwin32/lib/../bin:$PATH
else
PATH=`cat << EOF | sort 2>/dev/null | uniq | tr
'\012' ':'
${swarm_exec_prefix}/lib
${CYGFS}H-i586-cygwin32/lib
${CYGFS}H-i586-cygwin32/lib
${SWARMROOT}/lib
${SWARMROOT}/lib
${SWARMROOT}/lib
EOF
`$PATH
fi
JAVALIBS="${SWARMROOT}/bin:${jdkdir}/jre/bin/java"
_JAVACLASSES="${JDKPATH}/jre/lib/rt.jar"
if test yes = yes; then
DOSJAVALIBS=''
for path in `echo $JAVALIBS | tr ':' '\012'`; do
path=`eval echo $path`
DOSJAVALIBS="${DOSJAVALIBS}`cygpath -w "$path"`;"
done
JAVACLASSES=''
for path in `echo $_JAVACLASSES | tr ':' '\012'`; do
path=`eval echo $path`
JAVACLASSES="${JAVACLASSES}`cygpath -w "$path"`;"
done
PS=';'
PD='\'
swarmclassdir=`cygpath -w "${swarm_prefix}/share"`
KAFFELIBRARYPATH=`cygpath -w
"${swarm_exec_prefix}/bin"`${PS}${DOSJAVALIBS}
else
JAVACLASSES=$_JAVACLASSES
PS=:
PD=/
swarmclassdir="${swarm_prefix}/share"
KAFFELIBRARYPATH="${swarm_exec_prefix}/lib${PS}${JAVALIBS}"
fi
JAVAENV=
JAVACMD=${jdkdir}/libexec/Kaffe
export PATH KAFFELIBRARYPATH
JAVA_CLASSES_INSTALLED_AS=jar
if test x$JAVA_CLASSES_INSTALLED_AS = xjar; then
classpath=".${PS}${swarmclassdir}${PD}swarm${PD}swarm.jar${PS}${JAVACLASSES}${PS}$CLASSPATH"
else
classpath=".${PS}${swarmclassdir}${PS}${JAVACLASSES}${PS}$CLASSPATH"
fi
if test -z "$*"; then
echo "KAFFELIBRARYPATH=\"$KAFFELIBRARYPATH\""
echo "PATH=\"$PATH\""
echo "CLASSPATH=\"$classpath\""
echo "export KAFFELIBRARYPATH PATH CLASSPATH"
elif test -n "$JAVASWARMGDB"; then
(echo "shell rm -f /tmp/.gdbinit.$$";
echo "cd `pwd`"; echo "set args $*" ) >
/tmp/.swarmgdbinit.$$
eval "$JAVAENV CLASSPATH='$classpath' $JAVASWARMGDB
-command /tmp/.swarmgdbinit.$$ $JAVACMD"
rm -f /tmp/.swarmgdbinit.$$
else
eval "$JAVAENV CLASSPATH='$classpath' $JAVACMD $*"
fi
Thanks in advance for answering me.
Regards
David.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.