Skip to content

Commit

Permalink
VisualVM 2.0.2 branding
Browse files Browse the repository at this point in the history
  • Loading branch information
thurka committed Apr 27, 2020
1 parent a9a7373 commit 997c6a6
Show file tree
Hide file tree
Showing 19 changed files with 69 additions and 24 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.0.2 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=RELEASE202 \
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=RELEASE202 \
-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.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
OpenIDE-Module-Display-Category=\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u30fc
OpenIDE-Module-Name=VisualVM - \u30b3\u30a2
OpenIDE-Module-Short-Description=VisualVM \u306e\u4e3b\u306a\u30e2\u30b8\u30e5\u30fc\u30eb
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/dev/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM \u30d7\u30e9\u30b0\u30a4\u30f3\u30bb\u30f3\u30bf\u30fc
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/release202/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM 2.0.2 \u30d7\u30e9\u30b0\u30a4\u30f3\u30bb\u30f3\u30bf\u30fc
Menu/Applications=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3(&A)
Toolbars/Snapshot=\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8(&S)
Toolbars/DataSource=\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9(&D)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
OpenIDE-Module-Display-Category=\u57fa\u7840\u7ed3\u6784
OpenIDE-Module-Name=VisualVM-Core
OpenIDE-Module-Short-Description=VisualVM \u4e3b\u6a21\u5757
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/dev/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM \u63d2\u4ef6\u4e2d\u5fc3
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/release202/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM 2.0.2 \u63d2\u4ef6\u4e2d\u5fc3
Menu/Applications=\u5e94\u7528\u7a0b\u5e8f(&A)
Toolbars/Snapshot=\u5feb\u7167(&S)
Toolbars/DataSource=\u6570\u636e\u6e90(&D)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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.0.2"; // 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 {0}
currentVersion=VisualVM 2.0.2
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 {0}
CTL_MainWindow_Title_No_Project=VisualVM {0}
CTL_MainWindow_Title=VisualVM 2.0.2
CTL_MainWindow_Title_No_Project=VisualVM 2.0.2
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.0.2
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
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/dev/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM Plugins Center
com_sun_tools_visualvm_core_update_center=https://visualvm.github.io/uc/release202/updates.xml.gz?{$netbeans.hash.code}
Services/AutoupdateType/com_sun_tools_visualvm_core_update_center.instance=VisualVM 2.0.2 Plugins Center
Menu/Applications=&Applications
Toolbars/Snapshot=&Snapshot
Toolbars/DataSource=&Data Source
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.0.2"
visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/2.0.2"

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

visualvm_default_options="-J-client -J-Xms24m -J-Xmx768m -J-Dnetbeans.accept_license_class=org.graalvm.visualvm.modules.startup.AcceptLicense -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--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.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-ea"
visualvm_default_options="-J-client -J-Xms24m -J-Xmx768m -J-Dnetbeans.accept_license_class=org.graalvm.visualvm.modules.startup.AcceptLicense -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--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.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-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.0.2 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.0.2.0"
#define FVER 2,0,2,0
#define BUILD_ID "17042020"
#define INTERNAL_NAME "visualvm"
#define COPYRIGHT "\xA9 2007, 2014, Oracle and/or its affiliates. All rights reserved."
#define COPYRIGHT "\xA9 2007, 2020, 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.0.2.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.0.2
modules=\
${project.org.graalvm.visualvm.core}:\
${project.org.graalvm.visualvm.modules.appui}:\
Expand Down

0 comments on commit 997c6a6

Please sign in to comment.