[jdom-interest] problem with "build.sh javadoc" in Beta 4

Jason Hunter jhunter at acm.org
Tue Jun 13 14:55:48 PDT 2000


> BUILD FATAL ERROR: Error exec:
> /studbox/Java/xml/jdom-b4/lib/bin/antRun /studbox
> /Java/xml/jdom-b4 javadoc -classpath

One possible cause is antRun may not be marked for execution.  chmod +x
antRun.  Something about the tar process seems to remove execute bits
sometimes.

-jh-

Received: from [192.251.30.171] (svvan340.sierrasys.com [192.251.30.171])
	by dorothy.denveronline.net (8.9.3/8.9.3) with SMTP id QAA14439
	for <jdom-interest at jdom.org>; Tue, 13 Jun 2000 16:51:52 -0600 (MDT)
Received: from svvan330.sierrasys.com by [192.251.30.171]
          via smtpd (for dorothy.denveronline.net [206.168.141.2]) with SMTP; 13 Jun 2000 22:51:52 UT
Received: by SVVAN330 with Internet Mail Service (5.5.2650.21)
	id <M657LHZ6>; Tue, 13 Jun 2000 15:51:51 -0700
Message-ID: <D1D937EF0E0FD311ADC800600815C3033FBC84 at SVVAN330>
From: "Strutynskyj, Ihor" <IhorStrutynskyj at SierraSystems.com>
To: "'Kevin Regan'" <kevinr at valicert.com>, jdom-interest at jdom.org
Subject: RE: [jdom-interest] problem with "build.sh javadoc" in Beta 4
Date: Tue, 13 Jun 2000 15:51:41 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01BFD589.F6685332"
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 message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFD589.F6685332
Content-Type: text/plain;
	charset="iso-8859-1"

Kevin, I've tried to build docs on NT and it was fine. Here is the snapshot
of the output:
 
c:\JDOM\beta4\build javadoc
 
Java and XML Build System
-------------------
Building with classpath
C:\JDK1.2.2\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;
Starting Ant...
Buildfile: build.xml
Project base dir set to: C:\JDOM\beta4
Executing Target: init
----------- Java Document Object Model (JDOM) 1.0beta4 [2000] ------------
Executing Target: prepare
Executing Target: prepare-src
Executing Target: javadoc
Generating Javadoc
Parsing source files for packages
Javadoc execution
[exec] Loading source files for package org.jdom.adapters...
[exec] Loading source files for package org.jdom.input...
[exec] Loading source files for package org.jdom.output...
[exec] Loading source files for package org.jdom...
[exec] Constructing Javadoc information...
[exec] Building tree for all the packages and classes...
[exec] Generating
C:\JDOM\beta4\build\apidocs\org\jdom\adapters\class-use\DOMAdapter.html...
----------->....... I intentinally deleted some lines here ....<------------
Completed in 13 seconds
 
All I can see in your output is a missing / in the call to javadoc

I am getting the following error when building the target "javadoc" 
on Solaris and Linux for Beta 4 (it is working on NT): 

kevin at bugs 242% ./build.sh javadoc 

Java and XML Build System 
------------------- 

Building with classpath
:/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1
.2.2_clean//lib/dev.jar

Starting Ant... 

Buildfile: build.xml 
Project base dir set to: /studbox/Java/xml/jdom-b4 
Executing Target: init 
----------- Java Document Object Model (JDOM) 1.0beta4 [2000] ------------ 
Executing Target: prepare 
Executing Target: prepare-src 
Executing Target: javadoc 
Created dir: /studbox/Java/xml/jdom-b4/build/apidocs 
Generating Javadoc 
Parsing source files for packages 
Javadoc execution 
BUILD FATAL ERROR: Error exec: /studbox/Java/xml/jdom-b4/lib/bin/antRun
/studbox  

---->I think it should be  /Java/xml/jdom-b4/javadoc .....  <----------
/Java/xml/jdom-b4 javadoc -classpath
"/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1
.2.2_clean//lib/dev.jar:" -sourcepath "./build/src" -d
"/studbox/Java/xml/jdom-b4/build/apidocs" -version -author -use -splitindex
-windowtitle "Java Document Object Model (JDOM) API" -doctitle "Java
Document Object Model (JDOM)" -bottom "Copyright ? 2000 Brett McLaughlin,
Jason Hunter. All Rights Reserved." "org.jdom.adapters" "org.jdom.input"
"org.jdom.output" "org.jdom" 

 Try to run javadoc manually with command:

/Java/xml/jdom-b4/javadoc -classpath
"/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1
.2.2_clean//lib/dev.jar:" -sourcepath "./build/src" -d
"/studbox/Java/xml/jdom-b4/build/apidocs" -version -author -use -splitindex
-windowtitle "Java Document Object Model (JDOM) API" -doctitle "Java
Document Object Model (JDOM)" -bottom "Copyright ? 2000 Brett McLaughlin,
Jason Hunter. All Rights Reserved." "org.jdom.adapters" "org.jdom.input"
"org.jdom.output" "org.jdom"

I think it's the bug in ant (could not track it down - do not have a source
code).

-Ihor.

 


