How to share 2 local projects in one Kenai project?

  4 posts   Feedicon  
Replies: 3 - Last Post: May 09, 2011 03:22
by: dengdai
showing 1 - 4 of 4
 
Posted: November 03, 2009 04:15 by canadatom
Hi, I am new to Kenai, i am trying to share 2 local netbean projects into one kenai project, but when I click share project in netbean, it will automatically create a new project for my local project, would someone help me with this? Thanks
 
Posted: November 03, 2009 16:07 by john_brock
Hello,

If you are trying to just put the source code for two local projects, into one Kenai project, then use the Subversion or other SCM tool to do it from the NB UI.

Hope that helps,

--jb

The Project Kenai Team
 
Posted: November 04, 2009 17:05 by canadatom
I am using maven in netbeans which has a couple of projects into one application, i've checkout 4 of my projects into one kenai project, how can I create folder for each project? right now If i commit anything, it will override other project.
 
Posted: November 05, 2009 18:07 by tpavek
I guess you shared your first project such a way you made it the versioning root. Then it is not possible to add other projects next to it to the same repository, because the project itself is the root.

NetBeans 6.7 "Share on Kenai" wizard worked this way - it was designed for sharing just one NB project.

If you want to share more NB projects under one Kenai repository, you need to share their parent folder. You can't do this via the share wizard, but using standard Subversion functionality in NetBeans.

The steps from scratch would be:
* Create a new Kenai project, or a new repository in it.
* Let the empty repository be checked out into an empty folder - via the Get Sources from Kenai dialog. This way you get the versioning root.
* Open the Favorites window and add the root to it. The Favorites window is the place where you can work with the entire root.
* (If you already have something there from your previous attempts and want get rid of it, just delete everything under the root and invoke Subversion -> Commit on the root from context menu.)
* With the root empty, copy into it all the projects you want to share (do that out of NetBeans).
* Back in NetBeans invoke Subversion -> Commit on the root in Favorites window.
* From now you don't need the Favorites window and the root there, just commit the changes from the projects you open and edit in NetBeans.

Alternatively, try NetBeans 6.8 - Beta is just out. The Share on Kenai wizard is already fixed, so you can easily create a new Kenai project and add multiple local NetBeans projects to import to it.
Replies: 3 - Last Post: May 09, 2011 03:22
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close