Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » AntEditor - NoClassDefFoundError - debian packages
AntEditor - NoClassDefFoundError - debian packages [message #100642] Sat, 26 July 2003 23:06 Go to next message
Eclipse UserFriend
Originally posted by: rlopes.ipb.pt

Hi!

When I try to edit an Ant build file (by double clicking on build.xml),
eclipse gives me an error related to a class which cannot be found:

Cannot open default editor on build.xml. Unable to instantiate editor:
org.eclipse.ui.externaltools.internal.ant.editor.AntEditor
java.lang.NoClassDefFoundError:
org/eclipse/ui/externaltools/internal/ant/editor/PlantySourc eViewerConfiguration

Moreover, when checking the Install/Update workspace, I saw that the
Eclipse Platform 2.1.1 is not properly configured. Should these be
related? How can I force it to correct the configuration?
When I try to use the Install/Upgrade, it tells me that the
/usr/share/eclipse directory is readonly and it does not allow me to
proceed...

I'm using the debian sid packages, for all that matter.

Cheers,

/rp
Re: AntEditor - NoClassDefFoundError - debian packages [message #100670 is a reply to message #100642] Sun, 27 July 2003 03:31 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Which build of eclipse are you using?

Darins
"Rui Pedro Lopes" <rlopes@ipb.pt> wrote in message
news:bfv1dt$tc5$1@eclipse.org...
> Hi!
>
> When I try to edit an Ant build file (by double clicking on build.xml),
> eclipse gives me an error related to a class which cannot be found:
>
> Cannot open default editor on build.xml. Unable to instantiate editor:
> org.eclipse.ui.externaltools.internal.ant.editor.AntEditor
> java.lang.NoClassDefFoundError:
>
org/eclipse/ui/externaltools/internal/ant/editor/PlantySourc eViewerConfigura
tion
>
> Moreover, when checking the Install/Update workspace, I saw that the
> Eclipse Platform 2.1.1 is not properly configured. Should these be
> related? How can I force it to correct the configuration?
> When I try to use the Install/Upgrade, it tells me that the
> /usr/share/eclipse directory is readonly and it does not allow me to
> proceed...
>
> I'm using the debian sid packages, for all that matter.
>
> Cheers,
>
> /rp
>
Re: AntEditor - NoClassDefFoundError - debian packages [message #100763 is a reply to message #100642] Sat, 26 July 2003 06:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zabilcm.hathway.com

Rui Pedro Lopes wrote:

> Hi!
>
> When I try to edit an Ant build file (by double clicking on build.xml),
> eclipse gives me an error related to a class which cannot be found:
>
> Cannot open default editor on build.xml. Unable to instantiate editor:
> org.eclipse.ui.externaltools.internal.ant.editor.AntEditor
> java.lang.NoClassDefFoundError:
>
org/eclipse/ui/externaltools/internal/ant/editor/PlantySourc eViewerConfiguration
>
> Moreover, when checking the Install/Update workspace, I saw that the
> Eclipse Platform 2.1.1 is not properly configured. Should these be
> related? How can I force it to correct the configuration?
> When I try to use the Install/Upgrade, it tells me that the
> /usr/share/eclipse directory is readonly and it does not allow me to
> proceed...
>
> I'm using the debian sid packages, for all that matter.
>
> Cheers,
>
> /rp

By default the planty editor does not come with eclipse. It seems that your
planty editor plugin is not configured properly
You can right click on the file and say "Run ant".
If you want to view the file then right click on the same and choose "Open
with" some other editor.
Also at the planty site i have read that there are some problems to get it
working along with xmlBuddy plugin.
Re: AntEditor - NoClassDefFoundError - debian packages [message #100794 is a reply to message #100670] Sun, 27 July 2003 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rlopes.ipb.pt

Darin Swanson wrote:
> Which build of eclipse are you using?

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Hal f-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-========================== ==================
pn eclipse <none> (no description available)
ii eclipse-javac 2.1.1-2 Eclipse Java compiler and ant plug-in
ii eclipse-jdt 2.1.1-2 Java Development Tools plug-ins for
Eclipse
pn eclipse-nls-sd <none> (no description available)
ii eclipse-pde 2.1.1-2 Plug-in Development Environment to
develop E
un eclipse-pde-ju <none> (no description available)
ii eclipse-platfo 2.1.1-2 Eclipse platform without plug-ins to
develop
ii eclipse-sdk 2.1.1-2 Extensible Tool Platform and Java IDE
ii eclipse-source 2.1.1-2 Eclipse source code plug-ins
pn eclipse-webdav <none> (no description available)
pn eclipse-xerces <none> (no description available)
un libeclipse-swt <none> (no description available)

I hope this helps... :)

Thanks and cheers,

/rp
Re: AntEditor - NoClassDefFoundError - debian packages [message #100806 is a reply to message #100763] Sun, 27 July 2003 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rlopes.ipb.pt

Zabil wrote:
> By default the planty editor does not come with eclipse. It seems that your
Are you sure? The message in planty web site says it "should" be already
included in the Eclipse distribution:
http://www.gebit.de/download/planty/about.html#Roadmap

> planty editor plugin is not configured properly
I believe this is the issue here! When installing Eclipse, it does not
get configured properly. I saw that in the Install/Update workspace.
Now, how can I force it to configure itself?
I tried to use the update feature of the platform but when reaching the
configuration directory it says that /usr/share/eclipse is marked as
readonly, even as root!

Any ideia?

Thanks and cheers,

/rp
Re: AntEditor - NoClassDefFoundError - debian packages [message #100820 is a reply to message #100642] Sun, 27 July 2003 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Rui Pedro Lopes wrote:
> Hi!
>
> When I try to edit an Ant build file (by double clicking on build.xml),
> eclipse gives me an error related to a class which cannot be found:
>

I'm sorry to bother you all. I just found the cause:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=201422

Sorry...

/rp
Re: AntEditor - NoClassDefFoundError - debian packages [message #100887 is a reply to message #100763] Sun, 27 July 2003 15:50 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
> By default the planty editor does not come with eclipse. It seems that
your
> planty editor plugin is not configured properly
> You can right click on the file and say "Run ant".
> If you want to view the file then right click on the same and choose "Open
> with" some other editor.
> Also at the planty site i have read that there are some problems to get it
> working along with xmlBuddy plugin.

When making statements such as these always state which Eclipse version you
are talking about.

The planty source and planty editor plugin were contributed and integrated
into Eclipse during the 2.1 development.
Eclipse 2.1 and any further releases include the Planty (or Ant) editor
contents and functionality

Darins
Previous Topic:plugin classloader doesn't load 3rd party jars
Next Topic:Feature for 3.0...
Goto Forum:
  


Current Time: Thu Apr 25 10:44:25 GMT 2024

Powered by FUDForum. Page generated in 0.03375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top