Perhaps I'm just obtuse, but I don't see how to get rid of the-g option. If
I set jde-compile-option-debug to none, It still includes the option:
cd e:/Projects/sherpa/sa/server/
c:/jdk1.1.8/bin/javac -classpath
"e:/projects/sherpa/sa;e:/OrbixWeb3.0/classes;e://projects/sherpa/release/se
rvers/sa/java_output;e://projects/sherpa/release/servers/sa" -g:none
-deprecation DSource.java
javac: invalid flag: -g:none
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J<runtime flag>] file.java...
Compilation exited abnormally with code 1 at Thu Apr 22 15:47:26
Setting "-g" in jde-compile-option-command-line-args doesn't override the
jde-compile-option-debug option.
At 02:24 PM 4/22/99 , Paul Kinnucan wrote:
>At 12:44 PM 4/22/99 -0700, Bruce Seely wrote:
>>When I compile a file, the compilation command is including invalid flags.
>>Does anyone know why?
>>
>
>Hi Bruce,
>
>The command-line switches accepted by javac changed somewhat in JDK 1.2.
>The JDE supports the latest (i.e., JDK 1.2) set of javac command-line
>options. If you are using earlier versions of javac and you want to use a
>command-line switch that is no longer supported by JDK 1.2 or has changed,
>you have two options. In the case of the -depend switch, which changed to
>-Xdepend in Java 1.2, you can cause the JDE to revert to the earlier form
>by setting the jde-compile-option-depend-switch appropriately. In fact, you
>need to do this, if you want to use the JDE's Java build command
>(JDE->Build). For other switches that have changed, you can specify the
>earlier form via the jde-compile-option-command-line-arg option.
>
>- Paul
___________________________________
Bruce Seely (818) 735-6833
ISX Corporation [EMAIL PROTECTED]
"On average, people are acting normal today."