Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Unable to get SWT Flex examples (want to port GEF app to web)
Unable to get SWT Flex examples (want to port GEF app to web) [message #569064] Fri, 26 February 2010 11:01 Go to next message
Ken Fasano is currently offline Ken Fasano
Messages: 7
Registered: February 2010
Junior Member
I'm running
e4 Compatibility Platform 0.9.0.I20091120-1200
with
Eclipse e4 ActionScript Developer Tools (Incubation) 0.9.0.v20090609-1530-47L-9oB55W5I5O28OE5
on
Windows XP

following the instructions on how to set up the SWT port for Flex:
http://www.eclipse.org/e4/development/readme/readme_e4_0.9.h tml#R-Demos-Flex

4.2.3 SWT Flex examples

I have gotten to the step "Get the demos", but am unable to
access the CSV server. I get the following error:

Could not connect to :Pserver:mailto:anonymous@dev.eclipse: I/O exception occurred: ProxyHTTP: java.io.IOException: proxy error: Forbidden

I get the same error if I select "Generate E4 sample project" from the E4 menu item.

Besides Flex, what other options are there for porting a SWT/GEF desktop to the web (e.g. Dojo, Silverlight), and where can I get instructions on how to set these up in E4?

Also, are the ActionScript Developer Tools available in 1.0M3? When I try to install software from the online p2 repo link in 0.9, I get the SWT>Action Script installation, but not on 1.0M3.

Thanks!
Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569163 is a reply to message #569064] Sun, 28 February 2010 11:08 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Ken Fasano wrote:
> I'm running e4 Compatibility Platform 0.9.0.I20091120-1200

The last version that flex was known to work with was the 0.9 release,
which would be around the v20090630-1500 to v20090729-1930 timeframe ...
I'm not sure how compatibly a November build (I20091120-1200) would be
with them.

> with
> Eclipse e4 ActionScript Developer Tools (Incubation)
> 0.9.0.v20090609-1530-47L-9oB55W5I5O28OE5
> on
> Windows XP
>
> following the instructions on how to set up the SWT port for Flex:
> http://www.eclipse.org/e4/development/readme/readme_e4_0.9.h tml#R-Demos-Flex
>
>
> 4.2.3 SWT Flex examples
>
> I have gotten to the step "Get the demos", but am unable to
> access the CSV server. I get the following error:
>
> Could not connect to :Pserver:mailto:anonymous@dev.eclipse: I/O
> exception occurred: ProxyHTTP: java.io.IOException: proxy error: Forbidden

":Pserver:mailto:anonymous@dev.eclipse:..." would be totally invalid.
Is that just an artifact of pasting the error message into your post?

> Also, are the ActionScript Developer Tools available in 1.0M3? When I
> try to install software from the online p2 repo link in 0.9, I get the
> SWT>Action Script installation, but not on 1.0M3.

The ActionScript tools are in 0.9, but not in the 1.0 stream. See
http://dev.eclipse.org/mhonarc/lists/e4-dev/msg02180.html

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569196 is a reply to message #569163] Mon, 01 March 2010 03:32 Go to previous messageGo to next message
Eclipse User
Originally posted by: qualle2008.gmail.com

A so interesting project is dead. That is why I came to e4.

Paul Webster wrote:
> Ken Fasano wrote:
>> I'm running e4 Compatibility Platform 0.9.0.I20091120-1200
>
> The last version that flex was known to work with was the 0.9 release,
> which would be around the v20090630-1500 to v20090729-1930 timeframe ...
> I'm not sure how compatibly a November build (I20091120-1200) would be
> with them.
>
>> with
>> Eclipse e4 ActionScript Developer Tools (Incubation)
>> 0.9.0.v20090609-1530-47L-9oB55W5I5O28OE5 on
>> Windows XP
>>
>> following the instructions on how to set up the SWT port for Flex:
>> http://www.eclipse.org/e4/development/readme/readme_e4_0.9.h tml#R-Demos-Flex
>>
>>
>> 4.2.3 SWT Flex examples
>>
>> I have gotten to the step "Get the demos", but am unable to
>> access the CSV server. I get the following error:
>>
>> Could not connect to :Pserver:mailto:anonymous@dev.eclipse: I/O
>> exception occurred: ProxyHTTP: java.io.IOException: proxy error:
>> Forbidden
>
> ":Pserver:mailto:anonymous@dev.eclipse:..." would be totally invalid. Is
> that just an artifact of pasting the error message into your post?
>
>> Also, are the ActionScript Developer Tools available in 1.0M3? When I
>> try to install software from the online p2 repo link in 0.9, I get the
>> SWT>Action Script installation, but not on 1.0M3.
>
> The ActionScript tools are in 0.9, but not in the 1.0 stream. See
> http://dev.eclipse.org/mhonarc/lists/e4-dev/msg02180.html
>
> PW
>
Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569230 is a reply to message #569163] Mon, 01 March 2010 14:28 Go to previous messageGo to next message
Ken Fasano is currently offline Ken Fasano
Messages: 7
Registered: February 2010
Junior Member
I can download everything from home. There are two documents that are almost identical:
http://www.eclipse.org/e4/development/readme/readme_e4_0.9.h tml#R-Demos-Flex
and
http://wiki.eclipse.org/E4/SWT/Running_the_demos

The main difference is that the first wants a download from a branch, R0_9, and the second doesn't mention this. Either way, I get the errors described below.

I've got e4, version 0.9, with ActionScript Developer, Flex (with -Dflex.sdk=C:/Flex in eclipse.ini), Java 1.6, and the following items listed in Package Explorer:

org.eclipse.draw2d
org.eclipse.e4.swt.releng (I've imported the project sets)
> org.eclipse.swt (not compiling)
org.eclipse.swt.e4
org.eclipse.swt.e4.examples
org.eclipse.swt.e4.jcl
>org.eclipse.swt.examples (not compiling, dependent on org.eclipse.swt)

I've followed the instructions down to "Get the demos". I've renamed .classpath_flex to .classpath in the org.eclipse.swt.examples project..

When I build (or clean with Build Automatically on), I get 19 errors, of which 15 are

Package 'org.eclipse.swt.awt' does not exist in this plug-in /org.eclipse.swt/META-INF line 12 Plug-in Problem

Package 'org.eclipse.swt.examples.accessibility' does not exist in this plug-in MANIFEST.MF /org.eclipse.swt.examples/META-INF line 10 Plug-in Problem

(and 13 more like #2;)

Draw2d, swt.e4.examples, and swt.examples "cannot be build until [their] prerequisite org.eclipse.swt is built, and, finally

The project was not built since the source file /org.eclipse.swt/Eclipse SWT/flex/org/eclipse/swt/widgets/Widget.java could not be read 8o

That's because the directory org.eclipse.swt/Eclipse SWT has no flex subdirectory (although it has cairo, carbon, cocoa, etc., including Win32 - I'm compiling on WinXP (ugh).

Is this simply a missing file? Or did I screw up at an earlier step?

Anything anyone can suggest would be greatly appreciated.
Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569262 is a reply to message #569230] Mon, 01 March 2010 15:13 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

So you imported all of the projects from
org.eclipse.swt.e4.flex-incubation-0.9.zip and then used the PSF to get
the demo/examples?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569294 is a reply to message #569262] Mon, 01 March 2010 15:23 Go to previous messageGo to next message
Ken Fasano is currently offline Ken Fasano
Messages: 7
Registered: February 2010
Junior Member
So you imported all of the projects from org.eclipse.swt.e4.flex-incubation-0.9.zip...

Yes, "Existing Projects (org.eclipse.swt.e4.flex-incubation-0.9) into Workspace > Select archive file", which adds org.eclipse.swt and org.eclipse.swt.e4.jcl

and then used the PSF to get the demo/examples?

yes, "Import Project Set" on org.eclipse.e4.swt.releng/e4.swt.as.demo.psf
Re: Unable to get SWT Flex examples (want to port GEF app to web) [message #569713 is a reply to message #569064] Thu, 11 March 2010 03:42 Go to previous message
Marton Sigmond is currently offline Marton Sigmond
Messages: 71
Registered: July 2009
Location: Hungary
Member
I can confirm that following the http://wiki.eclipse.org/E4/SWT/Running_the_demos instructions led to compilation errors.
I tried it on Ubuntu x86_64, and WinXP.
I tried the 0.9, the 1.0M3, and the 1.0M4 builds.
No success yet.

Regards,
Marton


Best Regards,
Marton Sigmond
Software Design Engineer
Previous Topic:Unable to get SWT Flex examples (want to port GEF app to web)
Next Topic:e4 1.0M4: major update bug in package explorer with contacts demo
Goto Forum:
  


Current Time: Sat Aug 23 05:30:49 EDT 2014

Powered by FUDForum. Page generated in 0.05058 seconds