开发者

Titanium Appcelerator through a corporate proxy

So I was wondering if anyone has had any success getting Titanium's A开发者_开发技巧ppcelerator working behind a corporate proxy. I can't seem to find any information about how to enter proxy information in the SDK. Thanks in advance.


I can't find the documentation for setting the Titanium Developer proxy settings but you might want to try Titanium Studio.

You can download it at http://preview.appcelerator.com/studio/

Here is an article on how to configure it for proxy access. http://wiki.appcelerator.org/display/tis/Using+Aptana+Studio+from+behind+a+web+proxy


I added the following lines to the TitaniumStudio.ini, setting the JVM proxy:

-Dhttps.proxyHost=proxy.intranet
-Dhttps.proxyPort=1234


Ben Bahrenburg your link doesn't work anymore...

I have been able to set it up properly by editing "Network Connections" preferences and the "TitaniumStudio.ini" located at the root of the application.

Here is what I specified in "Window / Preferences / Network Connections" :

Titanium Appcelerator through a corporate proxy

Here is what I added within the TitaniumStudio.ini file (Mine is located in "C:\Users\user_name\AppData\Local\Titanium Studio\TitaniumStudio.ini")

Copy / paste stuff between "-vmargs" and "-Xms40m" lines

-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyHost=proxy.business.com
-Dhttp.proxyPort=80
-Dhttp.nonProxyHosts=localhost|127.0.0
-Xms40m

Unfortunatly, the Dashboard Browser still doesn't work. It shows "This program canoot display webpage". Any ideas?


I wanted to update this thread with new info. In the latest Titanium Studio (3.x), there is now a proxy setup button on the login screen. Select protocol, add URL and port(if other than default), check Require Authentication box, and enter proxy login credentials.

Worked for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