Flex Builder - 如何在启动配置属性中设置相对 url?

发布于 2024-09-10 19:20:15 字数 342 浏览 1 评论 0原文

我正在尝试为我的应用程序使用自定义 html 包装器,但是当我浏览选择文件时,它默认为 custom-wrapper.html 文件的绝对路径。

我希望能够通过 SVN 传递此项目,而无需进行任何必要的配置更改,但我不确定如何在此配置对话框中输入相对 URL。我尝试从主 Actionscript 应用程序文件位于 src 目录(即 ../../bin-debug/custom-wrapper.html)中的位置进行标准反向引用,但这不起作用。

我认为我需要使用 ${DOCUMENT} 或 ${FLEX_HOME} 等属性,但我不确定这些属性是在哪里定义的,以及哪些属性在环境中默认存在。如果有人能给我指出一个好的参考,我将不胜感激。

I am trying to use a custom html wrapper for my application, but when I browse to choose my file it defaults to an absolute path to my custom-wrapper.html file.

I want to be able to pass off this project via SVN without any necessary configuration changes, but I'm not sure how to input a relative URL into this configuration dialog. I tried standard back referencing from where my main actionscript application file is in the src directory (i.e. ../../bin-debug/custom-wrapper.html), but that does not work.

I think that I need to use properties like ${DOCUMENT} or ${FLEX_HOME}, but I'm not sure where these properties get defined and which ones come by default in the environment. If anyone could point me towards a good reference, I'd appreciate it.

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

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

发布评论

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

评论(1

请恋爱 2024-09-17 19:20:15

不确定我是否完全理解,但如果您的自定义包装器旨在替换标准 html 包装器,为什么不将 [ProjectName]/html-template/index.template.html 的内容替换为自定义包装器 html 文件的内容?

Not sure I fully understand, but if your custom wrapper is meant to replace the standard html wrapper, why not replace the contents of [ProjectName]/html-template/index.template.html with the contents of your custom wrapper html file?

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