#232 ✓resolved
Martin Häcker

Can't organize Code into subfolders

Reported by Martin Häcker | March 3rd, 2009 @ 12:15 AM

Hi there,

I just tried moving the app delegate into a subfolder (Source) as a first step to get all the source out of the root of the project (organisation is good).

This doesn't seem to work however. When I move the AppController.j (which contains my app delegate) into the subfolder, and load it in main.j like this

-- snip -- @import "Source/AppController.j" -- snap --

I see from the output in the Safari Debugger that it does get loaded. However after that main does not get called.

-- snip -- function main(args, namedArgs) {

console.log("before main")
CPApplicationMain(args, namedArgs);
console.log("after main")

} -- snap --

i.e. I don't get any output there.

Moving other classes into Source doesn't seem to work either.

I completely don't have any ideas why this might be happening. Perhaps it's something with paths being interpreted relative where they shouldn't, but ... :)

So, please fix it.

Regards, Martin

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages