Skip to content

Commit 1defe46

Browse files
committed
VisualVM 2.2 branding
1 parent 0257d1a commit 1defe46

File tree

17 files changed

+67
-21
lines changed

17 files changed

+67
-21
lines changed

README.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# VisualVM (master) sources repository
1+
# VisualVM (2.2) sources repository
22

33
VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities. See https://visualvm.github.io for details, downloads and documentation.
44

@@ -14,7 +14,7 @@ First download or clone this repository into directory `visualvm`. There are two
1414

1515
## Configure the dependencies
1616

17-
Then download and extract the [NetBeans Platform 22](https://github.com/oracle/visualvm/releases/download/2.1.10/nb220_platform_20240628.zip) into directory `visualvm/visualvm` (should create `visualvm/visualvm/netbeans`).
17+
Then download and extract the [NetBeans Platform 22](https://github.com/oracle/visualvm/releases/download/2.2/nb220_platform_20250323.zip) into directory `visualvm/visualvm` (should create `visualvm/visualvm/netbeans`).
1818

1919
## How to build
2020

@@ -28,6 +28,44 @@ To run VisualVM, use `ant run` command in the `visualvm/visualvm` directory.
2828

2929
To build or run the plugins suite, use `ant build` or `ant run` in the `visualvm/plugins` directory. This will automatically build the zip distribution of the core VisualVM tool into `visualvm/visualvm/dist/visualvm.zip` and extract it into the `visualvm/plugins/visualvm` directory. After that the build of the plugins suite continues to build each of the individual plugins. Running the plugins suite means starting VisualVM with all the plugins installed.
3030

31+
Generate the Maven artifacts
32+
33+
First prepare the binaries:
34+
35+
1. Build VisualVM tool as described above
36+
2. Expand/decompress the generated `visualvm.zip` file in `visualvm/dist`.
37+
3. Generate the NBMs by running: `ant nbms`. This will generate a folder `build/updates` containing all the NBMs.
38+
39+
To generate the artifacts use [`org.apache.netbeans.utilities:nb-repository-plugin`](https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html). Make sure the current directory is still `visualvm/visualvm`.
40+
41+
To install the artifacts into your local repository use the following command:
42+
43+
```
44+
mvn \
45+
-DnetbeansInstallDirectory=dist/visualvm \
46+
-DnetbeansNbmDirectory=build/updates \
47+
-DgroupIdPrefix=org.graalvm.visualvm \
48+
-DforcedVersion=RELEASE22 \
49+
org.apache.netbeans.utilities:nb-repository-plugin:populate
50+
```
51+
52+
To publish the artifacts into a remote repository use the following command:
53+
54+
```
55+
mvn
56+
-DnetbeansInstallDirectory=dist/visualvm \
57+
-DnetbeansNbmDirectory=build/updates \
58+
-DgroupIdPrefix=org.graalvm.visualvm \
59+
-DforcedVersion=RELEASE22 \
60+
-DdeployUrl=<URL to the remote repo> \
61+
-DdeployId=<repository id referenced in your settings.xml> \
62+
-DskipInstall=true \
63+
org.apache.netbeans.utilities:nb-repository-plugin:populate
64+
```
65+
66+
For more information about `nb-repository-plugin` see https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html
67+
68+
3169
## Contributing
3270

3371
We highly appreciate any feedback! Please let us know your ideas, missing features, or bugs found. Either [file a RFE/bug](https://github.com/oracle/visualvm/issues/new/choose) or [leave us a message](https://visualvm.github.io/feedback.html). For legal reasons, we cannot accept external pull requests. See

visualvm/appui/src/org/graalvm/visualvm/modules/appui/AboutAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
public final class AboutAction extends AbstractAction {
5252
private final static Logger LOGGER = Logger.getLogger(AboutAction.class.getName());
5353

54-
private String versionString = "Dev"; // Use "Dev" for development builds // NOI18N
54+
private String versionString = "2.2"; // Use "Dev" for development builds // NOI18N
5555

5656

5757
public AboutAction() {

visualvm/appui/src/org/graalvm/visualvm/modules/appui/Bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ OpenIDE-Module-Short-Description=UI customizations for VisualVM
3131

3232
LBL_About_VisualVM=About VisualVM
3333

34-
LBL_Version_Build=Version: {0} (Build {1})
34+
LBL_Version_Build=Version: {0}
3535

3636
MSG_License=<b>VisualVM</b> has been licensed under the GNU General Public License (GPL) Version 2 with Classpath Exception.
3737

Loading
Loading

visualvm/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# or visit www.oracle.com if you need additional information or have any
2323
# questions.
2424

25-
currentVersion=VisualVM Dev
25+
currentVersion=VisualVM 2.2
2626
LBL_splash_window_title=Starting VisualVM
2727
SPLASH_HEIGHT=310
2828
SPLASH_WIDTH=530
Loading

visualvm/branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
# or visit www.oracle.com if you need additional information or have any
2323
# questions.
2424

25-
CTL_MainWindow_Title=VisualVM Dev
26-
CTL_MainWindow_Title_No_Project=VisualVM Dev
25+
CTL_MainWindow_Title=VisualVM 2.2
26+
CTL_MainWindow_Title_No_Project=VisualVM 2.2

visualvm/branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
# or visit www.oracle.com if you need additional information or have any
2323
# questions.
2424

25-
LBL_ProductInformation=VisualVM
25+
LBL_ProductInformation=VisualVM 2.2

visualvm/core/src/org/graalvm/visualvm/core/Bundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
OpenIDE-Module-Display-Category=Infrastructure
2727
OpenIDE-Module-Name=VisualVM-Core
2828
OpenIDE-Module-Short-Description=VisualVM main module
29-
org_graalvm_visualvm_core_update_center=https://visualvm.github.io/uc/dev/updates.xml.gz?{$netbeans.hash.code}
30-
Services/AutoupdateType/org_graalvm_visualvm_core_update_center.instance=VisualVM Plugins Center
29+
org_graalvm_visualvm_core_update_center=https://visualvm.github.io/uc/release22/updates.xml.gz?{$netbeans.hash.code}
30+
Services/AutoupdateType/org_graalvm_visualvm_core_update_center.instance=VisualVM 2.2 Plugins Center
3131
Menu/Applications=&Applications
3232
Toolbars/Snapshot=&Snapshot
3333
Toolbars/DataSource=&Data Source

0 commit comments

Comments
 (0)