使用新的Netbeans安装代理一个构建错误

时间:2016-01-07 06:54:26

标签: codenameone

我最近开始使用新的Mac进行开发,我有一个cn1应用程序,我已经在Windows机器上工作了一段时间。我安装了Netbeans和cn1插件,但我无法运行项目或发送构建。我得到的错误是:

ant -f /Users/yaakov/Development/workspace/medonline_cn1 build-for-android-device
No GUI Entries available
init:
deps-clean:
Updating property file: /Users/yaakov/Development/workspace/medonline_cn1/build/built-clean.properties
Deleting directory /Users/yaakov/Development/workspace/medonline_cn1/build
refresh-libs:
Deleting directory /Users/yaakov/Development/workspace/medonline_cn1/lib/impl
clean:
copy-android-override:
Created dir: /Users/yaakov/Development/workspace/medonline_cn1/build/classes
Copying 8 files to /Users/yaakov/Development/workspace/medonline_cn1/build/classes
copy-libs:
Copying 96 files to /Users/yaakov/Development/workspace/medonline_cn1/build/classes
deps-jar:
Updating property file: /Users/yaakov/Development/workspace/medonline_cn1/build/built-jar.properties
compile-css:
/Users/yaakov/Development/workspace/medonline_cn1/build.xml:37: Could not find designer_1.jar file at path /Users/yaakov/.codenameone/designer_1.jar
BUILD FAILED (total time: 1 second)

目录/Users/yaakov/.codenameone甚至不存在。但是,有/Users/yaakov/.cn1目录,但它是空的。该项目是一个GUI构建器项目。我正在运行Java 8。

1 个答案:

答案 0 :(得分:1)

假设您在NetBeans上安装了Codename One plugin,只需双击res文件即可。这将启动设计器并创建该目录。在那之后,一切都应该按预期工作。