Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个在 Eclipse 中运行的 java 项目,它运行良好。现在,我想将它部署到一个可执行的 jar 中,我该怎么做?此外,我在运行配置窗口中有几个参数设置。例如,运行配置窗口中的程序参数是-t test –u up;VM 参数是–d64. 主要课程是com.myproject.model。
-t test –u up
–d64
com.myproject.model
您应该能够在 Eclipse 中转到 Export->Java->Jar 文件。
只需右键单击项目;去导出 - 选择位置,然后导出应该完成。
之后,如果您是 Windows 用户,您可以将其创建为只能在 Windows 上运行的应用程序或称为 .exe
我有一个 XSLT 2.0,它将 xhtml 表转换为 InDesign XML 表。此 XSLT 计算下面模板 ( )中每行第 7 行中的最大<td>元素数。<tr>max(for $td in //tr return count($td/td))
<td>
<tr>
max(for $td in //tr return count($td/td))
&l
我正在使用 eclipse(juno 和以前的版本)来编写 JSF 代码。这些页面都是xhtml。每隔一段时间我需要添加javascript。当我这样做时,我必须使用 CDATA 标记,否则当我有某些字符(如 > < &)时 xhtml 无效。
无论如何,该解决方案运行良好,直到我告诉 eclipse 格式化代码,此时它删除了