Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development Java (http://www.linux-archive.org/fedora-development-java/)
-   -   Eclipse ant support apparently missing (http://www.linux-archive.org/fedora-development-java/500283-eclipse-ant-support-apparently-missing.html)

Rob Scala 03-12-2011 01:08 AM

Eclipse ant support apparently missing
 
I recently installed eclipse on my f14 box, and I can't get ant support
to work. No ant preferences. No ant editor.

Am I missing some package? Here is what I have installed:

eclipse-platform-3.6.1-6.1.fc14.x86_64
eclipse-jdt-3.6.1-6.1.fc14.x86_64
eclipse-subclipse-1.6.16-1.fc14.noarch
tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
eclipse-swt-3.6.1-6.1.fc14.x86_64
eclipse-rcp-3.6.1-6.1.fc14.x86_64
icu4j-eclipse-4.2.1-1.fc14.x86_64
eclipse-gef-3.6.1-1.fc14.noarch
eclipse-svnkit-1.3.3-5.fc14.noarch

Thanks for your help,

Rob


--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Mat Booth 03-12-2011 07:22 PM

Eclipse ant support apparently missing
 
On 12 March 2011 02:08, Rob Scala <rob@scalasystems.com> wrote:
> I recently installed eclipse on my f14 box, and I can't get ant support
> to work. *No ant preferences. *No ant editor.
>
> Am I missing some package? *Here is what I have installed:
>
> eclipse-platform-3.6.1-6.1.fc14.x86_64
> eclipse-jdt-3.6.1-6.1.fc14.x86_64
> eclipse-subclipse-1.6.16-1.fc14.noarch
> tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
> eclipse-swt-3.6.1-6.1.fc14.x86_64
> eclipse-rcp-3.6.1-6.1.fc14.x86_64
> icu4j-eclipse-4.2.1-1.fc14.x86_64
> eclipse-gef-3.6.1-1.fc14.noarch
> eclipse-svnkit-1.3.3-5.fc14.noarch
>
> Thanks for your help,
>
> Rob
>
>


What do you mean by ant support? You should be able to right-click an
ant script in your workspace and go "Run as"-->"Ant Build"

--
Mat Booth
http://fedoraproject.org/get-fedora
--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Rob Scala 03-12-2011 07:43 PM

Eclipse ant support apparently missing
 
On Sat, 2011-03-12 at 20:22 +0000, Mat Booth wrote:
> On 12 March 2011 02:08, Rob Scala <rob@scalasystems.com> wrote:
> > I recently installed eclipse on my f14 box, and I can't get ant support
> > to work. No ant preferences. No ant editor.
> >
> > Am I missing some package? Here is what I have installed:
> >
> > eclipse-platform-3.6.1-6.1.fc14.x86_64
> > eclipse-jdt-3.6.1-6.1.fc14.x86_64
> > eclipse-subclipse-1.6.16-1.fc14.noarch
> > tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
> > eclipse-swt-3.6.1-6.1.fc14.x86_64
> > eclipse-rcp-3.6.1-6.1.fc14.x86_64
> > icu4j-eclipse-4.2.1-1.fc14.x86_64
> > eclipse-gef-3.6.1-1.fc14.noarch
> > eclipse-svnkit-1.3.3-5.fc14.noarch
> >
> > Thanks for your help,
> >
> > Rob
> >
> >
>
>
> What do you mean by ant support? You should be able to right-click an
> ant script in your workspace and go "Run as"-->"Ant Build"
>

No, "Run As" on build.xml does not have an "Ant Build" option either.

It seems like there is a plugin missing or an exception loading the
plugin. But I understand that ant support is included in the base
package.

I tried removing ./.eclipse and my workspace, and reinstalling all of
eclipse. Still no luck. I also ran a fresh install from yum on a
different machine (CentOS 5.4), and all the ant features were there.

Strange - I must be missing something simple.





--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Mat Booth 03-12-2011 07:46 PM

Eclipse ant support apparently missing
 
On 12 March 2011 20:43, Rob Scala <rob@scalasystems.com> wrote:
> On Sat, 2011-03-12 at 20:22 +0000, Mat Booth wrote:
>> On 12 March 2011 02:08, Rob Scala <rob@scalasystems.com> wrote:
>> > I recently installed eclipse on my f14 box, and I can't get ant support
>> > to work. *No ant preferences. *No ant editor.
>> >
>> > Am I missing some package? *Here is what I have installed:
>> >
>> > eclipse-platform-3.6.1-6.1.fc14.x86_64
>> > eclipse-jdt-3.6.1-6.1.fc14.x86_64
>> > eclipse-subclipse-1.6.16-1.fc14.noarch
>> > tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
>> > eclipse-swt-3.6.1-6.1.fc14.x86_64
>> > eclipse-rcp-3.6.1-6.1.fc14.x86_64
>> > icu4j-eclipse-4.2.1-1.fc14.x86_64
>> > eclipse-gef-3.6.1-1.fc14.noarch
>> > eclipse-svnkit-1.3.3-5.fc14.noarch
>> >
>> > Thanks for your help,
>> >
>> > Rob
>> >
>> >
>>
>>
>> What do you mean by ant support? You should be able to right-click an
>> ant script in your workspace and go "Run as"-->"Ant Build"
>>
>
> No, "Run As" on build.xml does not have an "Ant Build" option either.
>
> It seems like there is a plugin missing or an exception loading the
> plugin. *But I understand that ant support is included in the base
> package.
>
> I tried removing ./.eclipse and my workspace, and reinstalling all of
> eclipse. *Still no luck. *I also ran a fresh install from yum on a
> different machine (CentOS 5.4), and all the ant features were there.
>
> Strange - I must be missing something simple.
>
>
>

Is there anything interesting in the log file?

It's located in /path/to/workspace/.metadata/.log


--
Mat Booth
http://fedoraproject.org/get-fedora
--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Rob Scala 03-13-2011 03:54 AM

Eclipse ant support apparently missing
 
On Sat, 2011-03-12 at 20:46 +0000, Mat Booth wrote:
> On 12 March 2011 20:43, Rob Scala <rob@scalasystems.com> wrote:
> > On Sat, 2011-03-12 at 20:22 +0000, Mat Booth wrote:
> >> On 12 March 2011 02:08, Rob Scala <rob@scalasystems.com> wrote:
> >> > I recently installed eclipse on my f14 box, and I can't get ant support
> >> > to work. No ant preferences. No ant editor.
> >> >
> >> > Am I missing some package? Here is what I have installed:
> >> >
> >> > eclipse-platform-3.6.1-6.1.fc14.x86_64
> >> > eclipse-jdt-3.6.1-6.1.fc14.x86_64
> >> > eclipse-subclipse-1.6.16-1.fc14.noarch
> >> > tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
> >> > eclipse-swt-3.6.1-6.1.fc14.x86_64
> >> > eclipse-rcp-3.6.1-6.1.fc14.x86_64
> >> > icu4j-eclipse-4.2.1-1.fc14.x86_64
> >> > eclipse-gef-3.6.1-1.fc14.noarch
> >> > eclipse-svnkit-1.3.3-5.fc14.noarch
> >> >
> >> > Thanks for your help,
> >> >
> >> > Rob
> >> >
> >> >
> >>
> >>
> >> What do you mean by ant support? You should be able to right-click an
> >> ant script in your workspace and go "Run as"-->"Ant Build"
> >>
> >
> > No, "Run As" on build.xml does not have an "Ant Build" option either.
> >
> > It seems like there is a plugin missing or an exception loading the
> > plugin. But I understand that ant support is included in the base
> > package.
> >
> > I tried removing ./.eclipse and my workspace, and reinstalling all of
> > eclipse. Still no luck. I also ran a fresh install from yum on a
> > different machine (CentOS 5.4), and all the ant features were there.
> >
> > Strange - I must be missing something simple.
> >
> >
> >
>
> Is there anything interesting in the log file?
>
> It's located in /path/to/workspace/.metadata/.log

Before I cleaned everything and reinstalled, the log contained these
three items (multiple times):

---------------- .log entries --------------

!ENTRY org.eclipse.ui 4 0 2011-03-09 20:05:05.798
!MESSAGE Unable to create editor ID
org.eclipse.ant.ui.internal.editor.AntEditor: No editor descriptor for
id org.eclipse.ant.ui.internal.editor.AntEditor

and

!SUBENTRY 2 org.eclipse.ui 4 4 2011-03-09 20:05:11.139
!MESSAGE Could not create view: org.eclipse.ant.ui.views.AntView

and

!ENTRY org.eclipse.core.resources 4 2 2011-03-09 22:59:23.369
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources".
!STACK 1
org.eclipse.debug.core.DebugException: Launch configuration type id
"org.eclipse.ant.AntBuilderLaunchConfigurationType " does not exist.
Possible causes:
Missing specification of a launch type (missing plug-in)
Incorrect launch configuration XML

---------------------------

After cleaning and reinstalling, the log is basically empty. So the
above errors my be red herrings. I tried creating a new user and
running eclipse, but no luck (no ant preferences, no ant builder, no ant
editor). I tried installing Sun's jdk, and got the same result.

I tried to find a difference between my machine's eclipse installation
and another f14 installation (with working ant features), without luck.
The /usr/lib64/eclipse tree looks the same regarding ant jars.

It seems like the ant jars are not being recognized on my machine.
Possibly a classpath issue. But I can't see the difference between the
two machines.



--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Andrew Overholt 03-14-2011 05:20 PM

Eclipse ant support apparently missing
 
* Rob Scala <rob@scalasystems.com> [2011-03-11 21:09]:
> I recently installed eclipse on my f14 box, and I can't get ant support
> to work. No ant preferences. No ant editor.
>
> Am I missing some package? Here is what I have installed:

Can you try installing eclipse-pde?

Andrew
--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Rob Scala 03-14-2011 06:51 PM

Eclipse ant support apparently missing
 
On 03/14/2011 02:20 PM, Andrew Overholt wrote:
> * Rob Scala<rob@scalasystems.com> [2011-03-11 21:09]:
>> I recently installed eclipse on my f14 box, and I can't get ant support
>> to work. No ant preferences. No ant editor.
>>
>> Am I missing some package? Here is what I have installed:
>
> Can you try installing eclipse-pde?
>
> Andrew
>

Yes, that fixed it.

Why is pde required?

--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel

Andrew Overholt 03-15-2011 05:37 PM

Eclipse ant support apparently missing
 
* Rob Scala <rob@scalasystems.com> [2011-03-14 15:51]:
> On 03/14/2011 02:20 PM, Andrew Overholt wrote:
> >* Rob Scala<rob@scalasystems.com> [2011-03-11 21:09]:
> >>I recently installed eclipse on my f14 box, and I can't get ant support
> >>to work. No ant preferences. No ant editor.
> >>
> >>Am I missing some package? Here is what I have installed:
> >
> >Can you try installing eclipse-pde?
> >
> >Andrew
> >
>
> Yes, that fixed it.
>
> Why is pde required?

It's not, but there's a problem with something being put into the pde
sub-package when it shouldn't be. This messes up a lot of the things
that are installed into dropins (everything but the platform itself).
There are a number of related reports for this:

Eclipse won't load other plugins
https://bugzilla.redhat.com/show_bug.cgi?id=665249

Missing components for Mylyn and PyDev
https://bugzilla.redhat.com/show_bug.cgi?id=684894

... and probably a few more. It *appears* that this only happens on
x86_64 but Alex is looking into it. There's also the issue of things
only showing up after the second startup of Eclipse.

Andrew
--
java-devel mailing list
java-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel


All times are GMT. The time now is 09:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.