You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Peter Toye <ne...@ptoye.com> on 2023/05/12 11:44:11 UTC

Newbie help

Hello

  

I'm returning to NetBeans after a long bap, and have forgotten almost
everything I know, so please be indulgent.

  

I'm trying to work out how to organise the workflow for developing a program -
I suspect it's changed since I was last here.

  

What I can't work out is how to separate the development from the release
version of the project. I've got a working version which I want to use, but I
want to extend it without losing sight of the original. I've been using Visual
Studio for other projects, and they have a separate configurations for the dev
and release versions and the executables go into different directories. Is
there a way of doing this in NetBeans? As far as I can see, once I've started
a debug session, the release version is overwritten.

  

I can't see any documentation on the Apache NetBeans website about the basics
of developing programs - I expect I'm looking in the wrong place.  
  
  
Thanks in advance,  
  
Peter  
[mailto:netbeans@ptoye.com](mailto:netbeans@ptoye.com)  
[https://www.ptoye.com](http://www.ptoye.com)

\--------------------------------------------------------------------- To
unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional
commands, e-mail: users-help@netbeans.apache.org For further information about
the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Newbie help

Posted by Helmut Leininger <h....@gmx.at>.
Peter,


this was more or less the idea. Branching in Git, so you have a Main 
branch and a development branch which you can test, compile and run. 
What remains is the inconvenience you described with checking out if you 
qant to switch between the versions.


But maybe (I did not try or test) you can create two projects in 
Netbeans coming from the same Git repository. One from the main branch, 
one from the development branch. If this works, you would have more or 
less what you want.



Am 12.05.2023 um 19:45 schrieb Peter Toye:
>
> Dear Helmut,
>
> Thank you - I already use GIT. But (as I mentioned in my reply to John 
> Lavelle's comment) this doesn't seem to help separating the dev and 
> release versions. I agree that it makes it easier to automate the 
> workflow, but having to remember to checkout the release branch and 
> recompile it at the end of each debugging session seems to me to be an 
> unnecessary burden on the user. Is this what you were suggesting or 
> have I missed something?
>
>
> Best regards,
>
> Peter
> mailto:netbeans@ptoye.com
> www.ptoye.com
>
> -------------------------
> Friday, May 12, 2023, 1:45:38 PM, you wrote:
>
>     Peter,
>
>
>     Am 12.05.2023 um 14:14 schrieb John Lavelle:
>
>         snip
>         ...
>
>         What I can't work out is how to separate the development from
>         the > release version of the project. I've got a working
>         version which I > want to use, but I want to extend it without
>         losing sight of the > original. I've been using Visual Studio
>         for other projects, and they > have a separate configurations
>         for the dev and release versions and > the executables go into
>         different directories. Is there a way of doing > this in
>         NetBeans? As far as I can see, once I've started a debug >
>         session, the release version is overwritten.
>
>         .....
>
>     Maybe you should think about using a VCS (Version Control System)
>     like Git, Mercurial, Subversion which is useable by Netbeans.
>
>     Mit freundlichen Grüßen
>
>     Helmut Leininger
>     Email: h.leininger@gmx.at <ma...@gmx.at>
>
>
>
-- 
Mit freundlichen Grüßen
Helmut Leininger
Email:h.leininger@gmx.at


Re: Newbie help

Posted by Helmut Leininger <h....@gmx.at>.
Peter,


Am 12.05.2023 um 14:14 schrieb John Lavelle:
> snip
> ...
>
> What I can't work out is how to separate the development from the 
> release version of the project. I've got a working version which I 
> want to use, but I want to extend it without losing sight of the 
> original. I've been using Visual Studio for other projects, and they 
> have a separate configurations for the dev and release versions and 
> the executables go into different directories. Is there a way of doing 
> this in NetBeans? As far as I can see, once I've started a debug 
> session, the release version is overwritten.
>
> .....
>
Maybe you should think about using a VCS (Version Control System) like 
Git, Mercurial, Subversion which is useable by Netbeans.

Mit freundlichen Grüßen

Helmut Leininger
Email: h.leininger@gmx.at


Re: Newbie help

Posted by John Lavelle <jo...@jql.co.uk>.
Peter,

Maybe this will help: https://netbeans.apache.org/help/index.html

Best regards,
John
john@jql.co.uk
Bike Farkles: https://www.youtube.com/channel/UCPRV92Cf_R1ihviRtVU2teQ
JLavelle.uk https://www.youtube.com/jlavelleuk


On Fri, May 12, 2023 at 1:44 PM Peter Toye <ne...@ptoye.com> wrote:

> Hello
>
>
> I'm returning to NetBeans after a long bap, and have forgotten almost
> everything I know, so please be indulgent.
>
>
> I'm trying to work out how to organise the workflow for developing a
> program - I suspect it's changed since I was last here.
>
>
> What I can't work out is how to separate the development from the release
> version of the project. I've got a working version which I want to use, but
> I want to extend it without losing sight of the original. I've been using
> Visual Studio for other projects, and they have a separate configurations
> for the dev and release versions and the executables go into different
> directories. Is there a way of doing this in NetBeans? As far as I can see,
> once I've started a debug session, the release version is overwritten.
>
>
> I can't see any documentation on the Apache NetBeans website about the
> basics of developing programs - I expect I'm looking in the wrong place.
>
>
> Thanks in advance,
>
> Peter
> mailto:netbeans@ptoye.com <ne...@ptoye.com>
> https://www.ptoye.com <http://www.ptoye.com>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org For additional
> commands, e-mail: users-help@netbeans.apache.org For further information
> about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>