swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Getting jheatbugs to compile


From: Alex Olivas
Subject: Re: [Swarm-Support] Getting jheatbugs to compile
Date: Sat, 02 Oct 2004 18:11:15 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030

I installed swarm-jdk after getting the correct version of java SDK and jikes. I didn't see a java directory at the ftp site "ftp://ftp.swarm.org"; and none of
the three mirrors seemed to work.  All of the code in the cvs snapshot below
appears to be objc. In any case I was able to get the "old" version of jheatbugs (from swarmapps-2.1.150.20040413) to run. Thanks,
Alex.

Paul Johnson wrote:

2 elements.

1. You need the swarm-jdk rpm if you want to use java.
2. There's an updated jheatbugs you need, you can get it in the ftp site, under the "testing" subdirectory of java/sdg, and also i just took a snapshot of the Swarm cvs apps directory, I think you find it in there too

http://lark.cc.ku.edu/~pauljohn/Swarm/MySwarmCode/swarmapps_snap_20040925.tar.gz




Alex Olivas wrote:

I installed swarm and swarmapps using rpms provided by Paul Johnson
and a FC1 machine.  I can compile objc applications just fine, but am
having trouble getting the java applications (e.g. jheatbugs) to work.
I have SWARMHOME set the same for both.  I'm assuming this doesn't
need to change from objc to java?  When I try to compile I get the
following error message...

address@hidden jheatbugs]$ make executable
echo /usr | grep    "swarm-[12]\.[01]" \
&& (grep "new FArgumentsImpl (this, sel)" HeatbugModelSwarm.java >/dev/null && \ perl -pi.bak -e's/new FArgumentsImpl \(this, sel\)/new FArgumentsImpl (this, sel, true)/' HeatbugModelSwarm.java \
       ) || :
echo /usr | grep -v "swarm-[12]\.[01]" \
&& (grep "new FArgumentsImpl (this, sel, true)" HeatbugModelSwarm.java >/dev/null && \ perl -pi.bak -e's/new FArgumentsImpl \(this, sel, true\)/new FArgumentsImpl (this, sel)/' HeatbugModelSwarm.java \
       ) || :
/usr
/usr/bin/javacswarm HeatbugModelSwarm.java
make: /usr/bin/javacswarm: Command not found
make: *** [HeatbugModelSwarm.class] Error 127
address@hidden jheatbugs]$

I found javacswarm in /usr/local/swarm-2.1.150.20040413/java/

address@hidden jheatbugs]$ locate javacswarm
/usr/local/Downloads/swarm/swarm-2.1.1/java/javacswarm.in
/usr/local/swarm-2.1.150.20040413/java/javacswarm.in
/usr/local/swarm-2.1.150.20040413/java/javacswarm

...but don't really want to hack the Makefiles to remove /bin.

Any ideas?
Thanks,
Alex.

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support







reply via email to

[Prev in Thread] Current Thread [Next in Thread]