Apache Directory Project - Problem building ApacheDS against JDK 1.4

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > May 2006 > Problem building ApacheDS against JDK 1.4





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem building ApacheDS against JDK 1.4
Norbet Reilly

2006-05-16, 7:11 am

FYI, I just updated and noticed a JDK1.5 dependency has crept in lately:


D:\ad\shared\ldap\src\main\java\org\apac
he\directory\shared\ldap\ldif\LdifReader
.java:[1203,55]
cannot resolve symbol
symbol : method defaultCharset ()
location: class java.nio.charset.Charset

I replaced the call to Charset.defaultCharset().toString() with
"UTF-8" (I presume the best replacement substitution in JDK 1.4?) but
then got the following sure-fire failures.

I've been following the other LDIF threads and I'll be a keen customer
for the new LdifReader (that understands the "changetype" modifier)
when it's all singing and dancing!

Thanks

Emmanuel Lecharny

2006-05-16, 7:11 am

Norbet Reilly a écrit :

> FYI, I just updated and noticed a JDK1.5 dependency has crept in lately:


Arghhh !!! My bad !

>
>
> D:\ad\shared\ldap\src\main\java\org\apac
he\directory\shared\ldap\ldif\LdifReader
.java:[1203,55]
>
> cannot resolve symbol
> symbol : method defaultCharset ()
> location: class java.nio.charset.Charset
>
> I replaced the call to Charset.defaultCharset().toString() with
> "UTF-8" (I presume the best replacement substitution in JDK 1.4?) but
> then got the following sure-fire failures.


I gonna check for the better fix tonite

>
> I've been following the other LDIF threads and I'll be a keen customer
> for the new LdifReader (that understands the "changetype" modifier)
> when it's all singing and dancing!


LdifReader works well for entries right now (but I put it in a branch),
and change will work tonite maybe.

Thanks for the report !
Emmanuel Lécharny

Norbet Reilly

2006-05-16, 7:11 am

Cool, thanks.

I also ran into this problem later in the build (I imagine it falls in
Alex's domain?):

D:\src\jch_trunk\ad\apacheds\kerberos-shared\src\main\java\org\apache\direc=
tory\
server\kerberos\shared\store\operations\
GetPrincipal.java:[129,41]
cannot resolve symbol
symbol : method parseBoolean (java.lang.String)
location: class java.lang.Boolean

D:\src\jch_trunk\ad\apacheds\kerberos-shared\src\main\java\org\apache\direc=
tory\
server\kerberos\shared\store\operations\
GetPrincipal.java:[135,42]
cannot resolve symbol
symbol : method parseBoolean (java.lang.String)
location: class java.lang.Boolean

will work-around it tomorrow...

Thanks

Ersin Er

2006-05-16, 7:11 am

Norbet Reilly wrote:
> Cool, thanks.
>
> I also ran into this problem later in the build (I imagine it falls in
> Alex's domain?):
>
> D:\src\jch_trunk\ad\apacheds\kerberos- shared\src\main\java\org\apache\director
y\
>
> server\kerberos\shared\store\operations\
GetPrincipal.java:[129,41]
> cannot resolve symbol
> symbol : method parseBoolean (java.lang.String)
> location: class java.lang.Boolean
>
> D:\src\jch_trunk\ad\apacheds\kerberos- shared\src\main\java\org\apache\director
y\
>
> server\kerberos\shared\store\operations\
GetPrincipal.java:[135,42]
> cannot resolve symbol
> symbol : method parseBoolean (java.lang.String)
> location: class java.lang.Boolean

This should be fixed now.
> will work-around it tomorrow...
>
> Thanks


--
Ersin

Norbet Reilly

2006-05-17, 1:11 am

Thanks for the fixes guys, I'm happily building again.

Note that the LdifReaderTest is still failing, but I've just moved it
out of the way...

Emmanuel Lecharny

2006-05-17, 7:11 am

Reply-To: "Apache Directory Developers List" <dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: sea.gmane.org 1147849867 26996 80.91.229.2 (17 May 2006 07:11:07 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Wed, 17 May 2006 07:11:07 +0000 (UTC)
Original-X-From: dev-return-11987-gcaidd-directory-dev=m.gmane.org-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org Wed May 17 09:11:05 2006
Return-path: <dev-return-11987-gcaidd-directory-dev=m.gmane.org-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
Envelope-to: gcaidd-directory-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org
Original-Received: from hermes.apache.org ([209.237.227.199] helo=mail.apache.org)
by ciao.gmane.org with smtp (Exim 4.43)
id 1FgGBM-0002ov-6c
for gcaidd-directory-dev-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org; Wed, 17 May 2006 09:10:56 +0200
Original-Received: (qmail 86356 invoked by uid 500); 17 May 2006 07:10:54 -0000
Mailing-List: contact dev-help-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org; run by ezmlm
Precedence: bulk
List-Help: <mailto:dev-help-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
List-Unsubscribe: <mailto:dev-unsubscribe-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
List-Post: <mailto:dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
List-Id: <dev.directory.apache.org>
Delivered-To: mailing list dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org
Original-Received: (qmail 86335 invoked by uid 99); 17 May 2006 07:10:54 -0000
Original-Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 00:10:54 -0700
X-ASF-Spam-Status: No, hits=1.4 required=10.0
tests=SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (asf.osuosl.org: 212.27.42.36 is neither permitted nor denied by domain of elecharny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org)
Original-Received: from [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 00:10:52 -0700
Original-Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176])
by smtp6-g19.free.fr (Postfix) with ESMTP id 83531225B2
for <dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>; Wed, 17 May 2006 09:10:31 +0200 (CEST)
Original-Reply-To: elecharny-5vSF6RxU3KQAvxtiuMwx3w@public.gmane.org
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
X-Accept-Language: fr, en
Original-To: Apache Directory Developers List <dev-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org>
In-Reply-To: < f275eef10605161821l530a7a0ek4aca2720bf3a
3e0e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Xref: news.gmane.org gmane.comp.apache.incubator.directory.devel:7709
Archived-At: <http://permalink.gmane.org/gmane.co...tory.devel/7709>

Norbet Reilly a écrit :

> Thanks for the fixes guys, I'm happily building again.
>
> Note that the LdifReaderTest is still failing, but I've just moved it
> out of the way...


Sorry about that. I've found a fix for this CharSetDefaultEncoding, but
I tested it in a branch. I con't commit right now, minautor (apache SVN
server) seems to have pbs...

The LdifReader is on its way, and it can now accept all the changetype
operation.

Emmanuel


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com