Re: [Pydev-users] [pydev - Users] Use existing Python source?

2007-02-17 Thread Don Taylor
Don Taylor wrote:

> However, you can work around this behaviour by creating a new project 
> without a 'src' folder and then create a linked folder in the new 
> project that points to the root of the project that is outside of the 
> Eclipse workspace.
> 
> You then have to teach Pydev about this folder so that it can create the 
> PYTHONPATH correctly.  Go to the properties dialog for your new project 
> and add the location of the root of the project (the one outside of the 
> Eclipse workspace) as an External Source Folder.
> 
> You should be able to edit, run and debug files in your existing 
> project.  However, you cannot use new Pydev Package, new Source Folder 
> or new Pydev Module to add files and folders into your external source 
> folder.  You can use new Folder and new File so you should be able to do 
> everything you need to do.
> 
Fabio:

If I do the above then what impact does it have on code completion, 
analysis etc...

Thanks,

Don.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] RE: Jython Debug mode step into acts as step

2007-02-17 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4163393
By: fabioz

I just didn't understand 1 thing... you said you have jython 2.1 and python
2.5... what exactly does that mean? Are you using jython 2.1 with the libs from
python 2.5?

It should work if you have jython 2.1 + java 1.4 + eclipse 3.2.1 + pydev 1.2.7
(but I haven't tested it over here... so, if it doesn't work, please open a
bug report for that -- with that config -- and I'll take a look at it|).

Cheers,

Fabio


__
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


Re: [Pydev-users] What is the difference between a 'source folder' and a folder in Pydev

2007-02-17 Thread Fabio Zadrozny

On 2/16/07, Don Taylor <[EMAIL PROTECTED]> wrote:


Fabio:

The new command lets you create either a source folder or a folder but I
don't understand what is special about a source folder.



The source folder is special because it is the folder that will be added to
your pythonpath.

Is there any reason that I should not create folders instead of source

folders.  Regular folders have more options (eg. links)



You can create a regular folder with a link and later set that folder as
your source folder -- so that it enters in the pythonpath (but pydev
currently only supports source-folders as link folders... other link-folders
beneath your structure will not be treated correctly for code-completion,
analysis, etc).

The same is true of files vs. Pydev modules.  Is there any reason not to

simply create a file with a .py extension instead of using create Pydev
Module.  Again, files have more options (eg. links) than modules.



No real reasons... the only difference is that it will make sure that you
can only create things inside a pydev source folder (and you don't have to
put the .py extension) -- because files outside of a source folder will not
enter the pythonpath, and will not be part of a code-completion or analysis.

Cheers,

Fabio
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


Re: [Pydev-users] How do you create deep package hierarchies?

2007-02-17 Thread Fabio Zadrozny

On 2/16/07, Don Taylor <[EMAIL PROTECTED]> wrote:


I don't see how to create a package hierarchy like this:

dir0\
 dir1\
 __init__.py
 dir2\
 __init__.py
 mod.py

(from Learning Python, p. 272)



You can do it by creating a new package with the text 'dir0.dir1.dir2' -- it
will create the whole structure at once and will put all the needed
__init__.py files in place -- and if you have a selected package it will
offer it as a part of the string. e.g.: if you select 'dir0.dir1', that's
what will appear initially in the new package wizard.

Cheers,

Fabio
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users