Hi,

Ok, you need to;

1) Open you Project in FB2
2) Right Click on your Project's main node
3) Select properties
4) Select Flex Build Path
5) Select the Source path Tab
6) hit Add Folder
7) Navigate to your shared classes folder
   - if say you have /classes/com/teotiGraphix
8) Select the classes folder as the root becasue it contains the start of your classpath 'com'
9) hit OK and you now are sharing your classpath with any project you want.

Things to note;

When you do this, you can create new folders, .as, .mxml files right in the linked classpath.
Watch if you use subversion when deleting files.

Other than that from a newbie with Eclipse, it works good for me right now.

Peace, Mike


On 5/16/06, Claudia Barnal <[EMAIL PROTECTED]> wrote:
>I seperate Projects in FB2, but use the same classpath for SHARED core things.

This sounds just about what I am looking after... and is what I can't achieve.

How do you import these classes if they are outside your project folder/package?

It might be an extremely obvious answer, but I can't get hold of it :(

Thanks Michael,
Claudia

On 5/16/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Use classpaths.
>
> I have one classpath that is hooked into subversion. IE c:/Flex/classes/com/teotiGraphix/...
>
> I seperate Projects in FB2, but use the same classpath for SHARED core things. But a component or application that needs it's own 'tear off class file stub', I create it in the project directory. IE If you wanted to zip up the 'component' dependencies without the core. Also, it's a way to not look at everything at once.
>
> This then acts as multiple layers that exist in that core classes class path.
>
> Don't take my word for it, trying to find info like this is hard right now becasue Flex is still creating best proctices.
>
> Peace, Mike
>
> PS, I am a framework component developer and this works great for libraries that you speak of.



YAHOO! GROUPS LINKS






--
What goes up, does come down.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to