如何 运行 build codenameone builds?

how to run build codenameone builds?

好吧,我运行一些来自eclipse的simular下的demo。提交了一个桌面版本并得到了一个 jar。现在我如何 运行 罐子?好像没有 直接 运行nable.

此外,我应该在哪里找到这些信息而不是询问 这是一个愚蠢的问题?

> Buildfile: G:\share\projects\eclipse\Charts Demo\build.xml
> 
> jar:
>         [echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
>         [echo]            code size and wider device support
>         [copy] Copying 1 file to G:\share\projects\eclipse\Charts Demo\build\tmp
>        [javac] G:\share\projects\eclipse\Charts Demo\build.xml:147: warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>        [javac] Compiling 25 source files to G:\share\projects\eclipse\Charts Demo\build\tmp
>        [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
>        [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
>        [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>        [javac] Note: Some input files use or override a deprecated API.
>        [javac] Note: Recompile with -Xlint:deprecation for details.
>        [javac] Note: G:\share\projects\eclipse\Charts Demo\src\com\codename1\demos\charts\ChartDemosForm.java uses unchecked
> or unsafe operations.
>        [javac] Note: Recompile with -Xlint:unchecked for details.
>        [javac] 3 warnings
>          [jar] Building jar: G:\share\projects\eclipse\Charts Demo\dist\Charts Demo.jar
>        [javac] G:\share\projects\eclipse\Charts Demo\build.xml:171: warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds BUILD
> SUCCESSFUL Total time: 1 second

通常,桌面构建应该 return windows 的 exe 文件和 Mac 的 dmg。您获取 jar 文件时可能出了问题。

您可以找到有关 How do I page and here's a link 桌面构建的大量信息。

您可以做的另一件事是在 Google 搜索前加上 https://www.codenameone.com

例如,像这样搜索桌面版本:https://www.codenameone.com desktop application

我还建议您关注 Codenameone blog,因为那里有新功能、最新版本和过去发布的许多很棒的东西的存档。