Hi Bill,

Are you using a "real" shell, or the one that comes with Windows
(i.e., CMD.EXE or COMMAND.COM)? The real problem is that Windows
shells don't expand '*'s, like UNIX shells do; they leave it up to the
application program to do. Unfortunately, the last time I checked,
Sun's Win32 javac would expand no more than one '*' on a line, and it
wouldn't expand '*'s into directories. So if you typed in the line
below to a normal Windows shell, you'd get an error. Furthermore, this
wouldn't work either

        javac -d . jess/examples/*/*.java

On the other hand, if you're using a port of a UNIX shell (cygwin's
bash, for example) on Windows then the shell expands the wildcards,
and javac just sees a long list of file names; then both of these
command lines work. Anyway, the safest recommendation is just to tell
people to type the simplest commands known to work everywhere.

I think Bill Wheeler wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Actually, from the c:\Jess51 directory, the 
> 
>       javac -d . jess/*.java jess/awt/*.java jess/factory/*.java
> 
> command always works for me.  Never had any problems so long as I was in the
> lower Jess directory.
>   
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 9:10 PM
> To: Helio Correa Filho
> Cc: [EMAIL PROTECTED]
> Subject: Re: JESS: Doubts above setup
> 
> 
> The Jess manual is wrong about what you can type to compile Jess on
> Windows with the JDK. Due to the way that javac and the Windows
> command shell are implemented, you can effectively only use one
> asterisk per command line, so you have to type something like
> 
>   javac -d . jess\*.java
>   javac -d . jess\awt\*.java
>   javac -d . jess\factory\*.java
>   javac -d . jess\examples\pumps\*.java
>   javac -d . jess\examples\simple\*.java
>   javac -d . jess\examples\xfer\*.java
> 
> to compile all of Jess. I've corrected this in later versions of the
> Jess manual. 
> 
> I think Helio Correa Filho wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > Hi,
> > I'm using JESS 5.1, jdk1.3.0_02 with Windows NT4.0 Operational System.
> When I execute the command: C:\Jess51\jess> javac -d . jess/*.java
> jess/awt/*.java jess/factory/*.java
> > appears the following message of error: 
> > error: cannot read: jess/examples/*.java
> > 1 error
> >  
> > installation: C:\jdk1.3.0_02\bin \... and C:\Jess51\jess, My path is: 
> > classpath C:\Jess51 , see figure below.
> > 
> > 
> > could be something with the classpath? 
> > 
> > thanks...
> > Helio.
> 
> [image/jpeg is not supported, skipping...]
> 
> 
> 
> ---------------------------------------------------------
> Ernest Friedman-Hill  
> Distributed Systems Research        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> Org. 8920, MS 9012                  [EMAIL PROTECTED]
> PO Box 969                  http://herzberg.ca.sandia.gov
> Livermore, CA 94550
> 
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify
> [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list (use your own address!) List problems? Notify
> [EMAIL PROTECTED]
> ---------------------------------------------------------------------



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to