尝试将 Flex Builder/Eclipse 项目与 SVN 源代码树同步

发布于 2024-08-16 00:41:24 字数 572 浏览 5 评论 0原文

我正在尝试将 Flex Builder WTP/Eclipse 项目与现有的 SVN 源结构链接起来。我在 Eclipse 中使用 subclipse。

下面是一些目录的映射:

Flex Builder/Eclipse 结构 -> SVN目录结构

-flex_src-> flex/src

-flex_libs -> flex/libs

-java_src ->; java/src-

WebContent-> web

** 如何映射这些目录,以便 subclipse 识别它们是 svn 目录,以便我可以从 Flex Builder/Eclipse 项目中管理 svn 文件??? ****

注意:我试图避免检查整个 Flex Builder 项目,因为我真的只想要 svn 中的源代码。我知道这是有争议的,但这就是我们现在所拥有的。

我尝试了很多方法,例如链接源文件夹或从 SVN 工作区导入源代码等,但 subclipse 似乎从未意识到这些文件位于 SVN 存储库中的事实。

任何建议将不胜感激!

谢谢你!

I am trying to link a Flex Builder WTP/Eclipse project with an existing SVN source structure. I'm using subclipse within Eclipse.

Below is a mapping of some of the directories:

Flex Builder/Eclipse Structure -> SVN Directory Structure

-flex_src -> flex/src

-flex_libs -> flex/libs

-java_src -> java/src

-WebContent -> web

** How can I get these directories mapped so that subclipse will recognize that they are svn directories so that I can manage the svn files from within the Flex Builder/Eclipse project???? ****

NOTE: I'm trying to avoid checking the entire Flex Builder project as I really want just the source in svn. I know this is debatable but this is what we have right now.

I've tried a number of things such as linking source folders or importing source from my SVN workspace, etc. but subclipse never seems to pick up the fact that these files are in an SVN repository.

Any suggestions would greatly be appreciated!

Thank you!

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

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

发布评论

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

评论(3

断爱 2024-08-23 00:41:24

你有团队需要的东西吗>在您的 Flex/自定义视角中启用了 SVN?

AFAIK Subclipse 根据给定目录中 .svn 元数据的存在来识别 SVN 的存在。我的猜测是,它做得很好,并且您没有正确的命令,并且没有从您的 Flex/自定义视角中启用的典型 SVN 视角来看。我认为如果您想使用 Subclipse 工具,您需要添加这些。

Do you have the necessary things from Team > SVN enabled in your Flex/custom perspective?

AFAIK Subclipse recognizes the presence of SVN based on the existence of the .svn meta data within a given directory. My guess would be that its doing this jsut fine and that you dont have the right commands and what not from the typical SVN perspective enabled within your Flex/custom perspective. Youll need to add these i think if you want to use the Subclipse tools.

没︽人懂的悲伤 2024-08-23 00:41:24

嗯,根据我的经验,subclipse 并不是最灵活(哈哈)的 SVN 工具,所以如果它没有正确选择 SVN 信息,那么将三个目录作为单独的项目检查并链接这些项目可能会更容易。至少如果你没有每天都更新它们的话......不过,我很想看到一个真正的解决方案。

Well, in my experience subclipse isn't the most flexible (haha) SVN tool around, so if it isn't picking on the SVN information correctly it might be easier to check out the three directories as separate projects and link those projects. This is at least if you don't have update them all every day... I'd love to see a real solution to this, though.

尴尬癌患者 2024-08-23 00:41:24

prodigitalson 和 tehmou - 感谢您的回复。

我确实正确安装了 subclipse,但你是对的,团队 svn 选项不会显示,但我相信这是因为项目顶层没有 .svn 目录。

我和另一位工程师一起工作,但我们在使用 subclipse 来解决这个问题时运气不佳。我同意 tehmou 的观点,即它似乎不太灵活。

目前,我们只是简单地更改了 Flex Builder 项目以与 SVN 目录结构匹配,但我仍然觉得我缺少某种能够匹配原始目录的方法。但是,现在至少我可以在 Flex Builder/Eclipse 中使用 SVN 管理我的源文件。

prodigitalson and tehmou - thanks for the responses.

I did have subclipse installed correctly but you are right that the team svn options would not show up but I believe this was due to the fact that there was no .svn directory at the top-level of the project.

I worked with another engineer and we didn't have much luck with subclipse in figuring this out. I would agree with tehmou that it does not seem very flexible.

For the time being we simply altered the Flex Builder project to match-up with the SVN directory structure but I still feel like I'm missing some way of being able to match the original directories. But, for now, at least I can manage my source files with SVN within Flex Builder/Eclipse.

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