Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Infinite recursion in Update Site export
Infinite recursion in Update Site export [message #468061] Mon, 03 August 2009 20:36 Go to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Eclipse 3.5 (64-bit Cocoa on Mac OS X)

I've got a pretty simple plug-in, a feature to contain it, and an Update
Site Project that I'm trying to build with that feature. When I invoke
Build All from the site.xml editor, I get this:


Error
Mon Aug 03 16:28:34 EDT 2009
/Users/eric/Java/Eclipse/workspaces/PluginDev/.metadata/.plu gins/org.eclipse.pde.core/temp/org.eclipse.pde.container.fea ture/compile.org.eclipse.pde.container.feature.xml:4:
The following error occurred while executing this
line:/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclip se.community.forumsview/build.xml:33:
The following error occurred while executing this line:
/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
The following error occurred while executing this line:
/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
The following error occurred while executing this line:
/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
The following error occurred while executing this line:
/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
The following error occurred while executing this line:
/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:


<repeated ad nauseam until finally this at the bottom:

java.lang.StackOverflowError

There is no build.xml left behind to inspect, either.

The plug-in has minimal dependencies (org.eclipse.ui,
org.eclipse.ui.ide, org.eclipse.runtime)

Any help appreciated,
Eric
Re: Infinite recursion in Update Site export [message #468066 is a reply to message #468061] Mon, 03 August 2009 21:08 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Eric Rizzo wrote:
> Any help appreciated,

If you export the feature using the Feature Export wizard, what happens?

If you do that and select generating a repository, you're essentially
getting a repo you can use.

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: Infinite recursion in Update Site export [message #468083 is a reply to message #468061] Tue, 04 August 2009 02:22 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Oops, turns out this was caused by a little "shortcut" I had taken with
my projects. I had put feature.xml in the same project as the plug-in
and added the feature nature and builder to the .project file manually.
While it appeared to be OK, it obviously caused the export build some
confusion.
I thought I had done this little trick before in 3.3 or 3.4, but I can't
be sure (and I'm too lazy to test right now). Is this a structure that
PDE expects to support or would be interested in supporting? I've always
hated the fact that you need 3 projects (2 of them tiny) just to publish
a simple plug-in on an update site (that is, if you don't want to dive
into the complexity of headless PDE build).

Eric


Eric Rizzo wrote:
> Eclipse 3.5 (64-bit Cocoa on Mac OS X)
>
> I've got a pretty simple plug-in, a feature to contain it, and an Update
> Site Project that I'm trying to build with that feature. When I invoke
> Build All from the site.xml editor, I get this:
>
>
> Error
> Mon Aug 03 16:28:34 EDT 2009
> /Users/eric/Java/Eclipse/workspaces/PluginDev/.metadata/.plu gins/org.eclipse.pde.core/temp/org.eclipse.pde.container.fea ture/compile.org.eclipse.pde.container.feature.xml:4:
> The following error occurred while executing this
> line:/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclip se.community.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
>
>
> <repeated ad nauseam until finally this at the bottom:
>
> java.lang.StackOverflowError
>
> There is no build.xml left behind to inspect, either.
>
> The plug-in has minimal dependencies (org.eclipse.ui,
> org.eclipse.ui.ide, org.eclipse.runtime)
>
> Any help appreciated,
> Eric
Re: Infinite recursion in Update Site export [message #600320 is a reply to message #468061] Mon, 03 August 2009 21:08 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Eric Rizzo wrote:
> Any help appreciated,

If you export the feature using the Feature Export wizard, what happens?

If you do that and select generating a repository, you're essentially
getting a repo you can use.

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: Infinite recursion in Update Site export [message #600326 is a reply to message #468061] Tue, 04 August 2009 02:22 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Oops, turns out this was caused by a little "shortcut" I had taken with
my projects. I had put feature.xml in the same project as the plug-in
and added the feature nature and builder to the .project file manually.
While it appeared to be OK, it obviously caused the export build some
confusion.
I thought I had done this little trick before in 3.3 or 3.4, but I can't
be sure (and I'm too lazy to test right now). Is this a structure that
PDE expects to support or would be interested in supporting? I've always
hated the fact that you need 3 projects (2 of them tiny) just to publish
a simple plug-in on an update site (that is, if you don't want to dive
into the complexity of headless PDE build).

Eric


Eric Rizzo wrote:
> Eclipse 3.5 (64-bit Cocoa on Mac OS X)
>
> I've got a pretty simple plug-in, a feature to contain it, and an Update
> Site Project that I'm trying to build with that feature. When I invoke
> Build All from the site.xml editor, I get this:
>
>
> Error
> Mon Aug 03 16:28:34 EDT 2009
> /Users/eric/Java/Eclipse/workspaces/PluginDev/.metadata/.plu gins/org.eclipse.pde.core/temp/org.eclipse.pde.container.fea ture/compile.org.eclipse.pde.container.feature.xml:4:
> The following error occurred while executing this
> line:/Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclip se.community.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:33:
> The following error occurred while executing this line:
> /Users/eric/Java/Eclipse/workspaces/PluginDev/org.eclipse.co mmunity.forumsview/build.xml:14:
>
>
> <repeated ad nauseam until finally this at the bottom:
>
> java.lang.StackOverflowError
>
> There is no build.xml left behind to inspect, either.
>
> The plug-in has minimal dependencies (org.eclipse.ui,
> org.eclipse.ui.ide, org.eclipse.runtime)
>
> Any help appreciated,
> Eric
Previous Topic:Infinite recursion in Update Site export
Next Topic:Reload Target Platform pointing to UpdateSite (using 3.5)
Goto Forum:
  


Current Time: Fri Sep 20 06:31:38 GMT 2024

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

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

Back to the top