[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jipd-grid-0.0.1 error
From: |
Pietro Terna |
Subject: |
Re: jipd-grid-0.0.1 error |
Date: |
Fri, 02 Feb 2001 01:06:14 +0100 |
At 16.37 31/01/2001 -0800, you wrote:
>>>>> "PT" == Pietro Terna <address@hidden> writes:
PT> CLASSPATH=ptolemy.plot.jar: /Swarm-2.1.1/bin/javacswarm
Windows uses a CLASSPATH separator of ";" not ":". But that's not my
point -- what I'm saying is that the fact you can compile with jdkswarm
at all implies you have a different environment, one way or another
(e.g. a CLASSPATH or something in the ext/ subdirectory).
Now I've eliminated ext/ contents.
In jipd-grid-0.0.1 Makefile I've modified CLASSPATH as follows:
all: $(JAVA_SRC)
CLASSPATH="ptolemy.plot.jar;$(CLASSPATH)"
$(SWARMHOME)/bin/javacswar $(JAVA_SRC)
from the Swarm terminal I enter:
address@hidden/Swarm-2.1.1/jipd-grid-0.0.1] $ export
CLASSPATH="/jdk1.2.2/jre/lib/rt.jar"
then with make
address@hidden/Swarm-2.1.1/jipd-grid-0.0.1] $ make
CLASSPATH="ptolemy.plot.jar;/jdk1.2.2/jre/lib/rt.jar"
/Swarm-2.1.1/bin/javacswar
m ObserverSwarm.java PrisonerException.java SwarmRaster.java Main.java
Payoffs.j
ava Strategy.java ModelSwarm.java Prisoner.java StrategyGrapher.java
Location.java
Found 2 semantic errors compiling
"C:/Swarm-2.1.1/jipd-grid-0.0.1/Location.java":
22. if ((y+1 < grid.getHeight())
<-------------->
*** Error: No method named "getHeight" was found in type "SwarmRaster"
28. if ((x+1 < grid.getWidth())
<------------->
*** Error: No method named "getWidth" was found in type "SwarmRaster"
make: *** [all] Error 1
SwarmRaster extends JFrame and the Swing jComponent Class contains
getHeight or getWidth.
So, what is wrong?
Pietro
==================================
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.
- Re: jipd-grid-0.0.1 error,
Pietro Terna <=