This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSv4 command line build

Hi,

performing a command line build like below gives an error message like below. Is there a way to get some more meaningful feedback?

 

D:\Program Files\Texas Instruments\CCStudio_v4.2\ccsv4\eclipse>java -jar startup.jar -data d:/xyz -application com.ti.ccstudio.apps.projectBuild -ccs.projects aaa bbb ccc ddd   1>"D:\Program Files\Hudson\jobs\\workspace\..\builds\2010-09-27_12-23-55"\build.stdout.log 
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source)
	at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)
	at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
	at com.ti.ccstudio.internal.osgi.NetProxySelector.<init>(NetProxySelector.java:36)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.ti.ccstudio.osgi.NetProxyHook.createNetProxySelector(NetProxyHook.java:118)
	at com.ti.ccstudio.osgi.NetProxyHook.installNetProxySelector(NetProxyHook.java:100)
	at com.ti.ccstudio.osgi.NetProxyHook.frameworkStart(NetProxyHook.java:47)
	at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:260)
	at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:55)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:549)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:484)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:245)
	at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:155)
	at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:503)
	at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:289)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:996)
	at org.eclipse.core.launcher.Main.main(Main.java:971) 

Kind regards,
one and zero

 

  • It looks like your proxy setting prevents CCS to connect to the NET, you can try checking your proxy script setting by opening Internet Explore to see if you can connect, if not you might have to look into your proxy configuration.

    Patrick

  • Hi Patrick,

    In Internet Explorer and Firefox the proxy settings are ok and I have Internet access. But the environment that I use here is a command line (DOS windows) and that by standard does not know about the proxy! I know that for ppm (part of ActivePerl installation) in such cases an environment variable named HTTP_proxy has to be set.

    I checked Java settings according to: 

    http://www.java.com/en/download/help/proxy_setup.xml

    CCSv4 Java settings via IE are OK as well.

    However the command line build still doesn't work.

    Any more ideas?

     

    Thanks and regards,

    one and zero