Community
Participate
Working Groups
Tried right clicking and choosing Ant Editor. Still it opens in text editor. Unable to add Ant Editor to file 'type' build.xml. Even reinstalled org.eclipse.ant.ui. Guess I will be manually editing my build files until resolved. Any attention would be appreciated. Thanks. Rick -- Configuration Details -- Product: Eclipse 4.5.0.20150621-1200 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.wst.xml_ui.feature 3.7.0.v201505141512
Please check your Error Log view, or the contents of the workspace's \.metadata\.log file for an error message that might hold some clues as to why this is happening.
!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2015-12-09 11:40:40.180 !MESSAGE Connection to http://org.eclipse.ant.ui/p2.index failed on org.eclipse.ant.ui. Retry attempt 0 started !STACK 0 java.net.UnknownHostException: org.eclipse.ant.ui at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064) at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2015-12-09 11:40:40.500 !MESSAGE Connection to http://org.eclipse.ant.ui/p2.index failed on org.eclipse.ant.ui. Retry attempt 0 started !STACK 0 java.net.UnknownHostException: org.eclipse.ant.ui at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064) at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SESSION 2015-12-09 12:03:52.496 ----------------------------------------------- eclipse.buildId=4.5.0.I20150603-2000 java.version=1.8.0_40 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.465 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\eclipselink. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.465 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Maven-CXF. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.465 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Olingo-Odata2. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.995 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\eclipselink. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.995 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Maven-CXF. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-09 12:04:21.995 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Olingo-Odata2. !SESSION 2015-12-10 09:31:08.306 ----------------------------------------------- eclipse.buildId=4.5.0.I20150603-2000 java.version=1.8.0_40 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:19.975 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\eclipselink. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:19.975 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Maven-CXF. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:19.975 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Olingo-Odata2. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:20.770 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\eclipselink. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:20.770 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Maven-CXF. !ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2015-12-10 09:31:20.770 !MESSAGE Unable to acquire PluginConverter service during generation for: C:\Program Files\Eclipse\plugins\Olingo-Odata2.
Just so it's been asked, you've tried opening the file's context menu and used the "Open With..." submenu to manually pick the Ant Editor? A file defaults to reopening with the last editor you used to open it.
At some point I noticed when I started editing my build file for real that the little ant symbol was on the tab. The suggested tags were all for ant. And, the log stopped complaining about ant. I guess I am all set. Thanks, Rick