Ganymede Plug-In Exports don't work in Linux [message #9695] |
Tue, 01 July 2008 19:01  |
Eclipse User |
|
|
|
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 #12696 is a reply to message #12676] |
Thu, 17 July 2008 09:15  |
Eclipse User |
|
|
|
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] |
Tue, 01 July 2008 20:29  |
Eclipse User |
|
|
|
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 #571624 is a reply to message #10310] |
Thu, 03 July 2008 15:44  |
Eclipse User |
|
|
|
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 #573189 is a reply to message #12637] |
Wed, 16 July 2008 10:51  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.29949 seconds