如何安装DWScript [英] How to install DWScript

查看:152
本文介绍了如何安装DWScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将DWScript安装到Delphi XE4中:(我确实将软件包文件复制到了DelphiXE4文件夹中,并将软件包后缀属性更改为XE4 ...)

I am trying to install DWScript into Delphi XE4: (I did copy the package files into a DelphiXE4 folder and change the package suffix property to XE4...)

packages文件夹中有3个文件:

In the packages folder there are 3 files:

dwsLibRuntime.dpk
dwsLib.dpk
dwsLibDesignOnly.dpk

我设法先安装dwsLibRuntime,然后再安装dwsLib(尽管我收到一些忽略的警告),但是尝试安装dwsLibDesignOnly时遇到问题.

I manage to install dwsLibRuntime and then dwsLib (although I get a few warnings which I ignore), but then have problems trying to install dwsLibDesignOnly.

是要同时安装dwsLib.dpk和dwsLibDesignOnly.dpk,还是仅安装其中之一? (它们都引用同一个寄存器单元,因此似乎只应安装一个.)

Is one meant to install both dwsLib.dpk and dwsLibDesignOnly.dpk, or only one of them?? (They both reference the same Register unit, so it would seem that only one should be installed).

推荐答案

我以以下方式安装了dws(使用svn下载并创建新项目目录\DelphiX4之后,从\DelphiXE3复制四个文件) :
当您打开dwsLib.dproj时,您应该(在Project Manager中,在ProjectGroup1下)将dwsLibXE3.bpl作为您的项目.
在项目选项-描述"中,将LIB后缀更改为XE4,然后在用法"选项下选择"DesignTime和Runtime".单击确定",您的项目现在应为dwsLibXE4.bpl.
右键单击dwsLibXE4.bpl,然后选择生成". (为了将构建成功,我将dwsWebUtils.pas从\Libraries\SimpleServer移到了\Libraries\SymbolsLib,将\Libraries\SimpleServer添加到搜索路径会更好).
构建成功后,再次右键单击dwsLibXE4.bpl并选择安装".
DWScript组现在应该在工具面板上可用.

I just installed dws in the following manner (after downloading using svn and creating a new project directory , \DelphiX4, copying the four files from \DelphiXE3):
When you open dwsLib.dproj you should have (in Project Manager, under ProjectGroup1) dwsLibXE3.bpl as your project.
In Project Options - Description, Change LIB suffix to XE4 and under Usage options select 'DesignTime and Runtime'. Click OK and your project should now be dwsLibXE4.bpl.
Right click on dwsLibXE4.bpl and select Build. (I moved dwsWebUtils.pas from \Libraries\SimpleServer to \Libraries\SymbolsLib to succeed with the build, adding \Libraries\SimpleServer to the search path would be better).
After a successful build right click on dwsLibXE4.bpl again and select 'Install'.
The DWScript group should now be available on the Tool Palette.

这篇关于如何安装DWScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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