Skip to content

Commit

Permalink
VisualVM 2.1.4 branding
Browse files Browse the repository at this point in the history
  • Loading branch information
thurka committed Jun 17, 2022
1 parent 3563a70 commit 53e1c55
Show file tree
Hide file tree
Showing 18 changed files with 67 additions and 21 deletions.
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# VisualVM (master) sources repository
# VisualVM (2.1.4) sources repository

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

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

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.

## Generate the Maven artifacts

First prepare the binaries:

1. Build VisualVM tool as described above
2. Expand/decompress the generated `visualvm.zip` file in `visualvm/dist`.
3. Generate the NBMs by running: `ant nbms`. This will generate a folder `build/updates` containing all the NBMs.

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`.

To install the artifacts into your local repository use the following command:

```
mvn \
-DnetbeansInstallDirectory=dist/visualvm \
-DnetbeansNbmDirectory=build/updates \
-DgroupIdPrefix=org.graalvm.visualvm \
-DforcedVersion=RELEASE214 \
org.apache.netbeans.utilities:nb-repository-plugin:populate
```

To publish the artifacts into a remote repository use the following command:

```
mvn
-DnetbeansInstallDirectory=dist/visualvm \
-DnetbeansNbmDirectory=build/updates \
-DgroupIdPrefix=org.graalvm.visualvm \
-DforcedVersion=RELEASE214 \
-DdeployUrl=<URL to the remote repo> \
-DdeployId=<repository id referenced in your settings.xml> \
-DskipInstall=true \
org.apache.netbeans.utilities:nb-repository-plugin:populate
```

For more information about `nb-repository-plugin` see https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html

## Contribute

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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
public final class AboutAction extends AbstractAction {
private final static Logger LOGGER = Logger.getLogger(AboutAction.class.getName());

private String versionString = "Dev"; // Use "Dev" for development builds // NOI18N
private String versionString = "2.1.4"; // Use "Dev" for development builds // NOI18N


public AboutAction() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ OpenIDE-Module-Short-Description=UI customizations for VisualVM

LBL_About_VisualVM=About VisualVM

LBL_Version_Build=Version: {0} (Build {1})
LBL_Version_Build=Version: {0}

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

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# or visit www.oracle.com if you need additional information or have any
# questions.

currentVersion=VisualVM Dev
currentVersion=VisualVM 2.1.4
LBL_splash_window_title=Starting VisualVM
SPLASH_HEIGHT=310
SPLASH_WIDTH=530
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
# or visit www.oracle.com if you need additional information or have any
# questions.

CTL_MainWindow_Title=VisualVM Dev
CTL_MainWindow_Title_No_Project=VisualVM Dev
CTL_MainWindow_Title=VisualVM 2.1.4
CTL_MainWindow_Title_No_Project=VisualVM 2.1.4
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# or visit www.oracle.com if you need additional information or have any
# questions.

LBL_ProductInformation=VisualVM
LBL_ProductInformation=VisualVM 2.1.4
4 changes: 2 additions & 2 deletions visualvm/core/src/org/graalvm/visualvm/core/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
OpenIDE-Module-Display-Category=Infrastructure
OpenIDE-Module-Name=VisualVM-Core
OpenIDE-Module-Short-Description=VisualVM main module
org_graalvm_visualvm_core_update_center=https://visualvm.github.io/uc/dev/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/org_graalvm_visualvm_core_update_center.instance=VisualVM Plugins Center
org_graalvm_visualvm_core_update_center=https://visualvm.github.io/uc/release214/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/org_graalvm_visualvm_core_update_center.instance=VisualVM 2.1.4 Plugins Center
Menu/Applications=&Applications
Toolbars/Snapshot=&Snapshot
Toolbars/DataSource=&Data Source
Expand Down
6 changes: 3 additions & 3 deletions visualvm/launcher/visualvm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
# Cachedir must be different from userdir. The same cachedir and userdir
# would cause problems.
#
visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/dev"
visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/2.1.4"
visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/2.1.4"

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

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-DTopSecurityManager.disable=true -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"
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-DTopSecurityManager.disable=true -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"
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-Dnetbeans.exception.report.min.level=900 -J-ea

# Default location of JDK:
Expand Down
Binary file modified visualvm/launcher/visualvm.exe
Binary file not shown.
8 changes: 8 additions & 0 deletions visualvm/launcher/windows-src/nbproject/Makefile-variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ CND_ARTIFACT_PATH_visualvm.exe=visualvm.exe
CND_PACKAGE_DIR_visualvm.exe=dist/visualvm.exe/Cygwin-Windows/package
CND_PACKAGE_NAME_visualvm.exe=windows-src.tar
CND_PACKAGE_PATH_visualvm.exe=dist/visualvm.exe/Cygwin-Windows/package/windows-src.tar
# visualvm64.exe configuration
CND_PLATFORM_visualvm64.exe=Cygwin64-Windows
CND_ARTIFACT_DIR_visualvm64.exe=
CND_ARTIFACT_NAME_visualvm64.exe=visualvm64.exe
CND_ARTIFACT_PATH_visualvm64.exe=visualvm64.exe
CND_PACKAGE_DIR_visualvm64.exe=dist/visualvm64.exe/Cygwin64-Windows/package
CND_PACKAGE_NAME_visualvm64.exe=windows-src.tar
CND_PACKAGE_PATH_visualvm64.exe=dist/visualvm64.exe/Cygwin64-Windows/package/windows-src.tar
#
# include compiler specific variables
#
Expand Down
2 changes: 1 addition & 1 deletion visualvm/launcher/windows-src/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<type>org.netbeans.modules.cnd.makeproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/make-project/1">
<name>VisualVM Launcher Win</name>
<name>VisualVM 2.1.4 Launcher Win</name>
<make-project-type>0</make-project-type>
<c-extensions/>
<cpp-extensions>cpp</cpp-extensions>
Expand Down
10 changes: 5 additions & 5 deletions visualvm/launcher/windows-src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@

#define COMPANY "Oracle Corporation"
#define COMPONENT "VisualVM"
#define VER "0.0.0.0"
#define FVER 0,0,0,0
#define BUILD_ID "0"
#define VER "2.1.4.0"
#define FVER 2,1,4,0
#define BUILD_ID "16062022"
#define INTERNAL_NAME "visualvm"
#define COPYRIGHT "\xA9 2007, 2014, Oracle and/or its affiliates. All rights reserved."
#define COPYRIGHT "\xA9 2007, 2022, Oracle and/or its affiliates. All rights reserved."
#define FNAME "visualvm.exe"
#define NAME "VisualVM Dev. build"
#define NAME "VisualVM"

2 changes: 1 addition & 1 deletion visualvm/launcher/windows-src/visualvm.exe.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="0.0.0.0"
<assemblyIdentity version="2.1.4.0"
processorArchitecture="X86"
name="visualvm.exe"
type="win32"/>
Expand Down
2 changes: 1 addition & 1 deletion visualvm/nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app.icon=branding/core/core.jar/org/netbeans/core/startup/frame48.gif
app.name=${branding.token}
app.title=VisualVM
app.title=VisualVM 2.1.4
modules=\
${project.org.graalvm.visualvm.core}:\
${project.org.graalvm.visualvm.modules.appui}:\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public class ImportSettings {
"2.1", // NOI18N
"2.1.1", // NOI18N
"2.1.2", // NOI18N
"2.1.3" // NOI18N
"2.1.3", // NOI18N
"2.1.4" // NOI18N
};


Expand Down

0 comments on commit 53e1c55

Please sign in to comment.