| View previous topic :: View next topic |
| Author |
Message |
BWRic
Joined: 09 Jun 2009 Posts: 4
|
Posted: Tue Jun 09, 2009 1:45 pm Post subject: Multiple Source Folders for Project |
|
|
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 |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Tue Jun 09, 2009 3:17 pm Post subject: Multiple Source Folders for Project |
|
|
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
|
Posted: Wed Jun 10, 2009 12:12 pm Post subject: |
|
|
| 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 |
|
 |
BWRic
Joined: 09 Jun 2009 Posts: 4
|
Posted: Wed Jun 10, 2009 12:22 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
|
|