问题标签 [tooltwist]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
60 浏览

java - 在 cookie 上过滤网页

如何使用浏览器中的 cookie 统一更改 ToolTwist 网站上所有网页的外观?

对于每个需要知道用户是否登录的小部件,将样板代码放在生产助手中似乎有些过分。

0 投票
1 回答
55 浏览

tooltwist - ToolTwist 端口被外部机器阻塞

我在 Linux 服务器的 37080 端口上部署了 ToolTwist Designer。

我无法从浏览器访问 Designer,也无法从我的机器 telnet 到端口:

但是,我可以在登录到服务器时远程登录到该端口:

任何想法为什么无法从我的浏览器访问此端口?

0 投票
1 回答
63 浏览

git - ToolTwist 控制器不会从 github 下载分支

在为控制器定义一个新的扩展项目后,我有两个问题:

  1. 在构建阶段,它会要求输入密码,这会导致它失败,因为它不是交互式的(从 Jenkins 运行)。

  2. 如果我从命令行运行construct.xml 并手动输入用户名和密码,它似乎工作正常,但只从github 获取主分支。

无论哪种方式,构造阶段都会结束,并且控制器无法部署到 Web 服务器。在控制器配置中我还需要做些什么来使其工作吗?

0 投票
1 回答
90 浏览

tooltwist - 为什么设计器中没有显示页面数据选项卡?

我正在 ToolTwist 设计器中编辑页面,并且显示了所有正常选项卡 - 编辑页面、导航点、测试页面、源代码等,但未显示“页面数据”选项卡。如何使选项卡显示,以便为我的页面输入页面数据?

0 投票
1 回答
39 浏览

eclipse - Disappearing navpoints

I edited my navpoints from within the ToolTwist workbench, and after restarting the server all my navpoints had disappeared. I've checked the navpoint file, and it looks to be correct. I've tried restarting the server, but still ALL the navpoints have disappeared.

Can anybody tell me what I've done wrong, or suggest something to try?

0 投票
3 回答
3296 浏览

jgit - JGIT pull 错误:在配置中没有找到 key branch.master.merge 的值

使用 jgit,我正在 ToolTwist 控制器上编写代码,该控制器会自动将本地存储库同步(拉取和推送)到 github,但是在尝试调用拉取命令时出现此错误:

记下 push 命令可以正常工作。

0 投票
1 回答
112 浏览

tooltwist - 从命令行运行 Tooltwist 控制器 - Ruby 错误

我正在尝试使用以下命令从命令行运行 Tooltwist 控制器:

./ttc/config/bin/checkLaunchpad.sh controllerTest

但出现以下错误:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- xmlsimple (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire'来自/tooltwist/tooltwist_osx_7.0/devel/ttc/config/bin/ checkLaunchpad.rb:21

0 投票
1 回答
76 浏览

tooltwist - Tooltwist 控制器 - 无法连接到 Git 存储库

尝试通过命令行运行 Tooltwist 控制器:

./ttc/config/bin/checkLaunchpad.sh controllerTest

终止脚本并显示以下错误:

准备网页设计项目'gmd'

检查缓存的 Git

检查 webdesign/gmd 的 GIT 缓存 (remote=git@github.com:twistresources/gmd-webdesign.git) /ControllerV8/payloads/webdesign-projects/gmd/git-repository...remote 设置正确

$ git fetch --all 错误:未找到存储库。致命:远程端意外挂断错误:无法获取来源

** ** 致命错误:无法更新 GIT 存储库:正在获取来源

**

  • 删除 /ControllerV8/launchpads/controllerTest/build.xml。
  • 删除 /ControllerV8/launchpads/controllerTest/CONFIG_SUMMARY。
0 投票
1 回答
63 浏览

ruby - ToolTwist 控制器在终端中运行 ruby​​ 文件 - 致命错误:未知负载

我正在尝试运行一个 ruby​​ 文件,该文件将显示特定有效负载的 git 版本,但出现以下错误:

我的命令:

使用选项时我也遇到同样的错误--update-payload-cache

0 投票
1 回答
82 浏览

java - 运行 Ruby 文件时出现 ToolTwist Workbench 错误

使用 ToolTwist 工作台,我以编程方式执行 ruby​​ 文件,java.lang.Runtime用于执行某些 git 命令(例如加载版本、同步等),但出现以下错误:

我之前在终端中运行我的 ruby​​ 命令时遇到了同样的错误,但只能通过gem install xml-simple在命令行上运行来解决它。

我需要在我的代码上调用相同的命令吗?
希望有更好的方法来解决这个问题。