Flash Builder 4.7 corrupt workspaces - flash-builder

On OS 10.8.2 and using the latest Flash Builder 4.7 it seems I can't go for more than a few days before running into compile errors.
90% of the time these have something to do with my workspace becoming corrupt.
Simple to fix, BUT, a pain having to reapply ALL my settings, plugins etc every time I create a NEW workspace.
Can anyone suggest any way(s) of avoiding workspaces from becoming corrupt?

Great question, I really hope someone can answer it. In the meantime, I found a way to recover from crashes without needing to rebuild all the project configuration etc which is so tedious. This is on OSX 10.8.4, Flash Builder 4.5, hopefully it works for FB 4.7 too...
Ensure FB is closed
Move all the project files out of the {workspace_fb}.metadata/.plugins/org.eclipse.core.resources/.projects folder.
Start FB then close it again.
Move projects folders back in to the .projects folder.
Start FB.

Related

On macOS I am having an issue. Running 10.14.2 in all my non-sandboxed projects, in any NSOpenPanel, the right click commands do not work. Any Idea?

While developing a Cocoa sandboxed application, I discovered that if I switched it to non sandboxed, in all the Open Panels of the application, the right click commands (Duplicate, move to trash etc.) do not work any more. I am certain they did work no more than two weeks ago, but I have reverted the project to old commits and the misbehaviour is still there. I tried everything, until I realised that this misbehaviour now appears in all my projects, if I switch them to non-sandboxed. This makes me think it may be some kind of bug introduced in 10.14.2 or something similar. I hope somebody else has experienced the same issue so that we can understand better what is going on. Thanks
P.S. I am using the latest Xcode 10.1 (10B61) and tried on several machines. It is the same misbehaviour.
The OS might be confused by having some contradicting leftover knowledge about sandboxed and non-sandboxed versions of the app with the same version / bundle ID / signature.
Some things to try:
Test the app on a fresh user account.
Delete the app sandbox container from your Home Folder > Library > Containers.
Temporarily change app bundle ID to something new to see if it’s still affected.

Xcode 8 not opening project on start

I have a problem to open my project in Xcode 8 it's loading and not open. Yesterday It's opened but today not. I already deleted xcurdata folder, cleared DerivedData folder and deleted file com.apple.dt.Xcode in ~>/Library/Caches
Someone give me a light?
It's a problem with my icloud. My project was in Documents and every time that I install some framework with cocoapods, the Xcode stop to work, and load after icloud finish sync. I solved the problem putting the folder of project out of icloud.
This is in regards to an issue where you try to load a project in Xcode 8 after doing a migration to Swift 3 and all it does is stall and show the "Loading..." indicator in the Xcode status window?
Other methods of trying to correct this were:
1) Deleting ~/Library/Saved Application State/come.apple.dt.Xcode.savedState
2) Deleting /xcuserdata/ from Project.xcworkspace and Project.xcodeproj
3) Backing up the current story board, removing it from the project, recreating it, then cutting and pasting the contents from the old story board to the new story board.
I've tried all of the above to no avail. I've also upgraded to 8.1. I had a git folder inside my documents folder, so I am in the process of migrating that out my documents folder. Will try to load the project again after it's finished.
Just curious but did you have the "Optimize Mac Storage" option checked for iCloud sync? I did have it checked, I could see how this could cause a lot of issues with Xcode should your projects be stored in the documents folder. If some assets aren't getting touched for a long time, they are removed from the local drive and only stored in iCloud...
In my case with Xcode 8.2, I experienced slow and lots of hangs .. I am working with many projects .. the solution that so far seems to solves all such issues was to "disable" git repository creation during project creation .. I did recreate all of my projects without "git" repository because first: I am not experienced in using such "git" version control, and second: cause I manage versioning myself.

XCode hangs every time when i write few lines of code in playground

