/hg/visualvm: Support VisualVM 1.3.1.

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Thu Oct 14 14:40:29 PDT 2010


changeset ba2ccec163d0 in /hg/visualvm
details: http://icedtea.classpath.org/hg/visualvm?cmd=changeset;node=ba2ccec163d0
author: Andrew John Hughes <ahughes at redhat.com>
date: Thu Oct 14 22:40:23 2010 +0100

	Support VisualVM 1.3.1.

	2010-10-14 Tomas Hurka <tomas.hurka at googlemail.com>>

	 Support VisualVM 1.3.1.
		* INSTALL: Mention 1.3.1.
		* Makefile.am: Add settings for 1.3.1.
		* acinclude.m4: Define VVVERSION_131 if 1.3.1 is requested.


diffstat:

4 files changed, 35 insertions(+), 1 deletion(-)
ChangeLog    |    8 ++++++++
INSTALL      |    1 +
Makefile.am  |   21 +++++++++++++++++++++
acinclude.m4 |    6 +++++-

diffs (97 lines):

diff -r 12011c66e520 -r ba2ccec163d0 ChangeLog
--- a/ChangeLog	Thu Sep 09 12:59:32 2010 +0100
+++ b/ChangeLog	Thu Oct 14 22:40:23 2010 +0100
@@ -1,3 +1,11 @@ 2010-09-09  Andrew John Hughes  <ahughes
+2010-10-14  Tomas Hurka  <tomas.hurka at googlemail.com>>
+
+	Support VisualVM 1.3.1.
+	* INSTALL: Mention 1.3.1.
+	* Makefile.am: Add settings for 1.3.1.
+	* acinclude.m4: Define VVVERSION_131 if 1.3.1
+	is requested.
+
 2010-09-09  Andrew John Hughes  <ahughes at redhat.com>
 
 	* configure.ac: Bump to 1.1pre.
diff -r 12011c66e520 -r ba2ccec163d0 INSTALL
--- a/INSTALL	Thu Sep 09 12:59:32 2010 +0100
+++ b/INSTALL	Thu Oct 14 22:40:23 2010 +0100
@@ -20,6 +20,7 @@ are:
 
 * 1.2.2 with NetBeans 6.8
 * 1.3 with NetBeans 6.9
+* 1.3.1 with NetBeans Platform 6.9.1
 
 To build with a version other than the default, specify
 --with-visualvm-version=x where x is the version.
diff -r 12011c66e520 -r ba2ccec163d0 Makefile.am
--- a/Makefile.am	Thu Sep 09 12:59:32 2010 +0100
+++ b/Makefile.am	Thu Oct 14 22:40:23 2010 +0100
@@ -5,6 +5,10 @@ NETBEANS_69_PROFILER_URL = https://visua
 NETBEANS_69_PROFILER_URL = https://visualvm.dev.java.net/files/documents/7163/152022/
 NETBEANS_69_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release69.tar.gz
 NETBEANS_69_PROFILER_SHA256SUM = 201060e9ccb4243f7ff1bb490e66a23f3fb16d450892e15f9adbd0728ec0ec83
+
+NETBEANS_691_PROFILER_URL = https://visualvm.dev.java.net/files/documents/7163/153051/
+NETBEANS_691_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release691.tar.gz
+NETBEANS_691_PROFILER_SHA256SUM = 9f0e285d983c29bab7aa4f0644d64618139b2967fae80a1ef2b96299bf00fcc0
 
 VISUALVM_122_URL = https://visualvm.dev.java.net/files/documents/7163/146746/
 VISUALVM_122_SRC_ZIP = visualvm_122-src.tar.gz
@@ -14,6 +18,22 @@ VISUALVM_13_SRC_ZIP = visualvm_13-src.ta
 VISUALVM_13_SRC_ZIP = visualvm_13-src.tar.gz
 VISUALVM_13_SHA256SUM = 18105c1e05347caac04830a8ee940219c573a5447d3cd9b084d6883c9ff07353
 
+VISUALVM_131_URL = https://visualvm.dev.java.net/files/documents/7163/153046/
+VISUALVM_131_SRC_ZIP = visualvm_131-src.tar.gz
+VISUALVM_131_SHA256SUM = 910a47e62a48c3fe576752d2d877360a2324d01814702cda5b5c4c8e2df2197a
+
+if VVVERSION_131
+  NETBEANS_PROFILER_URL=$(NETBEANS_691_PROFILER_URL)
+  NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_691_PROFILER_SRC_ZIP)
+  NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_691_PROFILER_SHA256SUM)
+  VISUALVM_URL=$(VISUALVM_131_URL)
+  VISUALVM_SRC_ZIP=$(VISUALVM_131_SRC_ZIP)
+  VISUALVM_SHA256SUM=$(VISUALVM_131_SHA256SUM)
+  NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform
+  NBPLATFORM_DIR_COPY=$(NBPLATFORM_DIR)
+  ADDITIONAL_DIRS=profiler.oql
+  PROFILER=profiler
+else
 if VVVERSION_13
   NETBEANS_PROFILER_URL=$(NETBEANS_69_PROFILER_URL)
   NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_69_PROFILER_SRC_ZIP)
@@ -36,6 +56,7 @@ else
   NBPLATFORM_DIR_COPY=$(NBPLATFORM_DIR)/$(NB_PLATFORM)
   NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dbuildnumber=091221-4fc006d17cb1
   PROFILER=profiler3
+endif
 endif
 
 all: visualvm
diff -r 12011c66e520 -r ba2ccec163d0 acinclude.m4
--- a/acinclude.m4	Thu Sep 09 12:59:32 2010 +0100
+++ b/acinclude.m4	Thu Oct 14 22:40:23 2010 +0100
@@ -127,6 +127,7 @@ AC_DEFUN_ONCE([VV_CHECK_WITH_VISUALVM_VE
   fi
   AC_MSG_RESULT([${VVVERSION}])
   AM_CONDITIONAL([VVVERSION_13], [test "$VVVERSION" = "1.3"])
+  AM_CONDITIONAL([VVVERSION_131], [test "$VVVERSION" = "1.3.1"])
 ])
 
 AC_DEFUN_ONCE([VV_CHECK_FOR_NETBEANS],
@@ -149,10 +150,13 @@ AC_ARG_WITH([netbeans-home],
             ])
 AC_MSG_RESULT([${SYSTEM_NETBEANS_DIR}])
 AC_SUBST(SYSTEM_NETBEANS_DIR)
-if test "$VVVERSION" = "1.3"; then
+if test "$VVVERSION" = "1.3.1"; then
+   NB_PLATFORM=platform12;
+else if test "$VVVERSION" = "1.3"; then
    NB_PLATFORM=platform12;
 else
    NB_PLATFORM=platform11;
+fi
 fi
 if ! test -d ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM} ; then
   AC_MSG_ERROR([Couldn't find NetBeans platform directory: ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM}])



More information about the distro-pkg-dev mailing list