[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make: Win32 make and java: unresolved symbols
From: |
Donald B. McGee |
Subject: |
make: Win32 make and java: unresolved symbols |
Date: |
Tue, 06 Feb 2001 02:07:24 GMT |
I'm running the cygnus make version 3.79.1 under Windows 2000
Pro. I'm trying to build a java class. The following batch file
works fine:
REM this is one line, ignore any wrap
w:\jdk130\bin\javac -classpath
w:/webl510/myserver/CarSuiteSvlt.jar;w:/webl510/lib/webLogicaux.jar;w:/jdk130/lib/classes.zip
t.java
REM another line
copy t.class w:\webl510\myserver
But this makefile fails:
JAVAC = /w/jdk130/bin/javac
CLASSPATH = -classpath
/w/jdk130/lib/classes.zip:/w/webl510/myserver/CarSuiteSvlt.jar:/w/webl510/lib/weblogicaux.jar
all : t.class
cp t.class /w/webl510/myserver
t.class : t.java
${JAVAC} ${CLASSPATH} t.java
The zip and jar files are apparently being found (since I can
create the "can't find file" error by setting the paths to "w:\
....), but symbols that are being resolved properly in the batch
file are unresolved in the makefile. The errors say that the
packages in the jar files don't exist, and that the symbols
defined the jar files can't be resolved.
The result is the same whether I execute make from a bash shell
with MAKE_MODE=UNIX or from a DOS prompt. Drive w: is properly
mounted to /w under Cygwin, since I can do an ls on it and in any
case the compiler is executing.
Any ideas?
--
Donald B. McGee
XFI Corporation
www.xfi.com
- make: Win32 make and java: unresolved symbols,
Donald B. McGee <=