61 comments
Comment actions Permalink

Maxim

I'll look into this right away.

>


Many thanks.

Alain

0
Comment actions Permalink

I see that the source is available for a lot of these plugins. Now would
be a good time for any open source fans to show the advantages it is
supposed to have;-)

Bas

0
Comment actions Permalink

OK, I assumed, it was an easy task.

Tom

0
Comment actions Permalink

Sascha Weinreuter wrote:

So here's the patched jdom.jar as first-aid kit...


Thanks Sascha!

Bas

0
Comment actions Permalink

Thank you very much; looks like the optimal solution.

Tom

0
Comment actions Permalink

Sure. We've forced a new build but it takes an hour or so to be done.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

OK, I assumed, it was an easy task.

Tom



0
Comment actions Permalink

Thomas Singer (MoTJ) wrote:

ROFL


Yes, Rolling On Floor Laughing indeed. Quite the knee-slapper.

/Kreiger



Attachment(s):
signature.asc
0
Comment actions Permalink

JDom issues.



Attachment(s):
signature.asc
0
Comment actions Permalink

Argh. Well. Damn. It shows promise, but all my work is in JBoss right
now.

mkwerle_no_spam@nospam.yahoo.com wrote:

I should be clearer -- it's caused an exception looking for a resource
on startup for a while, but in 3311, it prevents projects using it
from loading at all.

>

--Mike

>
>

0
Comment actions Permalink

Bas Leijdekkers wrote:

I see that the source is available for a lot of these plugins. Now would
be a good time for any open source fans to show the advantages it is
supposed to have;-)

Bas


I don't get it. What's with the attitude against open source fans?

Do they have some sub-human quality i'm not aware of?

Let me point out that if these abandoned plugins weren't open source,
they would be dead in the water.

I might also add that IDEA depends on a whole bunch of open source
libraries.

Why do you need an open source person to fix ít for you?
Couldn't you do it yourself? Or would there be a stigma in having
touched open source code?

Sorry for my lack of humour in this regard, but the general attitude
against open source people in this community is leaving a bad taste in
my mouth. I'm disappointed.

/Kreiger

0
Comment actions Permalink

I don't get it. What's with the attitude against open source fans?

Surely this can't be the first time you've encountered it.

Do they have some sub-human quality i'm not aware of?

No, just a bunch of very human ones: arrogance, intolerance, an unearned sense of entitlement, a blindness to certain real-world costs and benefits, and above all a screaming need to tell seasoned, successful professionals how to do their jobs. My goodness, how could anyone possibly find those qualities unattractive!

I might also add that IDEA depends on a whole bunch of open source libraries.

Sure, who doesn't. I depend on my boots, too. That doesn't mean I'm not a little suspect of anyone who seems a little too interested in boots, if you know what I mean.

--Dave Griffith

0
Comment actions Permalink

Dave Griffith wrote:

I don't get it. What's with the attitude against open source fans?

Surely this can't be the first time you've encountered it.

Do they have some sub-human quality i'm not aware of?

No, just a bunch of very human ones: arrogance, intolerance, an unearned sense of entitlement, a blindness to certain real-world costs and benefits, and above all a screaming need to tell seasoned, successful professionals how to do their jobs. My goodness, how could anyone possibly find those qualities unattractive!


I'm saddened and disappointed by the ease with which you classify one
large group of people as lesser worth on the basis of one single criterion.

/Kreiger

0
Comment actions Permalink

Kreiger,

As a "neutral observer" in the open source debate, I think you've come to take the statements about open sourcea bit too personal and a bit too seriously (and, in all fairness, so has Dave).

I think that Bas simply made a light-hearted remark about a good opportunity to show the benefits of open source in action. His hint might have been somewhat ironic, but it was neither mean nor a deliberate attack on the open source community. No need to get offended by it, therefore. There are always better ways to respond: fix one plugin or two, throw your own light-hearted irony to the "closed source" community etc.

Let's keep alive the good spirit and humour which has been dominating this forum so far.

Friendly,
Vlad

0
Comment actions Permalink

org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
java.lang.NoSuchMethodError: org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at com.tagtraum.ideajad.JadOptions.writeExternal(JadOptions.java:607)
at com.tagtraum.ideajad.IdeaJadImpl.writeExternal(IdeaJadImpl.java:136)
at com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:138)
at com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:28)
at com.intellij.openapi.project.impl.BaseFileConfigurable._save(BaseFileConfigurable.java:41)
at com.intellij.openapi.project.impl.ProjectImpl$2.run(ProjectImpl.java:9)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:109)
at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:135)
at com.intellij.ide.actions.SaveAllAction.actionPerformed(SaveAllAction.java:2)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:9)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:14)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

