I checked the source codes and the scripts look fine regarding the format. 
The scripts in the release source package 
kerby-all-1.0.0-RC1-source-release.zip are all DOS format. I guess it was git 
checked out and generated from a building on Windows?

Regards,
Kai

-----Original Message-----
From: Zheng, Kai [mailto:[email protected]] 
Sent: Sunday, September 06, 2015 8:58 PM
To: [email protected]; Apache Directory Developers List
Subject: RE: [VOTE] Release Apache Kerby 1.0.0-RC1

On windows OK:
c:\work\projects\kerby\kerby-dist\kdc-dist\bin>kadmin.cmd
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Error: Could not find or load main class 
org.apache.kerby.kerberos.tool.kadmin.KadminTool

On Linux failed:
[root@zkdesk bin]# sh kadmin.sh
: command not found
'admin.sh: line 22: syntax error near unexpected token `do
'admin.sh: line 22: `for var in $*; do

So we have to convert *.sh scripts for Linux into UNIX format from DOS format.

Regards,
Kai

-----Original Message-----
From: Zheng, Kai [mailto:[email protected]]
Sent: Sunday, September 06, 2015 8:55 PM
To: Apache Directory Developers List; [email protected]
Subject: RE: [VOTE] Release Apache Kerby 1.0.0-RC1

I saw all the scripts are in DOS format. Should we convert them all to UNIX 
format, or just *.cmd scripts, or other means. I'm dummy at this. :(

Regards,
Kai

-----Original Message-----
From: Zheng, Kai [mailto:[email protected]]
Sent: Sunday, September 06, 2015 8:49 PM
To: Apache Directory Developers List; [email protected]
Subject: RE: [VOTE] Release Apache Kerby 1.0.0-RC1

I thought they should be functional, wondering where are the DOS/Windows line 
breaks from. Caused by git commit?

Regards,
Kai

-----Original Message-----
From: Stefan Seelmann [mailto:[email protected]]
Sent: Sunday, September 06, 2015 8:42 PM
To: [email protected]; Apache Directory Developers List
Subject: Re: [VOTE] Release Apache Kerby 1.0.0-RC1

One question: Should the *.sh scripts in kerby-dist/tool-dist/bin and 
kerby-dist/kdc-dist/bin be functional? Or are they not ready yet and out of 
scope for the RC1 release?

I tried to run the example from
https://directory.apache.org/kerby/user-guide/1-how-to-begin.html but the 
scripts just throw an error, the main issue seems that they contain DOS/Windows 
line breaks.

Kind Regards,
Stefan


On 09/06/2015 09:40 AM, Emmanuel Lécharny wrote:
> Hi !
> 
> this is the very first release of Apache Kerby, 1.0.0-RC1. This is a 
> release candidate, which means we are reaching an API freeze, but some 
> bug might be fixed before we move to an official GA.
> 
> 
> Please cast your vote !
> 
> The revision :
> 
> http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/c49e9d47
> 
> The source packages are available here :
> http://people.apache.org/~elecharny/
> 
> The staging repository:
> https://repository.apache.org/content/repositories/orgapachedirectory-
> 1041/
> 
> Please cast your votes:
> [ ] +1 Release Apache Kerby 1.0.0-RC1
> [ ] 0 abstain
> [ ] -1 Do not release Apache Kerby 1.0.0-RC1
> 

Reply via email to