Compile with jake

63 views
Skip to first unread message

Bruno Ronchetti

unread,
Aug 6, 2015, 12:07:16 PM8/6/15
to Cappuccino & Objective-J
Hi.

After many months of work and a lot of help from this mailing list I have finally launched my site www.cherrypicking.it.

To make it load faster I want to compile my code and have tried to use jake. I have done the following:
  • I have downloaded the starter pack of version 098
  • I have copied the Frameworks folder from the starter kit into my project (I had the 097 versions so far)
  • I have copied the jakefile into my project
Now, when I try jake build I get a "could not load file" error - the files it does not find are in a subdirectory of Frameworks (Frameworks/RoAKit) and are imported using the 
    @import <RoAKit/RoACouchModule.j>
syntax.


Various old threads on this list suggest adding this to the jakefile:
    ENV["OBJJ_SEARCH_PATHS"] = "../../Frameworks:Frameworks";
    ENV
["OBJJ_INCLUDE_PATHS"] = "Frameworks/Debug:Frameworks";


which I think should be superseded by lines 22-26 in the new 098 jakefile template. Anyhow even with those two statement added I continue to get the "could not load file error".


What should I try next?


Thanks for your help. Bruno.

Dogild

unread,
Nov 24, 2015, 2:37:31 AM11/24/15
to Cappuccino & Objective-J
Hi Bruno,

Did you find a solution ?

Bruno Ronchetti

unread,
Nov 24, 2015, 4:17:56 AM11/24/15
to Cappuccino & Objective-J
Yes, thank you.

I had put all my "reusable" code into the Frameworks directory, which was obviously a bad idea.

I have now refactored everything in order not to mess with the Frameworks directory itself and have been able to get a clean "release" compile.

I am still not able to get the "deploy" version (due to some strange limitations in the java working memory which I have not been able to fix) but I can live with that. Guess I will wait for the new Node compilation framework.

Thanks again for asking.

Best. Bruno.
Reply all
Reply to author
Forward
0 new messages