eirikbakke commented on PR #8024:
URL: https://github.com/apache/netbeans/pull/8024#issuecomment-2523587127

   Here's what I usually do when I want to have multiple custom NetBeans builds 
available to test and switch between:
   1) Clone the NetBeans repo.
   git clone [email protected]:apache/netbeans.git
   2) Switch to the branch of the latest official release. E.g. "git checkout 
23"
   3) Run "ant". (Takes a few minutes.)
   4) Now there is a fresh NetBeans build in the directory 
netbeans\nbbuild\netbeans. Copy it e.g. to "C:\Program 
Files\NetBeans\netbeans-23"
   5) Now apply the changes you want to test.
   E.g. "wget 
https://patch-diff.githubusercontent.com/raw/apache/netbeans/pull/8024.patch"; 
and "patch -p1 < 8024.patch" for this PR if you have a Linux command line 
available (via [WSL](https://learn.microsoft.com/en-us/windows/wsl/install)).
   6) Run "ant clean" and "ant" again.
   7) Now you have another fresh NetBeans build in the directory 
netbeans\nbbuild\netbeans. Copy it e.g. to "C:\Program 
Files\NetBeans\netbeans-23-pr8024"
   8) Now you can run either "C:\Program 
Files\NetBeans\netbeans-23\bin\netbeans64.exe" or "C:\Program 
Files\NetBeans\netbeans-23-pr8024\bin\netbeans64.exe" to run with your patch 
disabled or enabled. (You may need to set netbeans_jdkhome to the path to your 
JDK in etc\netbeans.conf in each NetBeans folder.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to