I have just started working with Swish after buying my new imac and i am working on play ground. for last 2 days i am banging my head with wall but i could not fix this problem.
When ever i am writing few lines of code, Xcode hangs and mouse turns into small colored circle when you hoverover on the xcode window. I have to quit by force every time when xcode hangs.
I tried all possible option which i could find on stackoverflow;
I draged xcode from application to trash bin, cleaned trash bin, restarted the imac, downloaded xcode from app store installed it.
when i opened xcode after installation, it opened all my files automatically and problem was still there.
Then i followed this solution How to uninstall Xcode 5.0.2 from MAC 10.9 and removed all xcode related files by using appCleaner. It cleaned all files and folder. I restarted my system and installed xcode again :( and problem is still there.
I tried to uninstall xcode with sudo /Developer/Library/uninstall-devtools --mode=all but it does not work, terminal says
sudo: /Developer/Library/uninstall-devtools: command not found
I could see that there is something wrong with this run time compiler.
and yes i downloaded and installed the xcode 6.4 beta version and problem still there.
Can any one turn my face from :( -> :)
Here is a solution which #user3344236 provids. If someone has same problem use this trick. Create an empty project and then add playgrounds file in it. It would not crash or Xcode would not hang.
Playground is in early stages and there is something fishy with "standalone" playground, If you create swift file with File->New->PlayGround, there is high chances that Xcode will hang and you can have same problem what i had for 2 days.
A little late, but I have run into similar problems with the latest XCode (7.2) on Yoesmite. This is espcially annoying when you are, for example, writing up a long tutorial in the editor and risk losing content because of a Force Quit situation.
The simplest workaround I have found, especially when I am initially entering all the text and code (and hence really don't want it continuously trying to execute) is to insert the following at the top of each new file - removing it when I am ready to autorun the code.
don't execute
It can be any text, as long as it doesn't parse. The playground environment won't try to run while there is a syntax error in the file. But you still get all the context-sensitive help and auto-completion magic to aid in your writing.

asset library (swc) does not reflect changes in flash project in fb

I have created gui related components in flash professional and exported the swc and added this swc into my referenced libraries (by adding link to the swc) and I can create/reference to the symbols in my flash builder project.
Every thing is fine untill I modify something(MC) and export the swc the changes won't reflect immediately. This is somewhat understood, so I just use to restart FB so that the changes are reflected. This was working find until yesterday.
After making changes to symbols, nothing will reflect the changes
I restart the FB (which use to work till yesterday)
Refresh project, referenced libraries
Clear browser cache
Clean the project
I left home with frustration and today morning when I restarted the system it got reflected the changes. And now I did changes to the gui again and its the same problem.
I know there is one easy way which is to remove and add the swc reference from the project
I am pretty sure there could be much easy simple way to do it.
The compiler cache can sometimes not pick changes in SWC libraries (old known issue).
Solution, when you think this problem happens, is to "clean" the project. Both FlashBuilder and FlashDevelop let you clean the project from the Project main menu.

Aptana 3 becomes very sluggish with multiple (large) projects, how do I improve performance?

Aptana 3 becomes very sluggish with multiple (large) projects, how do I improve performance?
I have several projects that I checkout of subversion into a dev directory that I can access through Apache as well. Something like this
So if I go to this URL http://local.dev I can see all the project folders. In Aptana it looks like this
+ dev (main project folder that Apache uses as well)
- project (svn branch I'm currently testing)
- another_project (another svn branch)
- yet_another_project (yep, another svn branch)
So to access the project form the URL I don't need to configure Apache every time, I just need to access the project folder like this http://local.dev/project or http://local.dev/another_project
The problem is these project are very large (Prado, Zend and Drupal frameworks as well as additional Libraries as needed) and I could have multiple branches of the same project checked out into different folders. Aptana indexes all of this which is what I think the problem is. I know I could create a project for each of these within Aptana itself and close the project if I'm not using it but I don't see the option to do this to a folder within the project (which I think should solve my problem), but if I do separate project folders that I also need to setup Apache to point to the new location, which is another pain in itself.
Is there a way to close a sub-folder in a project folder in Aptana? or have a sub-project folder? or Close a folder within a project? or exclude indexing of a folder? or turn off indexing?
NOTE: Sometimes when adding a new folder within a project I get the out of memory warning and/or Aptana crashes. Also when coding Aptana becomes so sluggish that it's very cumbersome to do anything at all. I really love the Aptana IDE but this might be a deal breaker for me.
I was thinking I would move the Apache site to the Aptana root directory so I could access it on a project level but I don't think this will work for the indexing performance on the Aptana side of things.
UPDATE:
This might be related:
http://jira.appcelerator.org/secure/EditComment!default.jspa?id=75032&commentId=169647
Looks like Aptana is indexing the .svn folders
UPDATE:
So far the only thing to help is to make a new workspace for each project I need to checkout of svn. This is a pain to switch back and forth between projects but Aptana is usable again.
UPDATE #2
http://jira.appcelerator.org/browse/APSTUD-1706
Looks like this made the Aptana BUG list, Yeah!
UPDATE #3
After countless tinkering to get Aptana to play nice I decided to test other IDE's.
Started with Eclipse as that's what Aptana is based from. I have a nice build going but it's still not 100% what I was looking for.
Also trying PHPStorm which is paid IDE but I'm finding it's a top notch IDE
You could right-click on the project or folder and select Indexing > Exclude from index to disable indexing on the specific selection.
You could also turn off Project > Build Automatically from the main menu so the build doesn't get triggered on the project each time a file in it is saved.
Hope this helps.
I've been having the same problem myself and found going to 'Project' > 'Clean...' helped significantly, although it took a while to run.
I keep my projects in separate workspaces, I use ramdisk for the entire workspace and aptana. And i also disable indexing for folders with compiled libraries or stuff aptana can't even index anyway.
I use AMD ramdisk paid version. With the free version you have to make sure you do constant commits in the event of a power loss. THe cost of performance.
Yeah I just moved off Coda on the Mac over to Aptana 3 so I could have code intellisense and some more validators. But their JSLint is working all backwards, and now recently I have projects with 1000+ lines of code and they can barely scroll. Sometimes I can barely highlight text. Often I'll highlight a whole section so I can indent and it just removes the code if my mouse isn't in the right spot. I originally had this performance with Eclipse when I tried it out and abandoned it since it was so slow. My assumption here since I've got a 4.2Ghz i7 980X w/ 12GB of RAM and RAID'd SSD Drives - the bottle neck isn't the system.
totally agree... the bare-metal eclipse is doing better than Aptana... but i guess it gonna stall on large files and projets (like my todo list with 14.000 lines html file)
i gave more ram to aptana by modifying the config... but it's still sluggish (i5, 4GB of RAM, SSD)
the Clean-Option is greyed out (i am using only "General" Projects)
C'MON IBM YOU CAN DO BETTER :)
Right Click project folder and click "Close Unrelated Projects". Because Aptana live time index all opened project's folders.