Lotus Domino Designer中的源代码管理 [英] Source Control in Lotus Domino Designer

查看:167
本文介绍了Lotus Domino Designer中的源代码管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,我们一直在大型项目中使用Domino,而没有任何真正的源代码控制(而不是服务器备份)。所以,当我注意到最新的Designer 8.5.3与SVN有潜在的整合的时候,我很高兴。



我无法通过遵循通过 Per Henrik Lausten 是非常有用的,因为它显示了通过菜单的路线。主要的问题是,我不习惯Eclipse的工作原理,所以我没有意识到你必须先去团队菜单和共享项目创建磁盘上的项目。当我这样做时,我发现SVN和CVS都已经可用。



我发现SVN不喜欢 file:// 协议(可能是Windows问题?)由于我无法在网络上安排一个SVN服务器,所以我决定沿着Mercurial路线。这对我们来说更好,因为我们的其他项目存储在Mercurial中。



使用Lotus Designer 8.5.3设置Mercurial:


  1. 在Domino首选项(文件 - >首选项)中,设置:在Domino Designer部分启用Eclipse插件 勾选


  2. 同样在首选项集中:使用二进制DXL进行源代码管理操作 unticked (文件 - >首选项,Domino Designer - >源代码管理)。没有这个勾选,我没有收到我的Lotusscript代理的文本,很难比较更改。


  3. 转到文件 - >应用程序 - >安装:

    • 选择搜索要安装的新功能,然后点击下一步

    • 点击添加远程位置按钮

    • 添加url: http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable/ 并给它一个合适的名称

    • 添加完毕后,请确保在位置列表中勾选,然后点击完成

    • 然后设计将搜索更新并给予一个列表。 Untick 仅显示每个更新站点的功能的最新版本

    • 从MercurialEclipse稳定版本中选择 MercurialEclipse 1.6 。我发现最新版本不起作用,但是以前的 Stackoverflow对话表示1.6版本可以正常工作。

    • 点击完成并允许安装。

    • 您将被要求批准各种插件,然后重新启动。

    • 现在应该安装MercurialEclipse!



  4. 要开始使用Mercurial与Domino应用程序:

    • 右键单击应用程序选项卡中的应用程序,选择:Team Development - >设置此应用程序的源代码管理。

    • 给项目一个名称,并选择要存储的项目的位置。

    • 然后,设计人员将数据库的DXL导出到您选择的位置。

    • 在导航器中右键单击新的磁盘项目,然后选择:Team - > Share Project ...

    • 从存储库类型中选择Mercurial,并允许Designer创建存储库。

    • 您现在可以通过团队菜单访问各种Mercurial功能。 (您需要进行第一个提交。



  5. 您需要:

    • 右键单击应用程序并选择:团队开发 - >与磁盘项目同步

    • 转到导航器选项卡,然后右键单击磁盘上的项目,选择团队。


上述步骤应该是显而易见的,但决定发布全部细节,以防任何人像Eclipse一样努力,如何正确使用它,一旦我想出来,真的很容易。


We have been using Domino on a large project for years without any real source-control (other-than server backups). So, I was rather pleased when I noted the latest Designer 8.5.3 has potential integration with SVN.

I was unable get SVN working just by following the original instructions for as already noted on Stackoverflow the update sites have moved. The solution posted on OpenNTF, only half worked, with Domino still croaking at GEF, Mylyn and some other missing plugins. After finding and installing them, I still do not seem to have source-control integration.

What I have now is the ability to create on-disk projects but I do not seem to have any source-control features. I was expecting to see menu items for commit, update, revert …etc – is this how it works in Domino?

I can of course create a repository to commit the on-disk project to but I was hoping for integration inside of Domino. Whilst having years of experience in programming I’m a novice with Eclipse. I assume that I’ve done something wrong with installing the plugins? it was certainly a complicated process trying track down missing plugins.

Has anyone tried this recently and succeeded? What files do I need to install, setting tweak, …etc, to ensure this works? I’m happy to install my Designer fresh and follow a list of instructions.

Also, am I understanding how the integration works? Will I get command integration within Designer or do I have to work separately with the on-disk projects? I was really hoping for this be easy to integrate into normal workflow so I can convert the team to using it (adding too many extra or complicated steps is unlikely to create a conversion).

I posted a screenshot of my installed plugins in case this is helpful.

Mercurial? As an aside, has anyone used Mercurial instead of SVN with Designer? I would rather use Hg as I’m using this for related Dojo projects and will be easier for the team to use one system. However, I will settle for SVN as any source-control is better than non.

解决方案

I managed to figure this out eventually but will post the solution, just in case anyone else has the same trouble.

The answer by Per Henrik Lausten was very helpful as it showed me the route to follow through the menus. The main problem is that I'm not used to how Eclipse works so I didn't realise you had to go to the "Team" menu and "Share Project" after creating the on-disk project. When I did this I discovered that both SVN and CVS were already available.

I found that SVN did not like the file:// protocol (perhaps a windows issue?) Since, I could not arrange for an SVN server on our network, I decided to go down the Mercurial route. This was better for us as our other projects are stored in Mercurial.

Setting-up Mercurial with Lotus Designer 8.5.3:

  1. In Domino preference (File -> Preferences), set: Enable Eclipse Plugins in the Domino Designer section to ticked.

  2. Also in the preferences set: Use Binary DXL for source control operations to unticked (File -> Preferences, Domino Designer -> Source Control). Without this ticked I was not getting text for my Lotusscript agents and it would be difficult to compare changes.

  3. Go to File -> Application -> Install:
    • Select Search for new features to install and click Next.
    • Click Add Remote Location button
    • Add the url: http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable/ and give it a suitable name
    • Once you've added this, ensure it is ticked in the location list and click Finish
    • Design will then search for updates and give you a list. Untick "Only show latest version of a feature per update site"
    • Tick MercurialEclipse 1.6 from MercurialEclipse Stable Releaes. I found that the latest version does not work, however a previous Stackoverflow conversation indicates that version 1.6 does work.
    • Click finish and allow it to install.
    • You will be asked to approve various plugins and then to restart.
    • MercurialEclipse, should now be installed!

  4. To start using Mercurial with a Domino Application:
    • Right-click the application in the Applications tab, select: Team Development -> Set Up Source Control for this Application.
    • Give the project a name and choose a location for the project to be stored.
    • Designer will then do a DXL export of the database to your chosen location. A Navigator tab will appear next to Applications.
    • Right-click your new disk-project in the Navigator and select: Team -> Share Project...
    • Select Mercurial from the Repository types and allow Designer to create the repository.
    • You should now have access to various Mercurial functions via the Team menu. (You need to make your first commit.

  5. When you make changes you want to commit to source-control, you need to:
    • Right-click the application and choose: Team Development -> Sync with on disk project...
    • Go to the Navigator tab and right-click your on-disk project, selecting team.

Most of the above steps should be obvious but decided to post full details in case anyone struggled like I did with Eclipse and how to use it properly. Once I figured it out, it really was quite easy.

这篇关于Lotus Domino Designer中的源代码管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