NBEclipse with Flex/ FlashBuilder 4.0
Posted: Mon Jul 13, 2009 12:02 pm
Hi,
I've downloaded FlashBuilder 4.0 which is the latest Flex development environment. It is an Eclipse-based setup, using Ganymede. Currently I'm having to work this way, with both NB and FlashBuilder (FB) Eclipses running, with separate workspaces:
1) Write/fix some code in FB Eclipse,
2) Save in FB with "Build Automatically"
3) Copy swf file to NBEclipse workspace,
4) Clean the NB Eclipse project (just hitting and deleting a key in main.cpp to force a "Build Automatically" doesn't seem to be sufficient.)
5) Load/Run the NB project
This works, but is slow, especially the NB Clean (I keep getting distracted by other things while waiting and forget where I was). And if I forget to copy the swf file I have to go back and repeat parts.
I don't mind switching between the two Eclipses, but would having these in one instance of Eclipse eliminate the copying step, or esp the Clean? If so, I couldn't see how to get FB into the NB Eclipse, so could I get FB Eclipse Ganymede to support NB? Is there an App Note on how to do this (I have looked)?
Is there a way to get the new swf file built into the *.app w/o doing a Clean?
Possibly unrelated: Why does a Clean take 60 seconds? A build with one file changed takes about 10 seconds. I've moved the archived files out of the workspace, it had been building them as well each time, but I think it is just doing the one project now.
NBEclipse Rel23_RC7, Adobe Flashbuilder 4.0 Premium beta, XP
Thanks!
Sam
I've downloaded FlashBuilder 4.0 which is the latest Flex development environment. It is an Eclipse-based setup, using Ganymede. Currently I'm having to work this way, with both NB and FlashBuilder (FB) Eclipses running, with separate workspaces:
1) Write/fix some code in FB Eclipse,
2) Save in FB with "Build Automatically"
3) Copy swf file to NBEclipse workspace,
4) Clean the NB Eclipse project (just hitting and deleting a key in main.cpp to force a "Build Automatically" doesn't seem to be sufficient.)
5) Load/Run the NB project
This works, but is slow, especially the NB Clean (I keep getting distracted by other things while waiting and forget where I was). And if I forget to copy the swf file I have to go back and repeat parts.
I don't mind switching between the two Eclipses, but would having these in one instance of Eclipse eliminate the copying step, or esp the Clean? If so, I couldn't see how to get FB into the NB Eclipse, so could I get FB Eclipse Ganymede to support NB? Is there an App Note on how to do this (I have looked)?
Is there a way to get the new swf file built into the *.app w/o doing a Clean?
Possibly unrelated: Why does a Clean take 60 seconds? A build with one file changed takes about 10 seconds. I've moved the archived files out of the workspace, it had been building them as well each time, but I think it is just doing the one project now.
NBEclipse Rel23_RC7, Adobe Flashbuilder 4.0 Premium beta, XP
Thanks!
Sam