• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help creating replicated Netbeans project?

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like all of an existing Netbeans 7.3 ProjectA replicated over to a new Netbeans project named ProjectB. Nothing fancy -- new to NetBeans.

I created a fairly small Netbeans ProjectA that utilizes scriptlets, expressions as well as a couple Java classes across multiple packages even writes to a file. Since it is finally working, I would now like to create a new project, ProjectB using all of ProjectA's underlying resources and directories in a standalone new projectB. Being new to NetBeans I tried something as simple as File then Save As. I intended to enter the new projects name but Save As is "greyed out". I read some of the Netbeans instructions but I can't decide if Netbeans expects me to first create a ProjectB first then do some sort of an import.

Any help appreciated/Thank You

 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Find your ProjectA in the Projects pane, right-click and choose Copy.... Enter the new name. I tried it on a small project of mine, and it worked.
 
Joe Boman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Martin, Thanks so much! That worked for really well -- and simple too.
Have a great day
Joe
 
Martin Vashko
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome!
 
Joe Boman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did pick up the following reminder in red from NetBeans when I used the Copy command again tonight:
"Warning: This operation will not copy hidden files. If this project is under version control, the copy may not be versioned.

I don't know that I need to worry about it as I am just working with what appear to be pretty straightforward projects out of Murach's Java Servlets and JSP book. (projects are off actually off Murach's website)
 
Martin Vashko
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe Netbeans doesn't normally create any hidden files. So unless you've created them yourself, or you're using a plug-in or other tool which would create them, you don't need to worry about hidden files. To make sure, just try to search for hidden files in your original project folder - if there aren't any, you're safe. (If there are hidden files, you need to find you why they are there; only then can you decide what to do about them in the new project.)

As far as version control goes: if you aren't using one, this doesn't apply to you. If you're using one, hopefully you know how to add a new project there. By the way, this is the right forum to ask questions about version control too!
 
Joe Boman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic