To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 55
54  |  56
Subject: 
Re: leJOS: anyone building under Cygwin? problem! (very long, not wrapped)
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Fri, 16 Mar 2001 21:52:43 GMT
Viewed: 
2384 times
  
In lugnet.robotics.rcx.java, Susan Hoover wrote:

I'm trying to run lejosc under Cygwin, and I'm running into an
unusual problem.

[snipped description of garbage characters output from lejosc]

I hate to follow up to my own post, but I have some more info.

This command line, with one item in the classpath, succeeds (well,
it actually launches the compiler on the correct files):

/prosrm/lejos:lejosc -d D:/dev/prosrm/build/classes -classpath D:/dev/jdk1.3/jr
e/lib/rt.jar D:/dev/prosrm/lejos/src/LineFollower.java

This command line, with a jar file and a directory in the classpath,
fails:

/prosrm/lejos:lejosc -d D:/dev/prosrm/build/classes -classpath D:/dev/jdk1.3/jr
e/lib/rt.jar;D:/dev/prosrm/build/classes D:/dev/prosrm/lejos/src/LineFollower.j
ava
bash: D:/dev/prosrm/build/classes: is a directory
/prosrm/lejos:

This command line, with two jar files in the command line, also fails:

/prosrm/lejos:lejosc -d D:/dev/prosrm/build/classes -classpath D:/dev/jdk1.3/jr
e/lib/rt.jar;C:/temp/jakarta-ant-1.3/lib/parser.jar D:/dev/prosrm/lejos/src/Lin
eFollower.java
C:/temp/jakarta-ant-1.3/lib/parser.jar: 1: Syntax error: word unexpected (expect
ing ")")
/prosrm/lejos:

Is it possible that lejosc is attempting to compile the 2nd thru nth
items in the classpath?

FYI, using / vs \\ does not make a difference.

--
Susan Hoover
Houston, TX



Message has 1 Reply:
  Re: leJOS: anyone building under Cygwin? problem! (very long, not wrapped)
 
(...) Twice, even! (...) I think it is. Putting "" around the entire classpath fixed the problem. This works: /prosrm/lejos:lejosc -d D:/dev/prosrm/build/classes -classpath "D:/dev/jdk1.3/j re/lib/rt.jar;C:/tem...arser.jar" D:/dev/prosrm/lejos/src/L (...) (24 years ago, 16-Mar-01, to lugnet.robotics.rcx.java)

Message is in Reply To:
  leJOS: anyone building under Cygwin? problem! (very long, not wrapped)
 
I'm trying to run lejosc under Cygwin, and I'm running into an unusual problem. Background: I am actually attempting to fix up a system so that I can use Jakarta-Ant (URL) to manage the build process. It's a long story, but we use Ant here at work (...) (24 years ago, 16-Mar-01, to lugnet.robotics.rcx.java)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR