首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何运行构建代码构建?

如何运行构建代码构建?
EN

Stack Overflow用户
提问于 2015-12-02 19:38:58
回答 1查看 73关注 0票数 1

好的,我在eclipse的模拟下运行了一些演示。提交了一个桌面构建并得到了一个jar。现在我该怎么操作这个罐子?它似乎不能直接运行。

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

代码语言:javascript
复制
> 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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-02 20:00:40

通常,桌面构建应该返回windows的exe文件和Mac的dmg。你可能出了点问题才能得到jar文件。

您可以在我该怎么做页面上找到大量信息,下面是一个链接到桌面构建。

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

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

我还建议您遵循Codenameone 博客,因为新的特性、最新的发行版和过去发布的许多很酷的东西都可以在那里获得。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34051501

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档