Skip to content

Commit 21e314b

Browse files
committed
VisualVM 2.1.6 branding
1 parent d5a3ca0 commit 21e314b

File tree

17 files changed

+65
-20
lines changed

17 files changed

+65
-20
lines changed

README.md

+38-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# VisualVM (master) sources repository
1+
# VisualVM (2.1.6) 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

@@ -24,6 +24,43 @@ To build VisualVM, use `ant build-zip` command in the `visualvm/visualvm` direct
2424

2525
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.
2626

27+
## Generate the Maven artifacts
28+
29+
First prepare the binaries:
30+
31+
1. Build VisualVM tool as described above
32+
2. Expand/decompress the generated `visualvm.zip` file in `visualvm/dist`.
33+
3. Generate the NBMs by running: `ant nbms`. This will generate a folder `build/updates` containing all the NBMs.
34+
35+
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`.
36+
37+
To install the artifacts into your local repository use the following command:
38+
39+
```
40+
mvn \
41+
-DnetbeansInstallDirectory=dist/visualvm \
42+
-DnetbeansNbmDirectory=build/updates \
43+
-DgroupIdPrefix=org.graalvm.visualvm \
44+
-DforcedVersion=RELEASE216 \
45+
org.apache.netbeans.utilities:nb-repository-plugin:populate
46+
```
47+
48+
To publish the artifacts into a remote repository use the following command:
49+
50+
```
51+
mvn
52+
-DnetbeansInstallDirectory=dist/visualvm \
53+
-DnetbeansNbmDirectory=build/updates \
54+
-DgroupIdPrefix=org.graalvm.visualvm \
55+
-DforcedVersion=RELEASE216 \
56+
-DdeployUrl=<URL to the remote repo> \
57+
-DdeployId=<repository id referenced in your settings.xml> \
58+
-DskipInstall=true \
59+
org.apache.netbeans.utilities:nb-repository-plugin:populate
60+
```
61+
62+
For more information about `nb-repository-plugin` see https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html
63+
2764
## Contribute
2865

2966
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

+1-1
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.1.6"; // Use "Dev" for development builds // NOI18N
5555

5656

5757
public AboutAction() {

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

+1-1
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

+1-1
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.1.6
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

+2-2
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.1.6
26+
CTL_MainWindow_Title_No_Project=VisualVM 2.1.6

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

+1-1
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.1.6

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

+2-2
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/release216/updates.xml.gz?{$netbeans.hash.code}
30+
Services/AutoupdateType/org_graalvm_visualvm_core_update_center.instance=VisualVM 2.1.6 Plugins Center
3131
Menu/Applications=&Applications
3232
Toolbars/Snapshot=&Snapshot
3333
Toolbars/DataSource=&Data Source

visualvm/launcher/visualvm.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
# Cachedir must be different from userdir. The same cachedir and userdir
5252
# would cause problems.
5353
#
54-
visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/dev"
55-
visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
54+
visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/2.1.6"
55+
visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/2.1.6"
5656

5757
# Options used by VisualVM launcher by default:
5858
# (can be overridden by explicit command line switches)
5959
#
6060

61-
visualvm_default_options="-J-Xms24m -J-Xmx768m -J-Dnetbeans.accept_license_class=org.graalvm.visualvm.modules.startup.AcceptLicense -J-Dnetbeans.importclass=org.graalvm.visualvm.modules.startup.ImportSettings -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J-Dorg.netbeans.core.TimeableEventQueue.quantum=360000 -J-Dpolyglot.js.nashorn-compat=true -J-Dsun.misc.URLClassPath.disableJarChecking=true -J-Djdk.attach.allowAttachSelf=true -J-Dorg.openide.util.ImageUtilities.level=950 -J--add-exports=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor.event=ALL-UNNAMED -J--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=jdk.attach/sun.tools.attach=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J-XX:+IgnoreUnrecognizedVMOptions -J-Dnetbeans.logger.console=true -J-Dnetbeans.exception.report.min.level=900 -J-ea"
61+
visualvm_default_options="-J-Xms24m -J-Xmx768m -J-Dnetbeans.accept_license_class=org.graalvm.visualvm.modules.startup.AcceptLicense -J-Dnetbeans.importclass=org.graalvm.visualvm.modules.startup.ImportSettings -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J-Dorg.netbeans.core.TimeableEventQueue.quantum=360000 -J-Dpolyglot.js.nashorn-compat=true -J-Dsun.misc.URLClassPath.disableJarChecking=true -J-Djdk.attach.allowAttachSelf=true -J-Dorg.openide.util.ImageUtilities.level=950 -J--add-exports=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor.event=ALL-UNNAMED -J--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=jdk.attach/sun.tools.attach=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J-XX:+IgnoreUnrecognizedVMOptions"
6262
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-Dnetbeans.exception.report.min.level=900 -J-ea
6363

6464
# Default location of JDK:

visualvm/launcher/visualvm.exe

-6.85 KB
Binary file not shown.

visualvm/launcher/windows-src/nbproject/Makefile-variables.mk

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ CND_ARTIFACT_PATH_visualvm.exe=visualvm.exe
1414
CND_PACKAGE_DIR_visualvm.exe=dist/visualvm.exe/Cygwin-Windows/package
1515
CND_PACKAGE_NAME_visualvm.exe=windows-src.tar
1616
CND_PACKAGE_PATH_visualvm.exe=dist/visualvm.exe/Cygwin-Windows/package/windows-src.tar
17+
# visualvm64.exe configuration
18+
CND_PLATFORM_visualvm64.exe=Cygwin64-Windows
19+
CND_ARTIFACT_DIR_visualvm64.exe=
20+
CND_ARTIFACT_NAME_visualvm64.exe=visualvm64.exe
21+
CND_ARTIFACT_PATH_visualvm64.exe=visualvm64.exe
22+
CND_PACKAGE_DIR_visualvm64.exe=dist/visualvm64.exe/Cygwin64-Windows/package
23+
CND_PACKAGE_NAME_visualvm64.exe=windows-src.tar
24+
CND_PACKAGE_PATH_visualvm64.exe=dist/visualvm64.exe/Cygwin64-Windows/package/windows-src.tar
1725
#
1826
# include compiler specific variables
1927
#

visualvm/launcher/windows-src/nbproject/project.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<type>org.netbeans.modules.cnd.makeproject</type>
44
<configuration>
55
<data xmlns="http://www.netbeans.org/ns/make-project/1">
6-
<name>VisualVM Launcher Win</name>
6+
<name>VisualVM 2.1.6 Launcher Win</name>
77
<make-project-type>0</make-project-type>
88
<c-extensions/>
99
<cpp-extensions>cpp</cpp-extensions>

visualvm/launcher/windows-src/version.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525

2626
#define COMPANY "Oracle Corporation"
2727
#define COMPONENT "VisualVM"
28-
#define VER "0.0.0.0"
29-
#define FVER 0,0,0,0
30-
#define BUILD_ID "0"
28+
#define VER "2.1.6.0"
29+
#define FVER 2,1,6,0
30+
#define BUILD_ID "24032023"
3131
#define INTERNAL_NAME "visualvm"
32-
#define COPYRIGHT "\xA9 2007, 2014, Oracle and/or its affiliates. All rights reserved."
32+
#define COPYRIGHT "\xA9 2007, 2023, Oracle and/or its affiliates. All rights reserved."
3333
#define FNAME "visualvm.exe"
34-
#define NAME "VisualVM Dev. build"
34+
#define NAME "VisualVM"
3535

visualvm/launcher/windows-src/visualvm.exe.manifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
3-
<assemblyIdentity version="0.0.0.0"
3+
<assemblyIdentity version="2.1.6.0"
44
processorArchitecture="X86"
55
name="visualvm.exe"
66
type="win32"/>

visualvm/nbproject/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app.icon=branding/core/core.jar/org/netbeans/core/startup/frame48.gif
22
app.name=${branding.token}
3-
app.title=VisualVM
3+
app.title=VisualVM 2.1.6
44
modules=\
55
${project.org.graalvm.visualvm.core}:\
66
${project.org.graalvm.visualvm.modules.appui}:\

0 commit comments

Comments
 (0)