FDT / Eclipse:路径变量
我正在尝试创建一个脚本来列出 FDT 项目中的所有链接库及其相应的 svn 存储库。
我的问题:我无法在系统上找到 Eclipse(或 FDT,我什至不确定)写入所有路径变量的文件。
我尝试捕获系统上的更改,但没有成功。
如果有人知道在哪里可以找到这个文件(Mac OS X)或者知道我可以用来找到它的技术,我将非常感激。
谢谢。
I am trying to create a script that would list all the linked libraries in an FDT project and their corresponding svn repositories.
My problem : I was not able to find the file on my system where Eclipse (or FDT, I'm not even sure) writes all of the path variables.
I have tried capturing changes on my system and have had no luck.
If anyone knows where to find this file (Mac OS X) or knows a technique I could use to find it, it would be very appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 FDT 中,如果这些库位于项目文件夹(或下面)中,您可以在 .as3_classpath 文件中找到列表链接库。它们反映了您在项目属性的“FDT 构建路径”的“库”选项卡中添加的内容。 .project 文件中还有一个条目,反映了您使用“源”选项卡添加的链接库。这些库可以位于硬盘驱动器上的任何位置,这就是您为它们定义“路径变量”的原因。
就个人而言,我在项目中创建一个“lib”文件夹,在其中复制所需的库并使用“库”选项卡添加它们。我发现共享项目要容易得多(因为一切都与项目相关),并且您无需担心两个项目修改同一库文件。
对于这些“Path”变量的位置,据我所知,只能位于 Eclipse 安装文件夹或 Eclipse“设置”文件夹中,通常位于“用户”目录中。
In FDT, you can find the list linked libraries in the .as3_classpath file if those libraries are in your project folder (or below). They reflect the content you add in the 'Library' tab of 'FDT Build Path' in your project's properties. There's also an entry in the .project file that reflect the linked libraries you add with the 'Source' tab. Those libraries can be located anywhere on your hard drive, and that's why you define 'path variables' for them.
Personally, I create a 'lib' folder in my project where I copy the libraries I need and add them with the 'Library' tab. I find it much easier to share the project (since everything is relative to the project) and you don't need to worry about having two projects modifying the same library file.
For the location of those 'Path' variables, as far as I know, could only be located in your eclipse installation folder or in your eclipse 'settings' folder, usually in your 'user' directory.