Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Ganymede Plug-In Exports don't work in Linux
Ganymede Plug-In Exports don't work in Linux [message #9695] Tue, 01 July 2008 23:01 Go to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

So, I'm unable to get the Ganymede Plug-in Development Environment to
successfully export a plug-in project - even very basic ones, like the
multi-page XML editor that's produced by the plug-in wizard. It gives me
an IllegalArgumentException while attempting to build it. Even though
Ganymede can run the plug-in as an Eclipse application successfully, it
cannot export it to a deliverable plug-in .jar.

I only have this problem with Ganymede, on Linux. On Windows or Mac OS X,
Ganymede exports plug-ins just fine. Likewise, Europe exports them on
Linux. It's only Ganymede on Linux that presents the problem.

...I don't actually have a specific complaint beyond this. I'm just going
back to Europe for my compiling. I was just wondering if anyone else was
experiencing a similar issue and if they've repaired it somehow.
Re: Ganymede Plug-In Exports don't work in Linux [message #10210 is a reply to message #9695] Wed, 02 July 2008 00:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

Richard Hughes wrote:
> So, I'm unable to get the Ganymede Plug-in Development Environment to
> successfully export a plug-in project - even very basic ones, like the
> multi-page XML editor that's produced by the plug-in wizard. It gives me
> an IllegalArgumentException while attempting to build it. Even though
> Ganymede can run the plug-in as an Eclipse application successfully, it
> cannot export it to a deliverable plug-in .jar.

Can you post the full stacktrace here?

Cheers,

~ Chris
Re: Ganymede Plug-In Exports don't work in Linux [message #10310 is a reply to message #10210] Thu, 03 July 2008 13:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

Certainly, but I'm a total newb and I'm afraid I don't know how.
Re: Ganymede Plug-In Exports don't work in Linux [message #10438 is a reply to message #10310] Thu, 03 July 2008 19:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

Never mind, figured it out.

FIRST 'BUILD FAILED'

Exception Stack Trace:
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162 )
at org.apache.tools.ant.launch.Locator.getResourceSource(Locato r.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.j ava:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309 )
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:520)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:355)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:236)
at
org.eclipse.pde.internal.core.exports.FeatureBasedExportOper ation.run(FeatureBasedExportOperation.java:46)
at
org.eclipse.pde.internal.ui.build.FeatureExportJob.run(Featu reExportJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in path at index
35: file:/home/rhughes/Desktop/Ganymede
Eclipse/plugins/org.apache.ant_1.7.0.v200803061910/lib/ant.j ar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 23 more

Session Data:
eclipse.buildId=I20080617-2000
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

SECOND 'BUILD FAILED'
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162 )
at org.apache.tools.ant.launch.Locator.getResourceSource(Locato r.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.j ava:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309 )
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:520)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .cleanup(FeatureExportOperation.java:633)
at
org.eclipse.pde.internal.core.exports.FeatureBasedExportOper ation.run(FeatureBasedExportOperation.java:55)
at
org.eclipse.pde.internal.ui.build.FeatureExportJob.run(Featu reExportJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in path at index
35: file:/home/rhughes/Desktop/Ganymede
Eclipse/plugins/org.apache.ant_1.7.0.v200803061910/lib/ant.j ar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 22 more

Session Data:
eclipse.buildId=I20080617-2000
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Re: Ganymede Plug-In Exports don't work in Linux [message #12617 is a reply to message #10438] Wed, 16 July 2008 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Marcus.Ilgner.gmail.com

Hi,

I'm having the same problem on MacOS X after upgrading from 3.3 to 3.4.
What exactly was your solution?

Best regards
Marcus
Re: Ganymede Plug-In Exports don't work in Linux [message #12637 is a reply to message #12617] Wed, 16 July 2008 14:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richardepsilonhughes.gmail.com

I don't have one, actually. I have two computers - for me, it works on Mac
OS X, but not Linux, so I just export the plugin to a .zip, sneakernet it
to my Mac, import it as a project there, then export it as a plugin.
Re: Ganymede Plug-In Exports don't work in Linux [message #12676 is a reply to message #12637] Wed, 16 July 2008 14:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Marcus.Ilgner.gmail.com

Richard Hughes wrote:
> I don't have one, actually. I have two computers - for me, it works on Mac
> OS X, but not Linux, so I just export the plugin to a .zip, sneakernet it
> to my Mac, import it as a project there, then export it as a plugin.

Thanks for the quick reply. Looks like some serious bug to me. If I do a
right-click on build.xml and choose "Run As -> Ant Build" it's working
fine.
But running it during the normal build process, it comes up with an error.
I'll check the bugtracker for the problem.

Best regards
Marcus
Re: Ganymede Plug-In Exports don't work in Linux [message #12696 is a reply to message #12676] Thu, 17 July 2008 13:15 Go to previous message
Eclipse UserFriend
Originally posted by: Marcus.Ilgner.gmail.com

FYI: I just made some changes to my target platform and after that, did a
"Clean & Rebuild All" and suddenly Ant is working fine again.
I have no clue what the problem might have been but maybe it helps someone.

Best regards
Marcus
Re: Ganymede Plug-In Exports don't work in Linux [message #571370 is a reply to message #9695] Wed, 02 July 2008 00:29 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Richard Hughes wrote:
> So, I'm unable to get the Ganymede Plug-in Development Environment to
> successfully export a plug-in project - even very basic ones, like the
> multi-page XML editor that's produced by the plug-in wizard. It gives me
> an IllegalArgumentException while attempting to build it. Even though
> Ganymede can run the plug-in as an Eclipse application successfully, it
> cannot export it to a deliverable plug-in .jar.

Can you post the full stacktrace here?

Cheers,

~ Chris
Re: Ganymede Plug-In Exports don't work in Linux [message #571482 is a reply to message #10210] Thu, 03 July 2008 13:52 Go to previous message
Richard Hughes is currently offline Richard HughesFriend
Messages: 20
Registered: April 2010
Junior Member
Certainly, but I'm a total newb and I'm afraid I don't know how.
Re: Ganymede Plug-In Exports don't work in Linux [message #571624 is a reply to message #10310] Thu, 03 July 2008 19:44 Go to previous message
Richard Hughes is currently offline Richard HughesFriend
Messages: 20
Registered: April 2010
Junior Member
Never mind, figured it out.

FIRST 'BUILD FAILED'

Exception Stack Trace:
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162 )
at org.apache.tools.ant.launch.Locator.getResourceSource(Locato r.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.j ava:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309 )
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:520)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .runScript(FeatureExportOperation.java:355)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .doExport(FeatureExportOperation.java:236)
at
org.eclipse.pde.internal.core.exports.FeatureBasedExportOper ation.run(FeatureBasedExportOperation.java:46)
at
org.eclipse.pde.internal.ui.build.FeatureExportJob.run(Featu reExportJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in path at index
35: file:/home/rhughes/Desktop/Ganymede
Eclipse/plugins/org.apache.ant_1.7.0.v200803061910/lib/ant.j ar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 23 more

Session Data:
eclipse.buildId=I20080617-2000
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

SECOND 'BUILD FAILED'
java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162 )
at org.apache.tools.ant.launch.Locator.getResourceSource(Locato r.java:119)
at org.apache.tools.ant.launch.Locator.getClassSource(Locator.j ava:90)
at org.apache.tools.ant.Project.setAntLib(Project.java:313)
at org.apache.tools.ant.Project.initProperties(Project.java:309 )
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:520)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at
org.eclipse.pde.internal.core.exports.FeatureExportOperation .cleanup(FeatureExportOperation.java:633)
at
org.eclipse.pde.internal.core.exports.FeatureBasedExportOper ation.run(FeatureBasedExportOperation.java:55)
at
org.eclipse.pde.internal.ui.build.FeatureExportJob.run(Featu reExportJob.java:55)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in path at index
35: file:/home/rhughes/Desktop/Ganymede
Eclipse/plugins/org.apache.ant_1.7.0.v200803061910/lib/ant.j ar
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 22 more

