> --
> You received this message because you are subscribed to the Google Groups
> "Cappuccino & Objective-J" group.
> To post to this group, send email to objec...@googlegroups.com.
> To unsubscribe from this group, send email to
> objectivej+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/objectivej?hl=en.
>
...except if the user doesn't have Xcode 4.
Many thanks,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
Or does xcodecapp work the same way with Xcode 3?
I'll definitely take a look at it after I finish fixing nib2cib to do real WYSIWYG conversion.
--
Aparajita Fishman <apar...@aparajitaworld.com> wrote:
>>> once this is ready we shouldn't need nib2cib --watch anymore I think.
>>
>> ...except if the user doesn't have Xcode 4.
>
>Or does xcodecapp work the same way with Xcode 3?
>
>Many thanks,
>
> Aparajita
> www.aparajitaworld.com
>
> "If you dare to fail, you are bound to succeed."
> - Sri Chinmoy | www.srichinmoy.org
>
For my information, how can I just install xcodecapp, not the whole framework ?
--
Antoine Mercadal
Le 15 avr. 2011 à 18:19, Francisco Tolmasky a écrit :
> I've gone ahead and made it so it ignores subfolders that themselves have
> Jakefiles ("subprojects"). Hopefully this alleviates the situation.
>
--
Antoine Mercadal
I've gone ahead and made it so it ignores subfolders that themselves have Jakefiles ("subprojects"). Hopefully this alleviates the situation.
--
I've just had a play and it looks promising! I did "capp gen -l testproj; cd testproj; xcodecapp" and it came up fine.
I had to do "mkdir .xCodeSupport/Another; cp Info.plist .xCodeSupport/Another/Another-Info.plist" before it would build, and it won't run due to no executable specified.
As a quick feature add, how can XCode be told to use Objective-C syntax colouring for .j files, as this already works pretty well including the navigation jump bar.
xcodecapp is a pretty cool tool. I use it to re make all my Atlas CIB to standard XIB. The conversion process runs well and now I'm done with my 25 cibs, I can make some feedback. My project as a relatively complex tree and I run into problems.
First here is how the app is globally organized:
+ The project
`--+ AppController.j
`--+ Info.plist
`--+ some tools
`--+ indexes
`-- Jakefile
`--+ Categories
| `--+ some categories, one per files
`--+ Controllers
| `--+ some controllers
`--+ Views
| `--+ some views
`--+ Model
| `--+ some model
`--+ Build
| `--+ Release
| `--+ Debug
`--+ Module
| `--+ links to built bundles in Modules.src
`--+ Modules.src
| `--+ commons modules Jakefile
| `--+ moduleA
| | `--+ files.j
| | `--+ Resources
| | | `--+ some XIB files
| | `--+ Build
| | | `--+ Release
| | | `--+ Debug
| | `--+ Jakefile
| `--+ moduleB
| | `--+ files.j
| | `--+ Resources
| | | `--+ some XIB files
| | `--+ Build
| | | `--+ Release
| | | `--+ Debug
| | `--+ Jakefile
| `--+ etc...
`--+ Resources
| `--+ some XIB files
`--+ Libraries
`--+ Cappuccino (git submodule)
`--+ TNKit (git submodule)
`--+ StropheCappuccino (git submodule)
`--+ etc..
The full tree can be seen at http://github.com/primalmotion/archipel (I suck at ASCII art)
So the problems mainly come from the bundles.
* Bundles's principal classes are inherited from for a class that resides on /model. And obviously xcodecapp doesn't find it. I fix this by adding a symlink in each bundle folder and it works.
* When I want to edit a specific XIB in a specific bundle, I need to run xcodecapp for each one. after 10 or more, the fans become crazy.
* I don't know when a conversion is done. We can see "Edited blah/blih.xib" then some warnings/errors if any, but there is no "conversion done.". That would help to know when it's ok
* I need one instance of xcodeproj for each of my bundles + one for the main app, that pretty annoying.
So what would definitely be wonderfull, would like to be able to have some sort of gitignore for xcodecapp instead of looking for Jakefile in subfolders. for instance, a .xcodecappignore with a list of folder to ignore (I would be able to ignore my Libraries and Build folders, but I will get one full XCode project with everything in it and only one xcodecapp process running)
What do you think?
Regards,
--
Antoine Mercadal
https://github.com/primalmotion/cappuccino/tree/xcodecapp-ignore
It certainly some optimization as I'm not really at ease with commonJS, but it works pretty well and fix all my problems.
Should I pull-request it ?
--
Antoine Mercadal