Mail Archives: cygwin/1999/02/22/15:48:56
------_=_NextPart_000_01BE5EA4.668A441C
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When I try to compile a java file, bash is apparently munging the =
filename
that the java compiler sees.=A0 I've attached a very simple .java file =
for
test purposes.=A0 Here's what I see when I use the jdk1.1.7 compiler =
from Sun:
=A0- If I comment out the package statement and compile the file in the
default package, it works fine.
=A0- If I put the file in a relative directory named "test", and then =
compile
with javac test/TimerAction.java, I get an error message from javac =
like:
=A0
test/TimerAction.java:15: Public interface test.TimerAction must be =
defined
in a file called "TimerAction.java".
=A0
I don't get this error if I compile under an NT shell.=A0 I also don't =
get the
error if I compile with the jdk1.2 compiler.=A0 This error is =
preventing me
from using make on NT to build my system.=A0 For the current project,
switching to 1.2 isn't an option yet, and many project members do not =
have
access to a unix system.
=A0
Did I forget to set some option somewhere?=A0 Is this a known =
problem?=A0 Thanks
for your help.
=A0
John Collins
KeyTech LLC, Eagan, MN
------_=_NextPart_000_01BE5EA4.668A441C
Content-Type: application/octet-stream;
name="TimerAction.java"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="TimerAction.java"
Content-Location: ATT-0-A5C0F93B5BCAD211A36400104B2E651E-T
IMERA%7E2.JAV
// $Header: c:\Projects\jec_library\TimerAction.java, 1, 11/24/98 =
1:58:54 PM, John Collins$=0A=
// =
------------------------------------------------------------------------=
-=0A=
// Revision History:=0A=
//=0A=
// Nov 6 1998 John E. Collins=0A=
// Copy from Magnet=0A=
=0A=
package test;=0A=
=0A=
/**=0A=
* You create one of these (presumably as an anonymous class) to =
specify=0A=
* what you want to have happen at the end of a Timer delay.=0A=
* @author John Collins=0A=
*/=0A=
public interface TimerAction {=0A=
=0A=
/**=0A=
* This is the method that gets called by the Timer. It is assumed =
to=0A=
* have side effects; otherwise why would you bother? It is also=0A=
* responsible for catching its own exceptions, since the Timer =
won't.=0A=
*/=0A=
public void action();=0A=
}=0A=
------_=_NextPart_000_01BE5EA4.668A441C
Content-Type: text/plain; charset=
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BE5EA4.668A441C--
- Raw text -