Dor,

Here are the steps I'm following (commands executed are in bold - the rest
is output):


   1. Make sure that you have a recent checkout of Geode and that you are
   on the Jvsd branch - feature/GEODE-78

   $ *git status*
   On branch feature/GEODE-78
   Your branch is up-to-date with 'origin/feature/GEODE-78'.
   nothing to commit, working directory clean

   2. Build the MultiAxisChart:

   $ *./gradlew geode-jvsd:clean geode-jvsd:MultiAxisChart*
   :geode-jvsd:clean
   :clean UP-TO-DATE
   :geode-jvsd:MultiAxisChartFX
   Cloning MultiAxisChartFX...
   Cloning MultiAxisChartFX... Done!
   Installing MultiAxisChartFX into local maven repository...
   Installing MultiAxisChartFX into local maven repository... Done!

   BUILD SUCCESSFUL

   At this point you should have the following file:

   $ *ls -la
   geode-jvsd/build/MultiAxisChartFX/target/MultiAxisChart-1.0-SNAPSHOT.jar*
   -rw-r--r--  1 jdeppe  staff  69979 Apr  1 07:21
   geode-jvsd/build/MultiAxisChartFX/target/MultiAxisChart-1.0-SNAPSHOT.jar

   This file should also now be installed in your local maven repository:

   $ *ls -la
   ~/.m2/repository/com/pivotal/javafx/MultiAxisChart/1.0-SNAPSHOT/*
   total 168
   drwxr-xr-x  6 jdeppe  staff    204 Apr  1 07:14 .
   drwxr-xr-x  4 jdeppe  staff    136 Apr  1 07:14 ..
   -rw-r--r--  1 jdeppe  staff  69979 Apr  1 07:21
   MultiAxisChart-1.0-SNAPSHOT.jar
   -rw-r--r--  1 jdeppe  staff   1751 Apr  1 07:20
   MultiAxisChart-1.0-SNAPSHOT.pom
   -rw-r--r--  1 jdeppe  staff    201 Apr  1 07:21 _remote.repositories
   -rw-r--r--  1 jdeppe  staff    712 Apr  1 07:21 maven-metadata-local.xml


   3. Build jvsd:

   $ *./gradlew -x test geode-jvsd:installDist*
   :geode-jvsd:MultiAxisChartFX SKIPPED
   :geode-jvsd:compileJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   :geode-jvsd:processResources
   :geode-jvsd:classes
   :geode-jvsd:jar
   :geode-jvsd:startScripts
   :geode-jvsd:installDist

   BUILD SUCCESSFUL


   4. Run it:

   $ *./geode-jvsd/build/install/geode-jvsd/bin/geode-jvsd*


Hopefully this will get you going.

--Jens

On Fri, Apr 1, 2016 at 2:05 AM, Dor Ben Dov <[email protected]> wrote:

> Jens,
>
> One strange thing in addition,
>
> The folder
>
> /home/dor/new/incubator-geode/geode-jvsd/build/MultiAxisChartFX/target
>
> Seems to contain to sub folders but both of them are empty
>
>
>
> Dor
>
>
>
> *From:* Dor Ben Dov
> *Sent:* יום ו 01 אפריל 2016 12:01
> *To:* [email protected]
> *Subject:* RE: vsd and gemfire
>
>
>
> Jens
>
> Thanks, I did what you told pull it again and then ran the gradle clean
> and multi axis chart.
>
>  Now once it ran, how do I execute, ran the tool ?
>
> Thanks again,
>
> Dor
>
>
>
> *From:* Jens Deppe [mailto:[email protected] <[email protected]>]
> *Sent:* יום ו 01 אפריל 2016 01:02
> *To:* [email protected]
> *Subject:* Re: vsd and gemfire
>
>
>
> Hi Dor,
>
>
>
> It looks like the MultiAxisChart component isn't available. However...
>
>
>
> If you ran ./gradlew geode-jvsd:MultiAxisChart it may have silently failed
> as it did for me:
>
>
>
> (2.7)jdeppe@deppe-mbp:jvsd$> ./gradlew geode-jvsd:clean
> geode-jvsd:MultiAxisChart
>
> :geode-jvsd:clean
>
> :clean UP-TO-DATE
>
> :geode-jvsd:MultiAxisChartFX
>
> Cloning MultiAxisChartFX...
>
> Cloning MultiAxisChartFX... Done!
>
> Installing MultiAxisChartFX into local maven repository...
>
> [ant:exec] Result: 1       <------------- argg!!!!
>
> Installing MultiAxisChartFX into local maven repository... Done!   <-----
> No, not really
>
>
>
> BUILD SUCCESSFUL
>
>
>
> Total time: 4.109 secs
>
>
>
> Please do a pull on the GEODE-78 branch and try again - making sure you
> install the MultiAxisChart component successfully. You may need to set
> JAVA_HOME to point to a JDK 8 location. I've updated the build to show the
> error if mvn fails to install the component.
>
>
>
> Notice also that I ran the task geode-jvsd:clean as part of the command
> above; I suggest you do that too.
>
>
>
> --Jens
>
>
>
> On Thu, Mar 31, 2016 at 12:08 PM, Dor Ben Dov <[email protected]>
> wrote:
>
> Jens,
>
> I used you guide mentioned below but am I am getting the following error,
> any clue what it could be ?
>
> FAILURE: Build failed with an exception.
>
>
>
> * What went wrong:
>
> Could not resolve all dependencies for configuration ':geode-jvsd:compile'.
>
> > Could not resolve com.pivotal.javafx:MultiAxisChart:1.0-SNAPSHOT.
>
>   Required by:
>
>       org.apache.geode:geode-jvsd:1.0.0-incubating-SNAPSHOT
>
>    > Could not resolve com.pivotal.javafx:MultiAxisChart:1.0-SNAPSHOT.
>
>       > Could not get resource '
> http://repo.spring.io/ext-release-local/com/pivotal/javafx/MultiAxisChart/1.0-SNAPSHOT/MultiAxisChart-1.0-SNAPSHOT.pom
> '.
>
>          > Could not GET '
> http://repo.spring.io/ext-release-local/com/pivotal/javafx/MultiAxisChart/1.0-SNAPSHOT/MultiAxisChart-1.0-SNAPSHOT.pom'.
> Received status code 409 from server: Conflict
>
>
>
> * Try:
>
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
>
>
> BUILD FAILED
>
>
>
> Dor
>
>
>
> *From:* Jens Deppe [mailto:[email protected]]
> *Sent:* יום ג 16 פברואר 2016 17:32
>
>
> *To:* [email protected]
> *Subject:* Re: vsd and gemfire
>
>
>
> Hi Dor,
>
>
>
> In order to build the jvsd code, you would have to do something like this
> (taken from the jvsd README):
>
>
>
> # Clone Geode from the Apache repository and checkout JVSD branch.
>
> $git clone https://git-wip-us.apache.org/repos/asf/incubator-geode.git
>
> $cd incubator-geode/
>
> $git branch feature/GEODE-78 origin/feature/GEODE-78
>
> $git checkout feature/GEODE-78
>
>
>
> # Build and install the third party charting library, MultiAxisChartFX.
>
> $./gradlew geode-jvsd:MultiAxisChart
>
>
>
> ###############     BUILD         ################
>
>
>
> # Build Geode.
>
> $./gradlew clean build installDist -Dskip.tests=true
>
>
>
> # Build Only jVSD.
>
> $./gradlew geode-jvsd:clean geode-jvsd:build geode-jvsd:installDist
> -Dskip.tests=true
>
>
>
> ###############     RUN       ################
>
> # Run from source.
>
> $./gradlew geode-jvsd:run
>
>
>
> # Run from distribution.
>
> $./geode-jvsd/build/install/geode-jvsd/bin/geode-jvsd
>
>
>
> HTH
>
> --Jens
>
>
>
> On Mon, Feb 15, 2016 at 10:27 PM, Dor Ben Dov <[email protected]>
> wrote:
>
> Jen,
>
> According to your message, if I am taking the latest development from
> github, snapshot m2 – it will include this ‘feature’ or
>
> In order to have it I should do something else ?
>
>
>
> Regards,
>
> Dor
>
>
>
> *From:* Jens Deppe [mailto:[email protected]]
> *Sent:* יום ב 15 פברואר 2016 18:14
> *To:* [email protected]
> *Subject:* Re: vsd and gemfire
>
>
>
> Hi Dor,
>
>
>
> Currently VSD is only available on a branch in the Geode repository
> (feature/GEODE-78). This branch contains the *beginnings* of a java-only
> port of the utility, based on JavaFX (jVSD). Contributions welcome! :)
>
>
>
> Older versions of VSD, distributed with GemFire, will work to read
> statistics files produced by Geode.
>
>
>
> --Jens
>
>
>
> On Mon, Feb 15, 2016 at 1:47 AM, Dor Ben Dov <[email protected]>
> wrote:
>
> Hi,
>
>
>
> Where can find the vsd tool ? are you planning to add it as part of the
> Geode project ?
>
>
>
>
>
> Dor
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement, you may review at
> http://www.amdocs.com/email_disclaimer.asp
>
>
>
>
>
>
>

Reply via email to