------_=_NextPart_001_01BFD589.F6685332
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=573254522-13062000>Kevin, 
I've tried to build docs on NT and it was fine. Here is the snapshot of the 
output:</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=573254522-13062000>c:\JDOM\beta4\build javadoc</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=573254522-13062000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=573254522-13062000>Java 
and XML Build System<BR>-------------------<BR>Building with classpath 
C:\JDK1.2.2\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;<BR>Starting 
Ant...<BR>Buildfile: build.xml<BR>Project base dir set to: 
C:\JDOM\beta4<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: 
javadoc<BR>Generating Javadoc<BR>Parsing source files for packages<BR>Javadoc 
execution<BR>[exec] Loading source files for package 
org.jdom.adapters...<BR>[exec] Loading source files for package 
org.jdom.input...<BR>[exec] Loading source files for package 
org.jdom.output...<BR>[exec] Loading source files for package 
org.jdom...<BR>[exec] Constructing Javadoc information...<BR>[exec] Building 
tree for all the packages and classes...<BR>[exec] Generating 
C:\JDOM\beta4\build\apidocs\org\jdom\adapters\class-use\DOMAdapter.html...<BR>-----------&gt;....... 
I intentinally deleted some lines here ....&lt;------------<BR>Completed in 13 
seconds</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=573254522-13062000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=573254522-13062000>All I 
can see in your output is a missing / in the call to javadoc</DIV></SPAN></FONT>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
  <P><FONT face=Arial size=2>I am getting the following error when building the 
  target "javadoc"</FONT> <BR><FONT face=Arial size=2>on Solaris and Linux for 
  Beta 4 (it is working on NT):</FONT> </P>
  <P><FONT face=Arial size=2>kevin at bugs 242% ./build.sh javadoc</FONT> </P>
  <P><FONT face=Arial size=2>Java and XML Build System</FONT> <BR><FONT 
  face=Arial size=2>-------------------</FONT> </P>
  <P><FONT face=Arial size=2>Building with classpath 
  :/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1.2.2_clean//lib/dev.jar</FONT></P>
  <P><FONT face=Arial size=2>Starting Ant...</FONT> </P>
  <P><FONT face=Arial size=2>Buildfile: build.xml</FONT> <BR><FONT face=Arial 
  size=2>Project base dir set to: /studbox/Java/xml/jdom-b4</FONT> <BR><FONT 
  face=Arial size=2>Executing Target: init</FONT> <BR><FONT face=Arial 
  size=2>----------- Java Document Object Model (JDOM) 1.0beta4 [2000] 
  ------------</FONT> <BR><FONT face=Arial size=2>Executing Target: 
  prepare</FONT> <BR><FONT face=Arial size=2>Executing Target: 
  prepare-src</FONT> <BR><FONT face=Arial size=2>Executing Target: 
  javadoc</FONT> <BR><FONT face=Arial size=2>Created dir: 
  /studbox/Java/xml/jdom-b4/build/apidocs</FONT> <BR><FONT face=Arial 
  size=2>Generating Javadoc</FONT> <BR><FONT face=Arial size=2>Parsing source 
  files for packages</FONT> <BR><FONT face=Arial size=2>Javadoc execution</FONT> 
  <BR><FONT face=Arial size=2>BUILD FATAL ERROR: Error exec: 
  /studbox/Java/xml/jdom-b4/lib/bin/antRun /studbox</FONT>&nbsp;<FONT 
  size=2><FONT face=Arial><SPAN class=573254522-13062000><FONT 
  color=#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></P>
  <P><FONT size=2><FONT face=Arial><SPAN class=573254522-13062000><FONT 
  color=#0000ff>----&gt;I think it should be&nbsp;</FONT>&nbsp;<FONT 
  color=#0000ff>/Java/xml/jdom-b4/javadoc .....&nbsp; 
  &lt;----------</FONT></SPAN><BR>/Java/xml/jdom-b4 javadoc -classpath 
  "/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1.2.2_clean//lib/dev.jar:" 
  -sourcepath "./build/src" -d "/studbox/Java/xml/jdom-b4/build/apidocs" 
  -version -author -use -splitindex -windowtitle "Java Document Object Model 
  (JDOM) API" -doctitle "Java Document Object Model (JDOM)" -bottom "Copyright ? 
  2000 Brett McLaughlin, Jason Hunter. All Rights Reserved." "org.jdom.adapters" 
  "org.jdom.input" "org.jdom.output" "org.jdom"<FONT color=#0000ff><SPAN 
  class=573254522-13062000>&nbsp;</SPAN></FONT></FONT></FONT></P></BLOCKQUOTE>
<P><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=573254522-13062000>&nbsp;Try to run javadoc manually with 
command:</SPAN></FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=573254522-13062000>/Java/xml/jdom-b4/javadoc -classpath 
"/usr/jdk1.2.2_clean//lib/tools.jar:./lib/xerces.jar:./lib/ant.jar:/usr/jdk1.2.2_clean//lib/dev.jar:" 
-sourcepath "./build/src" -d "/studbox/Java/xml/jdom-b4/build/apidocs" -version 
-author -use -splitindex -windowtitle "Java Document Object Model (JDOM) API" 
-doctitle "Java Document Object Model (JDOM)" -bottom "Copyright ? 2000 Brett 
McLaughlin, Jason Hunter. All Rights Reserved." "org.jdom.adapters" 
"org.jdom.input" "org.jdom.output" "org.jdom"</SPAN></FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=573254522-13062000>I think it's the bug in ant (could not track it down - 
do not have a source code).</SPAN></FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=573254522-13062000>-Ihor.</SPAN></FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=573254522-13062000></SPAN></FONT></FONT></FONT>&nbsp;</P></BODY></HTML>

------_=_NextPart_001_01BFD589.F6685332--



More information about the jdom-interest mailing list