FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Multiple Source Folders for Project

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
BWRic



Joined: 09 Jun 2009
Posts: 4

PostPosted: Tue Jun 09, 2009 1:45 pm    Post subject: Multiple Source Folders for Project Reply with quote

Hello,

Is it possible to use multiple sources for a project? I want to be able to make a new PHP project that uses several libraries/programs.

For example I want to checkout the latest copies of jQuery, Magento, my own CMS and Classes from the relevant SVN serversi nto folders on my computer. I'll then use each folder as a source for the project. That way when any of them is updated I can grab the latest version from the developers SVN server and it'll update in all my projects. Is this possible? Or do I manually need to copy the files across if I want to use code from several SVN repositories?

Thanks

Ric
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Tue Jun 09, 2009 3:17 pm    Post subject: Multiple Source Folders for Project Reply with quote

Hi,

Dne úterý 09 června 2009 15:45:54 BWRic napsal(a):
Quote:
Is it possible to use multiple sources for a project?

If you mean PHP sources then no (but continue reading, please).

Quote:
I want to be able to make a new PHP project that uses several
libraries/programs.

As you wrote, "several libraries/programs" - so the right approach here is to
create several PHP projects - one for each library/project. Then, just set the
correct PHP Include Path of each project (see Project Properties dialog -
right click your project in Projects view and choose Properties) or you can
use symlinks if you are on Linux e.g.

HTH,
Tomas
--
Tomas Mysik
address-removed
Back to top
willirl



Joined: 26 Mar 2009
Posts: 20

PostPosted: Wed Jun 10, 2009 12:12 pm    Post subject: Reply with quote

I'm not sure if this is relevent but you can take a look at "Project Groups" under the File menu. This allows you to group several projects together as one entity. I don't think it solves the SVN problem but it does get all the projects together in one place.
Back to top
View user's profile Send private message
BWRic



Joined: 09 Jun 2009
Posts: 4

PostPosted: Wed Jun 10, 2009 12:22 pm    Post subject: Reply with quote

Hello,

I think a combination of the two above suggestions will work. I can SVN checkout the external libraries to NetBeans projects, then group them together with the 'main' project. I'll then set the PHP Include Path in the 'main' project to link to all the other. That way everything is should be easy to access.

Thanks for the advice.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB