<HTML>
<HEAD>
<TITLE>Re: [jdom-interest] Newbie compile problems</TITLE>
</HEAD>
<BODY>
File this under the "never mind" category. I downloaded and unzipped the JDOM distribution on my Macintosh, transferred the files to my Win 2000 machine and tried to compile. When I unzipped the files on my Win 2000 machine the build worked successfully. This is probably due to the cr/lf differences between the Mac and PC. Oh well. Sorry to bother anyone. -Frank<BR>
<BR>
-- <BR>
Frank Cohen, cofounder and chief technology officer, Inclusion Inc.<BR>
http://www.inclusion.net, phone 408 374 7426, email fcohen@inclusion.net<BR>
<BR>
Come join me and on INBuilders.com - a resource for people building<BR>
INteractive web sites at: http://www.inbuilders.com<BR>
<BR>
<BLOCKQUOTE><BR>
<B>From: </B>"Frank Cohen" <fcohen@inclusion.net><BR>
<B>Date: </B>Wed, 12 Jul 2000 20:22:29 -0700<BR>
<B>To: </B><jdom-interest@jdom.org><BR>
<B>Subject: </B>[jdom-interest] Newbie compile problems<BR>
<BR>
</BLOCKQUOTE><BR>
<BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Arial">I'm using JDK 1.2.2 build 6 from Sun, downloaded the JDOM Beta 4 build, tried compiling using Ant and got a compiler error complaining NoSuchProcessingInstructionException is unknown. I looked into the code and found NoSuchProcessingInstructionException part of the org.jdom package.<BR>
<BR>
Anyone know what I've done wrong?<BR>
<BR>
Frank Cohen<BR>
Inclusion.net<BR>
<BR>
<BR>
H:\jdom\jdom>echo %JAVA_HOME%<BR>
c:\java\java122<BR>
<BR>
H:\jdom\jdom>.\build.bat<BR>
Java and XML Build System<BR>
-------------------<BR>
Building with classpath c:\java\java122\lib\tools.jar;.\lib\xerces.jar;.\lib\ant<BR>
.jar;<BR>
Starting Ant...<BR>
Buildfile: build.xml<BR>
Project base dir set to: H:\jdom\jdom<BR>
Executing Target: init<BR>
----------- Java Document Object Model (JDOM) 1.0beta4 [2000] ------------<BR>
Executing Target: prepare<BR>
Executing Target: prepare-src<BR>
Executing Target: compile<BR>
Compiling 1 source files to H:\jdom\jdom\build\classes<BR>
H:\jdom\jdom\build\src\org\jdom\Document.java:252: Class org.jdom.NoSuchProcessi<BR>
ngInstructionException not found in throws.<BR>
throws NoSuchProcessingInstructionException {<BR>
^<BR>
H:\jdom\jdom\build\src\org\jdom\Document.java:264: Class org.jdom.NoSuchProcessi<BR>
ngInstructionException not found.<BR>
throw new NoSuchProcessingInstructionException(target);<BR>
^<BR>
H:\jdom\jdom\build\src\org\jdom\Document.java:353: Return required at end of boo<BR>
lean removeProcessingInstruction(java.lang.String).<BR>
public boolean removeProcessingInstruction(String target) {<BR>
^<BR>
H:\jdom\jdom\build\src\org\jdom\Document.java:355: Class org.jdom.NoSuchProcessi<BR>
ngInstructionException not found in try.<BR>
try {<BR>
^<BR>
H:\jdom\jdom\build\src\org\jdom\Document.java:357: Class org.jdom.NoSuchProcessi<BR>
ngInstructionException not found.<BR>
} catch (NoSuchProcessingInstructionException e) {<BR>
^<BR>
5 errors<BR>
BUILD FATAL ERROR: Compile failed, messages should have been provided.<BR>
<BR>
H:\jdom\jdom><BR>
</FONT></FONT><BR>
</BLOCKQUOTE><BR>
</BODY>
</HTML>