ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xue, Ming" <Ming....@rbcds.com>
Subject Can not run javadoc task!
Date Wed, 13 Jun 2001 21:08:24 GMT
Hi 

I create an Ant build.xml on NT machine and it works just fine. But when I
am trying to run the same build file  in a HP-UX enrivonment. I got the
following error regarding javadoc task:

What could be the problem??

thanks
Ming XUE


============
buildJavadoc:
    [mkdir] Created dir: /opt/alpha/ecom/eclient/tempBuild
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
" not found "/bin/sh
"ile link resolves to "/usr/bin/sh
     [copy] Copying 1 file to /opt/alpha/ecom/eclient/tempBuild/eclient
      [jar] Building jar: /opt/alpha/ecom/eclient/doc/eclient_doc.jar
      [ftp] sending files
      [ftp] 1 files sent
   [delete] Deleting directory /opt/alpha/ecom/eclient/tempBuild

BUILD SUCCESSFUL

Total time: 4 seconds
========================

THE ACTURAL BUILD.XML file is :


	<target name="buildJavadoc" depends="compileRBCDS">

		<mkdir dir="${BUILD_DIR}"/>
		<delete includeEmptyDirs="true" >
			<fileset dir="${BUILD_DIR}"/>
		</delete>
		
		<javadoc packagenames="com.rbcds.eclient.*"
			sourcepath="${basedir}\src"
			destdir="${BUILD_DIR}"
			author="true"
			version="true"
			use="true"
			package="true"
			windowtitle="eClient API"
			doctitle="eClient API"
			bottom="Copyright &#169; 2000 RBC Dominion
Securities. All Rights Reserved.">
		</javadoc>
		
		<copy todir="${BUILD_DIR}\eclient">
			<fileset dir="${basedir}\src\eclient">
				<include name="EclientVersion.class"/>
			</fileset>
		</copy>
		
		<jar jarfile="${basedir}\doc\eclient_doc.jar"
manifest="${basedir}\build\eclient.versioninfo">
			<fileset dir="${BUILD_DIR}"/> 
		</jar>
	
		<ftp server="ec.rbcds.com"
	
remotedir="/usr/iplanet/server4/docs/eClientDoc/javadoc"
				userid="******"
				password="*******"
				depends="yes"
				binary="no">
			<fileset dir="${BUILD_DIR}"/>
		</ftp>

		<delete dir="${BUILD_DIR}"/>
		
	</target>
============================



Mime
View raw message