是否可以在 Aptana 中创建一个与包含文件夹名称不同的项目?

发布于 2025-01-06 21:35:59 字数 271 浏览 5 评论 0原文

我已经将许多项目文件夹导入到 Apatana 3 中,其中一些文件夹存储在磁盘上具有相同名称的文件夹中。对我来说更改文件夹本身的名称并不容易,因为它们是不同服务器上的同一项目(一个是本地副本,另一个是开发服务器上的副本)。

我尝试将文件夹导入为项目并将项目名称设置为 FOLDERNAME - localFOLDERNAME - dev (取决于位置),但似乎所做的只是使用项目名称创建一个新文件夹,而不是导入指定的项目!

这是正常行为吗?有办法解决吗?

I've been importing a number of project folders into Apatana 3 and some of them are stored on disk in folders with identical names. It's not really easy for me to change the names of the folders themselves, as they are the same project on different servers (one is a local copy, the other a copy on a development server).

I tried importing the folder as a project and setting the name of the project to FOLDERNAME - local or FOLDERNAME - dev (depending on the location) but all that seems to do is create a new folder with the project name, rather than importing the specified project!

Is this normal behaviour and is there a way around it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

难如初 2025-01-13 21:36:00

经过一番摆弄后,我设法找到了一个解决方案,希望这对遇到同样问题的人有所帮助:

当 Aptana 工作区设置为项目的父目录时,Aptana 会重命名项目文件夹以匹配项目的名称。通过将工作区设置为不同的文件夹,可以重命名项目,而无需更改磁盘上的文件夹名称。

我不完全确定 Aptana 为何这样做,但更改工作空间似乎确实解决了问题。

After a bit of fiddling I managed to find a solution, hopefully this will help anyone who comes across the same issue:

When the Aptana workspace is set to the parent directory of a project, Aptana renames the project folder to match the project's name. By setting the workspace to a different folder the project can be renamed without altering the folder name on disk.

I'm not entirely sure why Aptana does this, but changing the workspace does seem to solve the issue.

心安伴我暖 2025-01-13 21:36:00

您应该能够导入该项目,右键单击它并重命名它。项目名称不必与文件夹名称匹配。这可能是您导入它们的方式...请按照此处的步骤操作: https://wiki.appcelerator.org/display/tis/Importing+an+Existing+Project

You should just be able to import the project, right-click on it and rename it. The project name does not have to match the folder name. It may be how you are importing them...please follow the steps here: https://wiki.appcelerator.org/display/tis/Importing+an+Existing+Project

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文