Session Data:
eclipse.buildId=I20080617-2000
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Re: Ganymede Plug-In Exports don't work in Linux [message #573065 is a reply to message #10438] Wed, 16 July 2008 09:36 Go to previous message
Marcus Ilgner is currently offline Marcus IlgnerFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

I'm having the same problem on MacOS X after upgrading from 3.3 to 3.4.
What exactly was your solution?

Best regards
Marcus
Re: Ganymede Plug-In Exports don't work in Linux [message #573121 is a reply to message #12617] Wed, 16 July 2008 14:02 Go to previous message
Richard Hughes is currently offline Richard HughesFriend
Messages: 20
Registered: April 2010
Junior Member
I don't have one, actually. I have two computers - for me, it works on Mac
OS X, but not Linux, so I just export the plugin to a .zip, sneakernet it
to my Mac, import it as a project there, then export it as a plugin.
Re: Ganymede Plug-In Exports don't work in Linux [message #573189 is a reply to message #12637] Wed, 16 July 2008 14:51 Go to previous message
Marcus Ilgner is currently offline Marcus IlgnerFriend
Messages: 15
Registered: July 2009
Junior Member
Richard Hughes wrote:
> I don't have one, actually. I have two computers - for me, it works on Mac
> OS X, but not Linux, so I just export the plugin to a .zip, sneakernet it
> to my Mac, import it as a project there, then export it as a plugin.

Thanks for the quick reply. Looks like some serious bug to me. If I do a
right-click on build.xml and choose "Run As -> Ant Build" it's working
fine.
But running it during the normal build process, it comes up with an error.
I'll check the bugtracker for the problem.

Best regards
Marcus
Re: Ganymede Plug-In Exports don't work in Linux [message #573231 is a reply to message #12676] Thu, 17 July 2008 13:15 Go to previous message
Marcus Ilgner is currently offline Marcus IlgnerFriend
Messages: 15
Registered: July 2009
Junior Member
FYI: I just made some changes to my target platform and after that, did a
"Clean & Rebuild All" and suddenly Ant is working fine again.
I have no clue what the problem might have been but maybe it helps someone.

Best regards
Marcus
Previous Topic:CombinedWordRule and strange bugs in IPresentationReconciler
Next Topic:Extension point schema for org.eclipse.ui.editors (and others) cannot be found
Goto Forum:
  


Current Time: Fri Apr 26 07:36:22 GMT 2024

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

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

Back to the top