This is the part again

[dor@localhost apache-geode]$ sudo  ./bin/gfsh
[sudo] password for dor:
    _________________________     __
   / _____/ ______/ ______/ /____/ /
  / /  __/ /___  /_____  / _____  /
 / /__/ / ____/  _____/ / /    / /
/______/_/      /______/_/    /_/    v1.0.0-incubating-SNAPSHOT

Monitor and Manage GemFire
gfsh>start locator --name=locator
Starting a GemFire Locator in 
/home/dor/Downloads/incubator-geode/gemfire-assembly/build/install/apache-geode/locator...
An error occurred while attempting to start a Locator in 
/home/dor/Downloads/incubator-geode/gemfire-assembly/build/install/apache-geode/locator
 on 192.168.253.132[10334]: The Attach API classes could not be found on the 
classpath.  Please include JDK tools.jar on the classpath or add the JDK 
tools.jar to the jre/lib/ext directory.



From: Kirk Lund [mailto:[email protected]]
Sent: יום ד 13 ינואר 2016 22:52
To: [email protected]
Subject: Re: failed building the latest version downloaded from github

GFSH is a custom CLI tool for GemFire. It doesn't support linux commands such 
as sudo.

You can add the tools.jar from the JDK to your classpath to fix the last 
problem you hit, however the code no longer requires the Attach API, so I'm 
surprised that you're seeing an error message about it. I'll try to fit in some 
time to do some experimenting with this later this week or next week.

-Kirk


On Wed, Jan 13, 2016 at 12:45 PM, Dor Ben Dov 
<[email protected]<mailto:[email protected]>> wrote:
Anthony and Dan,
Cloning from git and then building the develop worked
But when I am running the locator I am getting this  :
gfsh>sudo start locator --name=locator
Command "sudo start locator --name=locator" is not valid.
gfsh>
gfsh>exit
Exiting...
[dor@localhost apache-geode]$ sudo  ./bin/gfsh
[sudo] password for dor:
    _________________________     __
   / _____/ ______/ ______/ /____/ /
  / /  __/ /___  /_____  / _____  /
 / /__/ / ____/  _____/ / /    / /
/______/_/      /______/_/    /_/    v1.0.0-incubating-SNAPSHOT

Monitor and Manage GemFire
gfsh>start locator --name=locator
Starting a GemFire Locator in 
/home/dor/Downloads/incubator-geode/gemfire-assembly/build/install/apache-geode/locator...
An error occurred while attempting to start a Locator in 
/home/dor/Downloads/incubator-geode/gemfire-assembly/build/install/apache-geode/locator
 on 192.168.253.132[10334]: The Attach API classes could not be found on the 
classpath.  Please include JDK tools.jar on the classpath or add the JDK 
tools.jar to the jre/lib/ext directory.

From: Anthony Baker [mailto:[email protected]<mailto:[email protected]>]
Sent: יום ד 13 ינואר 2016 17:02

To: [email protected]<mailto:[email protected]>
Subject: Re: failed building the latest version downloaded from github

This should be fixed now:
https://github.com/apache/incubator-geode/commit/0a890a56232e144d1dd76df05576bcdbb7601c87


Anthony


On Jan 12, 2016, at 10:45 PM, Dor Ben Dov 
<[email protected]<mailto:[email protected]>> wrote:

Dan
I will try cloning from git repository and then I will try again and update you 
guys, but if you ask me, it’s weird that the downloaded zip doesn’t compile 
with gradle.
Dor

From: Dan Smith [mailto:[email protected]]
Sent: יום ד 13 ינואר 2016 03:04
To: [email protected]<mailto:[email protected]>
Subject: Re: failed building the latest version downloaded from github

Can you try cloning the git repository instead of downloading the source zip? 
It looks like it's trying to read metadata from a git checkout.
-Dan

On Tue, Jan 12, 2016 at 1:04 PM, Dor Ben Dov 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I am using fedora 23 with gradle and java 8

Downloaded the latest bundle from github 
https://github.com/apache/incubator-geode/archive/develop.zip

Then tried to gradle build according to the guidelines you wrote on the same 
page,

But it keep failing with this error:
dor@localhost incubator-geode-develop]$ sudo ./gradlew build installDist
Starting a new Gradle Daemon for this build (subsequent builds will be faster).

FAILURE: Build failed with an exception.

* Where:
Build file '/home/dor/Downloads/incubator-geode-develop/build.gradle' line: 57

* What went wrong:
A problem occurred evaluating root project 'gemfire'.
> Failed to apply plugin [id 'org.ajoberstar.grgit']
   > One of setGitDir or setWorkTree must be called.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 10.757 secs
[dor@localhost incubator-geode-develop]$


Any ideas? What am I doing wrong ?


Regards,
Dor Ben Dovd

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