根文件属性

Root file properties

我按照 this 帮助页面将文件夹添加到基于功能的产品。在 build.properties 文件中我添加了:

root=iwrepo

'iwrepo' 对应于一个文件夹,其子文件夹位于上述属性文件所在的功能中。构建后,我只将 'iwrepo' 文件夹下的文件夹移动到 Eclipse 安装目录(annogen、antlr 等),而不是我预期的 - 'iwrepo' 文件夹及其子文件夹。

我做错了什么?

根据文档

Similar to the "root" and "root." properties, except that instead of being copied into the root of the eclipse install, files and folders are instead copied into the given subfolder.

我需要使用 root.folder.iwrepo=iwrepo 而不是 root=iwrepo。这会正确地在 iwrepo 下创建子文件夹。