On Mar 31, 2005, at 7:57 AM, Robert Ullrey wrote:
This reminds me that there was going to be a fix for xcode integration. Specifically changing an xcode project into a TM project. I see something like this in the Tools folder, but is it working yet? And if so, how.
svn co http://anon:anon@macromates.com/svn/Bundles/trunk/Tools/ XCProject/
cd XCProject cc -ObjC -lobjc -Os -framework Foundation -std=c99 ConvertXcodeToTMProj.m XCProject.m -o testconvert ./testconvert <YourProjectName.xcode>/project.pbxproj <YourProjectName,tmproj>
It works on several all of my projects, several of which are large and complicated. If you get any errors, do send me a note. I can't guarantee that it reads all Xcode projects in the universe yet, but it will once I'm done with it. >:)
In the short term, I want to add a dropshell so that you can drag an Xcode project and it will open a temporary tmproj representation in TextMate.
In the long term, this will form the basis for a project source plugin, when Allan implements that feature.
Enjoy, Chris
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks Chris,
I do get an error. I have a simple GNU Make file I am trying to convert using your instructions and receive he following error: testconvert[1041] *** Uncaught exception: <NSUnknownKeyException> [<PBXFileReference 0x50bb30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key comments. Trace/BPT trap
As I understand your instructions, I run the $cc command first, then run $./testconvert .... I am using aa absolute path to my xcode project which is on the desktop. The project is also a working copy from svn.
Finally, once I get testconvert running, can I move it into my path /User/bin ?
Thanks Robert
On Mar 31, 2005, at 8:49 AM, Chris Thomas wrote:
On Mar 31, 2005, at 7:57 AM, Robert Ullrey wrote:
This reminds me that there was going to be a fix for xcode integration. Specifically changing an xcode project into a TM project. I see something like this in the Tools folder, but is it working yet? And if so, how.
svn co
http://anon:anon@macromates.com/svn/Bundles/trunk/Tools/XCProject/
cd XCProject cc -ObjC -lobjc -Os -framework Foundation -std=c99
ConvertXcodeToTMProj.m XCProject.m -o testconvert ./testconvert <YourProjectName.xcode>/project.pbxproj <YourProjectName,tmproj>
It works on several all of my projects, several of which are large and complicated. If you get any errors, do send me a note. I can't guarantee that it reads all Xcode projects in the universe yet, but it will once I'm done with it. >:)
In the short term, I want to add a dropshell so that you can drag an Xcode project and it will open a temporary tmproj representation in TextMate.
In the long term, this will form the basis for a project source plugin, when Allan implements that feature.
Enjoy, Chris ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Mar 31, 2005, at 9:06 AM, Robert Ullrey wrote:
testconvert[1041] *** Uncaught exception: <NSUnknownKeyException>
[<PBXFileReference 0x50bb30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key comments.
Oy. That's a bug. I'll fix it tonight.
Chris
testconvert[1041] *** Uncaught exception: <NSUnknownKeyException>
[<PBXFileReference 0x50bb30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key comments.
Fixed. It will now report any unknown ivars, but won't fail. Update from SVN and give it another shot.
Thanks, Chris