[jdom-interest] Build script / config concerns ....

Jason Hunter jhunter at collab.net
Mon Aug 7 11:04:44 PDT 2000


> However,  I noticed that the build script includes a dev.jar 
> file.  Where can I get dev.jar ?   

Set you JAVA_HOME (as the instructions tell you to) and then it should
be found automatically.

> Also, due to project specifications I may have to
> use jdk 1.1.6, will the latest and greatest jdom compile with this
> version of jdk?
> Any word on when the jdom automatic build will be ready?

It's close to done.  It's in the TODO to be done before beta5.

-jh-

Received: from smtp2.a2000.nl (duck.a2000.nl [62.108.1.88])
	by dorothy.denveronline.net (8.9.3/8.9.3) with ESMTP id DAA08939
	for <jdom-interest at jdom.org>; Mon, 7 Aug 2000 03:07:12 -0600 (MDT)
Received: from node17aa.a2000.nl ([62.108.23.170] helo=leo01)
	by smtp2.a2000.nl with smtp (Exim 2.02 #4)
	id 13LisC-0000K3-00
	for jdom-interest at jdom.org; Mon, 7 Aug 2000 11:07:05 +0200
Message-ID: <000a01c0004f$0b222f60$aa176c3e at leo01>
From: "Leo Moot" <l.moot at chello.nl>
To: <jdom-interest at jdom.org>
Date: Mon, 7 Aug 2000 11:08:22 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0007_01C0005F.CCD13650"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Subject: [jdom-interest] Bugs
Sender: jdom-interest-admin at jdom.org
Errors-To: jdom-interest-admin at jdom.org
X-BeenThere: jdom-interest at jdom.org
X-Mailman-Version: 2.0beta2
Precedence: bulk
List-Id: JDOM Mailing List for General Issues and Updates <jdom-interest.jdom.org>

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C0005F.CCD13650
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

1. In "Document.java", method "public boolean =
removeProcessingInstructions(String target)"
    the boolean deletedSome will never be set, change code to something =
like:
      ...
         if (((ProcessingInstruction)obj).getTarget().equals(target)) {
           deleteSome =3D true;  =20
           i.remove();
         }
      ...

2. in "Element.Java", method "public boolean removeChildren()"=20
    always returns true. Change code to something like:
       ...
         if (content =3D=3D null)
           return false;

         boolean deletedSome =3D false;
         if (content !=3D null) {
           Iterator i =3D content.iterator();
           while (i.hasNext()) {
             Object obj =3D i.next();
             if (obj instanceof Element) {
               deletedSome =3D true;       =20
               i.remove();
             }
           }
         }

         return deletedSome;
         ...

Greetz & continue the good work!

--=20
Leo Moot=20
McKey & Partners

"Yea, and there shall come a time, when all other languages, save the=20
 sacred C and C++, shall pass away, and yea Java and it's offspring=20
 shall devour the land. They shall eat away at the sacred halls of all=20
 others and their child programs shall be found to be running =
everywhere!"


__________________________________________________________=20

The views expressed in this posting are solely those of the author,=20
and McKey & Partners does not endorse any of these views. =20
McKey & Partners is not responsible for the accuracy or completeness of=20
the information provided and assumes no duty to correct, expand upon,=20
delete or update any of the information contained in this posting.=20
___________________________________________________________
 =20

------=_NextPart_000_0007_01C0005F.CCD13650
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>1. In "Document.java", method "public boolean=20
removeProcessingInstructions(String target)"</DIV>
<DIV>&nbsp;&nbsp;&nbsp; the boolean deletedSome will never be set, =
change code=20
to something like:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if=20
(((ProcessingInstruction)obj).getTarget().equals(target))=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
deleteSome =3D=20
true;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i.=
remove();</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. in "Element.Java", method "public boolean removeChildren()" =
</DIV>
<DIV>&nbsp;&nbsp;&nbsp; always returns true. Change code to something=20
like:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if&nbsp;(content =
=3D=3D=20
null)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return =
false;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; boolean =
deletedSome =3D=20
false;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;if (content !=3D =
null)=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Iterator i =
=3D=20
content.iterator();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;=20
while (i.hasNext()) {<BR>&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object obj =
=3D=20
i.next();<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp; if=20
(obj instanceof Element)=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
deletedSome =3D true;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
i.remove();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;return =
deletedSome;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Greetz &amp; continue the good work!</DIV>
<DIV>&nbsp;</DIV>
<DIV>-- <BR>Leo Moot <BR>McKey &amp; Partners</DIV>
<DIV>&nbsp;</DIV>
<DIV>"Yea, and there shall come a time, when all other languages, save =
the=20
<BR>&nbsp;sacred C and C++, shall pass away, and yea Java and it's =
offspring=20
<BR>&nbsp;shall devour the land. They shall eat away at the sacred halls =
of all=20
<BR>&nbsp;others and their child programs shall be found to be running=20
everywhere!"</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>__________________________________________________________ =
</DIV>
<DIV>&nbsp;</DIV>
<DIV>The views expressed in this posting are solely those of the author, =
<BR>and=20
McKey &amp; Partners does not endorse any of these views.&nbsp; =
<BR>McKey &amp;=20
Partners is not responsible for the accuracy or completeness of <BR>the=20
information provided and assumes no duty to correct, expand upon, =
<BR>delete or=20
update any of the information contained in this posting.=20
<BR>___________________________________________________________<BR>&nbsp;=
=20
</DIV></BODY></HTML>

------=_NextPart_000_0007_01C0005F.CCD13650--




More information about the jdom-interest mailing list