在Netbeans 6.8中混淆j2me应用程序的问题

时间:2010-09-16 07:08:26

标签: java-me obfuscation netbeans6.8 proguard

当我尝试使用模糊处理打包midlet时,输出窗口中会显示以下内容:

pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
sjmc-pre-init:
sjmc-init:
cdc-hi-pre-init:
cdc-hi-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into C:\Meljean's Files\NetBeansProjects\SampleApp\build\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
Expanding: C:\Meljean's Files\LWUIT_1_4\lib\LWUIT.jar into C:\Meljean's Files\NetBeansProjects\SampleApp\build\compiled
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
Error: Expecting class path separator ';' before 's' in argument number 4
C:\Meljean's Files\NetBeansProjects\SampleApp\nbproject\build-impl.xml:427: Obfuscation failed with error code 1.
BUILD FAILED (total time: 0 seconds)

我该怎么做?

1 个答案:

答案 0 :(得分:1)

问题可能出在WTK的安装目录中。

让我们确认一下:

我猜你正在使用WIN SYSTEM

我猜你的WTK安装在空间介于两者之间的路径上。

喜欢ex:c:\ program files \ [program&文件]

我建议你在非空间目录上安装WTK,例如 c:\ WTK

如果情况不是这样,请告诉我。