|
GrandMasterBirt
|
 |
« on: May 21, 2008, 07:07:25 PM » |
|
So, I downloaded the SVN snapshot, however a few questions were raised: 1) Why don't you check in the .project and .classpath files? 2) What version of flex do i need in order to compile the flex project? Flex 3?
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #1 on: May 22, 2008, 07:50:30 AM » |
|
1) Why don't you check in the .project and .classpath files?
Because it can often cause problems for others that are using Eclipse not set up the way I am (for example if I explicitly specify the JRE environment on my machine). Further, since I don't expect everyone to use Eclipse I prefer just to leave it alone and let others decide.  Finally, it's not really hard to configure a new project without them so I figure there's not much of a loss. 2) What version of flex do i need in order to compile the flex project? Flex 3?
Flex 2.01, I may eventually upgrade to Flex 3, but so much has changed it will be a complete re-write. Also, I've customized so much of the Flex code and added much more so it's only partially Flex 2 anymore that the implementation relies on.
|
|
|
|
|
Logged
|
|
|
|
|
GrandMasterBirt
|
 |
« Reply #2 on: May 22, 2008, 09:36:49 AM » |
|
Ok, I compiled with Flex 3, and it seems to be working rather well. In fact there are no more corruptions on the flex app vs when I was using the beta7 jar (there were white "bricks" all over the screen during startup)
I am not sure if we can download Flex 2 anymore. Adobe has made it quite hard to get Flex 2 (they REALLY don't want you using it anymore, we have to use the zips we have stored at work to give everyone compilers now, we have not found a flex2 distribution online anymore, or maybe looked in the wrong place, or maybe adobe has made it available again.)
On a side note, your svn snapshot was surprisingly easy to set up in eclipse.
|
|
|
|
« Last Edit: May 22, 2008, 10:32:20 AM by GrandMasterBirt »
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #3 on: May 22, 2008, 11:03:37 AM » |
|
Ok, I compiled with Flex 3, and it seems to be working rather well. In fact there are no more corruptions on the flex app vs when I was using the beta7 jar (there were white "bricks" all over the screen during startup)
I am not sure if we can download Flex 2 anymore. Adobe has made it quite hard to get Flex 2 (they REALLY don't want you using it anymore, we have to use the zips we have stored at work to give everyone compilers now, we have not found a flex2 distribution online anymore, or maybe looked in the wrong place, or maybe adobe has made it available again.)
That's something I hadn't considered being a problem.  Are you sure you're actually building with Flex 3? I'd be quite surprised if it compiled... You can download Flex 2.01 from here if you like: http://captiveimagination.com/download/flex2.01.zipOn a side note, your svn snapshot was surprisingly easy to set up in eclipse.
Thank you. 
|
|
|
|
|
Logged
|
|
|
|
|
GrandMasterBirt
|
 |
« Reply #4 on: May 22, 2008, 01:42:00 PM » |
|
The flex2 link is helpful, but strangely enough it was a problem to find when Flex 3 went public. They REALLY wanted you to use Flex 3, I think there was an outrage cry from current users. If you search adobe website it all takes you to Flex 3 download site.
implementations/flex compiles using flex3 with no problems.
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #5 on: May 22, 2008, 02:07:04 PM » |
|
And it runs fine without any issues? I'll need to test this out for myself...that would be great news. 
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #6 on: May 22, 2008, 02:12:53 PM » |
|
Yeah, there's definitely something wrong on your side. I just did a quick test with the latest code from Flex 3 and it errors out almost immediately trying to build the Flex Implementation against it so either you're actually pointing to Flex 2.01 or you're not actually rebuilding the SWF. 
|
|
|
|
|
Logged
|
|
|
|
|
GrandMasterBirt
|
 |
« Reply #7 on: May 22, 2008, 02:31:25 PM » |
|
Then my code would not work.
I use the implementations/flex to get the SWF itself. I built using the ant script. I also have only flex 3 installed on my home comp. (it finds mxmlc because it is on the path since I put it on the path)
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #8 on: May 22, 2008, 04:08:16 PM » |
|
You don't have to re-build the SWF though unless you're making changes to the Flex Implementation though...are you intending to do that?
The Flex Implementation is just a pre-compiled SWF file. It doesn't actually work like Flex is designed to (design your application and it compiles to an SWF), rather the SWF is just an interpreter for commands coming in from the server and it's those commands that create your application dynamically.
|
|
|
|
|
Logged
|
|
|
|
|
GrandMasterBirt
|
 |
« Reply #9 on: May 22, 2008, 04:17:40 PM » |
|
Oh I see... Yea I figured its just an interpreter... Do you still have to modify it whenever you create these components, or you mostly work on the java side now?
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #10 on: May 22, 2008, 05:56:39 PM » |
|
I try to stay on the Java side when possible, but inevitably I have to get my hands dirty in AS3 every now and again.  Eventually I may create a new implementation using the J2AS API and do something similar to the GWT implementation.
|
|
|
|
|
Logged
|
|
|
|
|
GrandMasterBirt
|
 |
« Reply #11 on: May 22, 2008, 07:27:32 PM » |
|
Oh? GWT implementation is ready? I was hoping that would be up and running 
|
|
|
|
|
Logged
|
|
|
|
|
darkfrog
|
 |
« Reply #12 on: May 23, 2008, 07:29:37 AM » |
|
Not ready, but much closer.  The communication system connects and does it thing and receives the initial stream of messages to create the application, but I haven't finished the actual creation of components part. My time has been extremely limited lately.
|
|
|
|
|
Logged
|
|
|
|
|