java.lang.NoSuchMethodError: org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at com.wrq.rearranger.Rearranger.writeExternal(Rearranger.java:217)
at com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:75)
at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:72)
at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:296)
at com.intellij.ide.actions.SaveAllAction.actionPerformed(SaveAllAction.java:2)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:9)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:14)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

java.lang.NoSuchMethodError: org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Element;
at net.kano.codeoutline.CodeOutlinePlugin.setBooleanValue(CodeOutlinePlugin.java:172)
at net.kano.codeoutline.CodeOutlinePlugin.writeExternal(CodeOutlinePlugin.java:134)
at com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:75)
at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:72)
at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:296)
at com.intellij.ide.actions.SaveAllAction.actionPerformed(SaveAllAction.java:2)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:9)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:14)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

vlad wrote:

Kreiger,

As a "neutral observer" in the open source debate, I think you've
come to take the statements about open sourcea bit too personal and a
bit too seriously (and, in all fairness, so has Dave).

Well, it seems like everyone just started hating me over night.

My crime? Stating that i'm an open source fan, and making a prediction
about IDEAs future, that people for some reason perceived as an attack.

I think that Bas simply made a light-hearted remark about a good
opportunity to show the benefits of open source in action. His hint
might have been somewhat ironic, but it was neither mean nor a
deliberate attack on the open source community. No need to get
offended by it, therefore. There are always better ways to respond:
fix one plugin or two, throw your own light-hearted irony to the
"closed source" community etc.

I had a vision of this community acquiring a culture in which it was
acceptable to ridicule open source fans, as if they're somehow lesser
human beings. It reminded me of the school yard with the other kids
ridiculing the fat brainy kid. My knee jerk reaction was the result.

Let's keep alive the good spirit and humour which has been dominating
this forum so far.


Thank you for displaying the attitude which i expected from this
community all along.

I might as well take this opportunity to say sorry to everyone i've
offended. It was never my intention. I hope you can find it in your
hearts to not hate, disregard, or prejudge me or other open source fans
based on our beliefs.

Friendly, Vlad


Friendly,

/Kreiger

0
Comment actions Permalink

Christoffer

> Well, it seems like everyone just started hating me over night.

No, not at all.
Don't take it too personally: it's your message, and your somewhat
religious belief that people are "fighting", and not you.
Replace the speech by some useful (to us) action, as Vlad has just
suggested, and it would all be different.

It could also make you change your position, as you could find that
writing plugins is already complex and powerful enough.


Alain

0
Comment actions Permalink

Alain Ravet wrote:


It could also make you change your position, as you could find that
writing plugins is already complex and powerful enough.


Well, my position wasn't that i can't do everything i personally want to
do using the plugin API. I probably can.

My position is that someday, i believe IDEA will be open source, and i
believe that this is a good thing. This wasn't intended as an attack on
anyone, and especially not Jetbrains, who are doing a fabulous job. If
anything, it was an attack on Eclipse for not being nearly as great as IDEA.

/Kreiger

0
Comment actions Permalink

I don't get it. What's with the attitude against open
source fans?


I'm sorry Christoffer, I was just having a little fun. It was not meant against you personally. And just moments after I posted this little jab Sascha posted a fix to the open source jdom library, proving open source can work just like closed source can work. Personally I believe both have their own advantages and disadvantages and I didn't mean to offend you.

Cheers,
Bas

0
Comment actions Permalink

well if we're in the process of saying "sorry", I'd like to say I'm
sorry for posting the JIRA issue about upgrading tom jdom 1.0! ;)
(especially to Maxim!)

(I really did...but had no idea it would come to that!)

