I think the ability to copy projects within NetBeans is valuable, and should 
not be removed.  I use it, not for making backups, but for creating a new 
project in which I want to reuse some existing code or other stuff from an 
existing project.

Duncan

From: Emilian Bold <[email protected]>
Sent: Monday, May 6, 2019 1:27 PM
To: Thomson, Duncan <[email protected]>
Cc: Luis tuti <[email protected]>; Geertjan Wielenga <[email protected]>; 
NetBeans Mailing <[email protected]>
Subject: Re: [EXT] Re: duplicate project netbeans error, how coud I do it?

I think Luis figured out how to copy that folder but the question is why can't 
NetBeans figure that out?

Our copy action could be disabled if there is something that we don't support 
anyhow.

Or, we could get rid of the copy action entirely.

The problem is one of NetBeans UX.
--emi

lun., 6 mai 2019, 19:21 Thomson, Duncan 
<[email protected]<mailto:[email protected]>> a scris:
I don’t know what it means for a project to have “external source roots”, but 
as others have noted, you have other (better) ways of making a backup of your 
code rather than using the Netbeans function to copy a project.

Let me elaborate slightly.

One way to do this is to use your operating system, outside of netbeans, to 
copy the directory structure.  I would recommend first exiting netbeans, just 
to make sure everything is actually written out to disk.  Then navigate to the 
directory containing the project and copy the entire directory structure.

For example, on a Linux system your project might be 
/home/luistuti/NetBeansProjects/MostExcellentProject

Then you would use something like:
   $ cp  –archive  MostExcellentProject  MostExcellentProject-copy

Or create a tarball, using something like:
  $ tar -cvzf MostExcellentProject.tgz MostExcellentProject

But a much better way is to use a source code configuration control tool.  
Nowadays everyone is using git, and it’s really powerful, so unless you already 
have a favorite that you want to use, I suggest you get on board with git.  
Netbeans has very good integration with git, so you can do it from within 
Netbeans, or you can just go to the command line and run git commands from 
there.

Good luck!

Duncan

From: Luis tuti <[email protected]<mailto:[email protected]>>
Sent: Monday, May 6, 2019 6:36 AM
To: Emilian Bold <[email protected]<mailto:[email protected]>>
Cc: Geertjan Wielenga <[email protected]<mailto:[email protected]>>; 
NetBeans Mailing <[email protected]<mailto:[email protected]>>
Subject: [EXT] Re: duplicate project netbeans error, how coud I do it?

Yes, that's it.

El lun., 6 may. 2019 a las 10:08, Emilian Bold 
(<[email protected]<mailto:[email protected]>>) escribió:
Maybe this is the copy action from NetBeans?
--emi

lun., 6 mai 2019, 10:48 Geertjan Wielenga 
<[email protected]<mailto:[email protected]>> a scris:
You don't need NetBeans to copy a project, you can just go to your file system 
and copy it there.

Gj

On Mon, May 6, 2019 at 8:30 AM Luis tuti 
<[email protected]<mailto:[email protected]>> wrote:

Hi, I'm trying to copy a project to have a backup and mofiy my copy but I get: 
"The project has one more external source roots and cannot be copied"

Someone could help me?

Thanks

Reply via email to