From: Hubert Y. <yos...@da...> - 2001-10-16 23:03:31
|
<html> Two question.<br> When I compile by doing a <br> jythonc tryJythonSample.py<br> I get the following.<br> <br> <font color="#0000FF"><i>processing tryJythonSample<br> <br> Required packages:<br> java.lang<br> <br> Creating adapters:<br> <br> Creating .java files:<br> tryJythonSample module<br> tryJythonSample extends java.lang.Object<br> <br> Compiling .java to .class...<br> Compiling with args: ['C:\\jdk1.3.1\\bin\\javac', '-classpath', 'C:\\jython-2.0\<br> \jython.jar;;c:\\JSDK2.0\\bin;c:\\jdk1.3\\bin;c:\\j2sdkee1.2.1\\bin;c:\\jython-2<br> .0;.\\jpywork;;C:\\jython-2.0\\Tools\\jythonc;C:\\Hubert\\Work\\Projects\\tryJyt<br> hon\\.;C:\\jython-2.0\\Lib;C:\\jython-2.0', '.\\jpywork\\tryJythonSample.java']<br> 0 Note: Some input files use or override a deprecated API.<br> Note: Recompile with -deprecation for details.<br> <br> </font></i><font color="#000000">Note the last line. Wondering why this came out I did the following.<br> <br> </font><font color="#0000FF"><i>C:\Hubert\Work\Projects\tryJython>jythonc -deprecation tryJythonSample.py<br> Usage: jpythonc [options] [module]*<br> <br> where options include:<br> <br> --package package<br> -p package<br> put all compiled code into the named Java package<br> .<br> .<br> .<br> <snip><br> <br> option -e not recognized<br> <br> <br> </font></i><font color="#000000">Is this a warning coming from jython or java?<br> I'm presuming java. Am I wrong?<br> And if this is java, then how can you turn on the option when using jythonc?<br> <br> </font> <BR> </html> |