The Artima Developer Community
Sponsored Link

Agile Buzz Forum
The Joys of Eclipse and Flex

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
The Joys of Eclipse and Flex Posted: May 26, 2009 3:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: The Joys of Eclipse and Flex
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Earlier, I pointed to this post about Glare (Flex backend for Smalltalk), and said I'd be taking a look at the little example. Thus began my fun little foray into tools of minimal help :)

First, I downloaded Eclipse. That installed ok, although I must say - the colorful introductory screen with a bunch of icons isn't all that helpful. I created a new project and it dove into project view, which, while not terribly like Smalltalk, was at least understandable. I quit Eclipse, and downloaded the eval of Adobe's Flex UI tools. THose installed easily enough, although - like most installers - it stayed on the "nearly done" part of the progress bar forever. With that out of the way, I started Eclipse back up.

First check - it wasn't that clear to me how to start the plugin, but it was just an option when I created a new project. Ok, easy enough. That's when the nightmare of trivial errors began :)

Flex development takes place using XML. I'm sure that some developer somewhere thought this was a good idea - but he needs to be taken out behind the woodshed, stat. leading whitespace in your source file from a copy/replace operation while looking at a tutorial? Enter inexplicable error #1:


Configuration error encountered on line 1, column 8: 
'The processing instruction target matching "[xX][mM][lL]" is not allowed.'

Googling was the only way to figure out that I had a leading whitespace in one of my XML files; the error message certainly didn't inform me of that. There were a couple more issues I ran across, but those were related to the examples on the Glare page being partially incomplete - you really need to go to the source page (which is linked from the article) to get the full source for the Flex code (there were missing imports - something I'm sure an experienced Air developer would pick up).

Anyway - at that point, it started working: I had a back end Smalltalk service feeding a little Air app:

Technorati Tags: , , , ,

Read: The Joys of Eclipse and Flex

Topic: Goodbye England, hello Canada! Previous Topic   Next Topic Topic: Industry Misinterpretations 137: Kicking the Tires

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use