1
好的,我在eclipse的simular下運行了一些演示程序。提交了桌面版本並獲得了一個jar。現在我該如何運行jar?它似乎並不是 可直接運行。如何運行構建codenameone構建?
此外,我應該在哪裏找到這些信息,而不是在這裏詢問 這個骨頭問題?
> 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
我添加了我的構建成績單的問題。我看不到任何exe文件 – ddyer
您應該通過右鍵單擊項目 - > Codenameone - >發送桌面Windows來發送構建。然後在Codenameone儀表板上跟蹤您的構建狀態https://www.codenameone.com/build-server.html – Diamond
我認爲它的可能@ddyer在bin目錄下查找,而不是在您提供的構建服務器URL上。 EXE等應該在那裏。 –