RE: [EXT] Re: duplicate project netbeans error, how coud I do it?
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 Sent: Monday, May 6, 2019 6:36 AM To: Emilian Bold Cc: Geertjan Wielenga ; NetBeans Mailing 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 (mailto:emilian.b...@gmail.com>>) escribió: Maybe this is the copy action from NetBeans? --emi lun., 6 mai 2019, 10:48 Geertjan Wielenga mailto:geert...@apache.org>> 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 mailto:mierdat...@gmail.com>> 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
RE: [EXT] Re: duplicate project netbeans error, how coud I do it?
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 Sent: Monday, May 6, 2019 1:27 PM To: Thomson, Duncan Cc: Luis tuti ; Geertjan Wielenga ; NetBeans Mailing 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 mailto:dunc...@mitre.org>> 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 mailto:mierdat...@gmail.com>> Sent: Monday, May 6, 2019 6:36 AM To: Emilian Bold mailto:emilian.b...@gmail.com>> Cc: Geertjan Wielenga mailto:geert...@apache.org>>; NetBeans Mailing mailto:users@netbeans.apache.org>> 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 (mailto:emilian.b...@gmail.com>>) escribió: Maybe this is the copy action from NetBeans? --emi lun., 6 mai 2019, 10:48 Geertjan Wielenga mailto:geert...@apache.org>> 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 mailto:mierdat...@gmail.com>> 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
Re: [EXT] Re: duplicate project netbeans error, how coud I do it?
Many thanks for all your answers. My requirements of copy project is for not make backup, is to createa a new project in which I want to reuse existing code from an existing project. For that reason is because I don't want use Git. Thanks El mar., 7 may. 2019 a las 0:14, Emilian Bold () escribió: > @Thomas: I wasn't actually suggesting to remove the copy action. My > impression is that this is a NetBeans bug (copy should work) or > otherwise a minor UX bug (the action should be disabled if we can't > manage). > > Of course the copy action is valuable. But since everybody was > explaining how to copy *outside* NetBeans I was just half-questioning > why we even have copy in there? We have it for a reason and it should > work! > > --emi > > On Mon, May 6, 2019 at 11:08 PM Thomson, Duncan wrote: > > > > 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 > > Sent: Monday, May 6, 2019 1:27 PM > > To: Thomson, Duncan > > Cc: Luis tuti ; Geertjan Wielenga < > geert...@apache.org>; NetBeans Mailing > > 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 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 > > Sent: Monday, May 6, 2019 6:36 AM > > To: Emilian Bold > > Cc: Geertjan Wielenga ; NetBeans Mailing < > users@netbeans.apache.org> > > 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 () > escribió: > > > > Maybe this is the copy action from NetBeans? > > > > --emi > > > > > > > > lun., 6 mai 2019, 10:48 Geertjan Wielenga 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 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 >
Re: [EXT] Re: duplicate project netbeans error, how coud I do it?
@Thomas: I wasn't actually suggesting to remove the copy action. My impression is that this is a NetBeans bug (copy should work) or otherwise a minor UX bug (the action should be disabled if we can't manage). Of course the copy action is valuable. But since everybody was explaining how to copy *outside* NetBeans I was just half-questioning why we even have copy in there? We have it for a reason and it should work! --emi On Mon, May 6, 2019 at 11:08 PM Thomson, Duncan wrote: > > 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 > Sent: Monday, May 6, 2019 1:27 PM > To: Thomson, Duncan > Cc: Luis tuti ; Geertjan Wielenga > ; NetBeans Mailing > 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 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 > Sent: Monday, May 6, 2019 6:36 AM > To: Emilian Bold > Cc: Geertjan Wielenga ; NetBeans Mailing > > 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 () > escribió: > > Maybe this is the copy action from NetBeans? > > --emi > > > > lun., 6 mai 2019, 10:48 Geertjan Wielenga 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 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 - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
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 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 > *Sent:* Monday, May 6, 2019 6:36 AM > *To:* Emilian Bold > *Cc:* Geertjan Wielenga ; NetBeans Mailing < > users@netbeans.apache.org> > *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 () > escribió: > > Maybe this is the copy action from NetBeans? > > --emi > > > > lun., 6 mai 2019, 10:48 Geertjan Wielenga 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 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 > >