Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6551899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:23:40+00:00 2026-05-25T12:23:40+00:00

it’s a couple of months I’ve started development in Python – having myself a

  • 0

it’s a couple of months I’ve started development in Python – having myself a C# and Java background.

I’m currently working on 2 different python/appengine applications, and as often happens in those cases, both application share common code – so I would like to refactor and move the common/generic code into a shared place.

In either Java or C# I’d just create a new library project, move the code into the new project and add a reference to the library from the main projects.

I tried the same in Python, but I am unable to make it work.

I am using Eclipse with Pydev plugin.

I’ve created a new Pydev project, moved the code, and attempted to:

  • reference the library project from the main projects (using Project Properties -> Project References)
  • add the library src folder folder into the main projects (in this case I have an error – I presume it’s not possible to leave the project boundaries when adding an existing source folder)
  • add as external library (pretty much the same as google libraries are defined, using Properties -> External libraries)
  • Import as link (from Import -> File System and enabling “Create links in workspace”)

In all cases I am able to reference the library code while developing, but when I start debugging, the appengine development server throws an exception because it can’t find what I have moved into a separate library project.

Of course I’ve searched for a solution a lot, but it looks like nobody has experienced the same problem – or maybe nobody doesn’t need to do the same 🙂

The closest solution I’ve been able to find is to add an ant script to zip the library sources and copy in the target project – but this way debugging is a pain, as I am unable to step into the library code.

Any suggestion?

Needless to say, the proposed solution must take into account that the library code has to be included in the upload process to appengine…

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:23:40+00:00Added an answer on May 25, 2026 at 12:23 pm

    The dev_appserver and the production environment don’t have any concept of projects or libraries, so you need to structure your app so that all the necessary libraries are under the application’s root. The easiest way to do this, usually, is to symlink them in as subdirectories, or worst-case, to copy them (or, using version control, make them sub-repositories).

    How that maps to operations in your IDE depends on the IDE, but in general, it’s probably easiest to get the app structured as you need it on disk, and work backwards from that to get your IDE set up how you like it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want use html5's new tag to play a wav file (currently only supported
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have thousands of HTML files to process using Groovy/Java and I need to
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.