View Single Post
Old 04-23-2011, 07:07 AM   #1
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,726
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
How to set up Aptana for Calibre?

So I've got totally fed up with Eclipse deciding to only kick code analysis into life on some of my plugin code files. Instead I am attempting to revisit using Aptana (based on the recommendation of user_none).

However I am completely and utterly lost to get this up and running. I have tried various combinations of "new folders" and "external libraries" and nothing I have tried gives me a combination that allows me to browse the source code with code analysis working.

Clearly this must be down to my ignorance. Would anyone please be so kind as to give a step by step breakdown as to how to get an Aptana workspace up and running for working with Calibre?

You can assume I have done the following:
  • Installed Aptana Studio 3 with updates
  • Installed Python 2.7
  • In Aptana configured Python 2.7 with autoconfig in Preferences->Pydev->Interpreter - Python
  • In Aptana configured undefined code exclusions that chaley kindly gave me ages ago. So in Preferences -> Pydev -> Editor -> Code Analysis ->Undefined I have the values of: _,tr,I,P,dynamic_property,lopen, icu_title, icu_lower, icu_upper
  • In a D:\CalibreDev\work folder, I have done bzr branch lp:calibre. So the path to the Calibre src folder is D:\CalibreDev\work\calibre\src
  • In a D:\CalibreDev\plugins folder, I have my various plugins within subfolders

So... what should I do next?
kiwidude is online now   Reply With Quote