cheers (waiting for spam and dns attachs 'cause of that jira issue ;)

Christoffer "Kreiger" Hammarström wrote:

Alain Ravet wrote:

>>It could also make you change your position, as you could find that
>>writing plugins is already complex and powerful enough.
>>


Well, my position wasn't that i can't do everything i personally want to
do using the plugin API. I probably can.

My position is that someday, i believe IDEA will be open source, and i
believe that this is a good thing. This wasn't intended as an attack on
anyone, and especially not Jetbrains, who are doing a fabulous job. If
anything, it was an attack on Eclipse for not being nearly as great as IDEA.

/Kreiger

0
Comment actions Permalink

Sascha Weinreuter wrote:

Ok, I've just tried it and didn't get any exceptions any more, though I'm not sure
if there are any other plugins that might be broken by another change.

So here's the patched jdom.jar as first-aid kit...


TMate still seems to be busted using this jar:

java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Text;)Lorg/jdom/Element;
at org.tmatesoft.tmate.A.A.C.A(Unknown Source)
at org.tmatesoft.tmate.A.A.save(Unknown Source)
at org.tmatesoft.tmate.TMateProjectComponent.writeExternal(Unknown Source)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.serializeComponent(ComponentManagerImpl.java:204)
at
com.intellij.openapi.project.impl.BaseFileConfigurable.saveToXml(BaseFileConfigurable.java:138)
at
com.intellij.openapi.project.impl.ProjectImpl.saveToXml(ProjectImpl.java:28)
at
com.intellij.openapi.project.impl.BaseFileConfigurable._save(BaseFileConfigurable.java:41)
at com.intellij.openapi.project.impl.ProjectImpl$2.run(ProjectImpl.java:9)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:58)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:109)
at
com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:135)
at
com.intellij.openapi.vcs.update.AbstractCommonUpdateAction.actionPerformed(AbstractCommonUpdateAction.java:108)
at
com.intellij.openapi.vcs.actions.AbstractVcsAction.actionPerformed(AbstractVcsAction.java:33)
at org.tmatesoft.tmate.ui.window.A.A.E.actionPerformed(Unknown Source)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:9)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:14)
at
com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:1)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:119)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0
Comment actions Permalink

Sascha ,

I'm afraid addContent is not enough: the tddTracker produces the
following error

org.jdom.input.DOMBuilder.setValidation(Z)V
java.lang.NoSuchMethodError: org.jdom.input.DOMBuilder.setValidation(Z)V
at
org.intellij.openapi.PluginConfigParser.createDocument(PluginConfigParser.java:42)

Alain

0
Comment actions Permalink

Alain Ravet wrote:


I noticed a few exceptions being thrown by my JIRA plugin, ( jdom
related issues ), will check it out tonight and push a build out...

0
Comment actions Permalink

Jens Voss wrote:

jdom


anyone getting an evil jdom vibe here ]]>

0
Comment actions Permalink

"Alain Ravet" <alain.ravet@biz.tiscali.be> wrote in message
news:d4o4ed$sud$2@is.intellij.net...
>

CamelHumps is broken - which is killing me. The Camel humps support built
into IDEA is terrible in that it's all or nothing.

--
Jordan Zimmerman
Senior Software Architect
Altura International
http://www.shop.com


0
Comment actions Permalink

Arik Kfir wrote:

well if we're in the process of saying "sorry", I'd like to say I'm
sorry for posting the JIRA issue about upgrading tom jdom 1.0! ;)
(especially to Maxim!)


This begs the question, do the IDEA developers themselves use any
plugins, and if so - did they not notice that updated JDOM to 1.0 broke
most of them?

Mark

0
Comment actions Permalink

Mark Derricutt wrote:

Arik Kfir wrote:

>> well if we're in the process of saying "sorry", I'd like to say I'm
>> sorry for posting the JIRA issue about upgrading tom jdom 1.0! ;)
>> (especially to Maxim!)


This begs the question, do the IDEA developers themselves use any
plugins, and if so - did they not notice that updated JDOM to 1.0 broke
most of them?

Mark

good one ;) +1

0
Comment actions Permalink

Bas Leijdekkers wrote:
>>I don't get it. What's with the attitude against open
>>source fans?


I'm sorry Christoffer, I was just having a little fun.

Thank you. I'm also sorry for my knee jerk response.

/Kreiger

0
Comment actions Permalink

Gordon Tyler wrote:

TMate still seems to be busted using this jar:

java.lang.NoSuchMethodError:
org.jdom.Element.addContent(Lorg/jdom/Text;)Lorg/jdom/Element;


Please try this one. Totally untested, but should cure this exception
as well as the one with the tddTracker-plugin. Good luck ;)

Sascha

PS: That are all changes so far:

Element.java:

public Element addContent(Element child) {
content.add(child);
return this;
}

public Element addContent(Text child) {
content.add(child);
return this;
}

DOMBuilder.java:

private boolean validation;
public void setValidation(boolean b) {
validation = b;
}

public Document build(InputStream stream) throws JDOMException {
try {
return new SAXBuilder(validation).build(stream);
} catch (IOException e) {
throw new JDOMException("ioexception", e);
}
}



Attachment(s):
jdom-compat.jar
0
Comment actions Permalink

Well, I'm not so sure it was broken after all, but I recompiled it
anyway, and did some spring cleaning:

- It's now 1/3rd of the original size (by using new openAPI features),
- the description is 1 line shorter (looks better in the Welcome Screen),
- the url points to the wiki page,
and
- the project source is available on the wiki, as a ready to run DevKit
project:
http://intellij.org/twiki/bin/view/Main/ConfirmExitPlugin

Alain

0

Please sign in to leave a comment.