Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Attaching source to a plugin
Attaching source to a plugin [message #72118] Thu, 12 June 2003 11:00 Go to next message
Eclipse UserFriend
Originally posted by: andreas.rummler.tu-ilmenau.de

Hello NG,

I would like to attach the source core to a jar in a plugin. It seems
that there's an extension point for that: org.eclipse.pde.core.source.
But unfortunately it's not documented and following the scheme from
the platform source plugins (creating the zip file in
src/<plugin>/<plugin-jar>src.zip) does not work. Any help is
appreciated.


Andreas Rummler


--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
+ Andreas Rummler +
+ Technical University of Ilmenau, Germany (__) +
+ Department Of Electronic Circuits & Systems (oo) +
+ \/-------\ +
+ MAIL: mailto:arummler@acm.org || | \ +
+ MAIL: mailto:andreas.rummler@tu-ilmenau.de ||----|| * +
+ WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ +
+ PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
Richard Cook
Re: Attaching source to a plugin [message #72738 is a reply to message #72118] Thu, 12 June 2003 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: danielmarkhot.hotmail.com

When you use eclipse to deploy your plugin, I thought you could find a
checkbox to
indicate you want to deploy your plugin with source code. So eclipse will
generate a
new file named "projectName" + "src.zip" automatically.
FYI: projectName is your plugin name.

-Daniel

"Andreas Rummler" <andreas.rummler@tu-ilmenau.de> wrote in message
news:bca4j8$6i1$1@rogue.oti.com...
>
> Hello NG,
>
> I would like to attach the source core to a jar in a plugin. It seems
> that there's an extension point for that: org.eclipse.pde.core.source.
> But unfortunately it's not documented and following the scheme from
> the platform source plugins (creating the zip file in
> src/<plugin>/<plugin-jar>src.zip) does not work. Any help is
> appreciated.
>
>
> Andreas Rummler
>
>
> --
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
> + Andreas Rummler +
> + Technical University of Ilmenau, Germany (__) +
> + Department Of Electronic Circuits & Systems (oo) +
> + \/-------\ +
> + MAIL: mailto:arummler@acm.org || | \ +
> + MAIL: mailto:andreas.rummler@tu-ilmenau.de ||----|| * +
> + WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ +
> + PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp +
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
>
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs and the universe trying
> to produce bigger and better idiots. So far, the universe is winning."
> Richard Cook
>
Re: Attaching source to a plugin [message #73119 is a reply to message #72738] Fri, 13 June 2003 02:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andreas.rummler.tu-ilmenau.de

Daniel Mark schrieb:

> When you use eclipse to deploy your plugin, I thought you could find a
> checkbox to
> indicate you want to deploy your plugin with source code. So eclipse will
> generate a
> new file named "projectName" + "src.zip" automatically.
> FYI: projectName is your plugin name.

Yes, but how does Eclipse know that the sources of the plugin are
located in src.zip? BTW, I have to deploy my plugin via an Ant-script
because the built-in deployment does not work:

!STACK 0
java.lang.VerifyError:
(class: org/apache/xerces/parsers/IntegratedParserConfiguration,
method: configurePipeline signature: ()V)
Incompatible type for getting or setting field


Regards, Andreas

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
+ Andreas Rummler +
+ Technical University of Ilmenau, Germany (__) +
+ Department Of Electronic Circuits & Systems (oo) +
+ \/-------\ +
+ MAIL: mailto:arummler@acm.org || | \ +
+ MAIL: mailto:andreas.rummler@tu-ilmenau.de ||----|| * +
+ WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ +
+ PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
Richard Cook
Re: Attaching source to a plugin [message #73364 is a reply to message #73119] Fri, 13 June 2003 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: darin_swanson.oti.com

This type of error indicates a Xerces configuration problem.
Eclipse does not play well when the user attempts to use a version other
than the Xerces in the Eclipse plugin
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=37696)

Do you have a version of xerces on your classpath?
HTH
Darins

BTW, I have to deploy my plugin via an Ant-script
> because the built-in deployment does not work:
>
> !STACK 0
> java.lang.VerifyError:
> (class: org/apache/xerces/parsers/IntegratedParserConfiguration,
> method: configurePipeline signature: ()V)
> Incompatible type for getting or setting field
>
>
> Regards, Andreas
>
> --
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
> + Andreas Rummler +
> + Technical University of Ilmenau, Germany (__) +
> + Department Of Electronic Circuits & Systems (oo) +
> + \/-------\ +
> + MAIL: mailto:arummler@acm.org || | \ +
> + MAIL: mailto:andreas.rummler@tu-ilmenau.de ||----|| * +
> + WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ +
> + PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp +
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
>
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs and the universe trying
> to produce bigger and better idiots. So far, the universe is winning."
> Richard Cook
>
Re: Attaching source to a plugin [message #73550 is a reply to message #73364] Fri, 13 June 2003 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andreas.rummler.tu-ilmenau.de

Darin Swanson schrieb:

> Do you have a version of xerces on your classpath?

Yes, Xerces2. But removing the Xerces2 plugin doesn't help.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++
+ Andreas Rummler +
+ Technical University of Ilmenau, Germany (__) +
+ Department Of Electronic Circuits & Systems (oo) +
+ \/-------\ +
+ MAIL: mailto:arummler@acm.org || | \ +
+ MAIL: mailto:andreas.rummler@tu-ilmenau.de ||----|| * +
+ WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ +
+ PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
Richard Cook
Re: Attaching source to a plugin [message #82148 is a reply to message #72118] Wed, 25 June 2003 10:33 Go to previous message
Eclipse UserFriend
Originally posted by: forster.fmi.uni-passau.de

Hi,

Andreas Rummler wrote:
> I would like to attach the source core to a jar in a plugin. It seems
> that there's an extension point for that: org.eclipse.pde.core.source.
> But unfortunately it's not documented and following the scheme from
> the platform source plugins (creating the zip file in
> src/<plugin>/<plugin-jar>src.zip) does not work. Any help is
> appreciated.

Anything new on this problem? I want to do this as well.

Mike
Previous Topic:How can I get current active resource?
Next Topic:Create a workspace for each project
Goto Forum:
  


Current Time: Sat Jul 26 01:47:44 EDT 2025

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

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

Back to the top