Hi am new to ant I want to build a already existing project. When i do that using ant dist am getting the following thing
BUILD FAILED /home/raghavan/build-startupv1.1/build-startup/build.xml:68: The following error occurred while executing this line: /home/raghavan/build-startupv1.1/build-startup/src/MyProject/build.xml:21: The following error occurred while executing this line: /home/raghavan/build-startupv1.1/build-startup/build_common.xml:195: The following error occurred while executing this line: /home/raghavan/build-startupv1.1/build-startup/build_common.xml:215: Problem: failed to create task or type javah Cause: the class org.apache.tools.ant.taskdefs.optional.Javah was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/root/.ant/lib -a directory added on the command line with the -lib argument Do not panic, this is a common problem. The commonest cause is a missing JAR. This is not a bug; it is a configuration problem I ran ant-diagnostics am getting this under tasks availability Tasks availability ------------------------------------------- propertyfile : Not Available (the implementation class is not present) ccmkdir : Not Available (the implementation class is not present) importtypelib : Not Available (the implementation class is not present) vsscheckin : Not Available (the implementation class is not present) p4reopen : Not Available (the implementation class is not present) image : Not Available (the implementation class is not present) csc : Not Available (the implementation class is not present) sshexec : Not Available (the implementation class is not present) wlrun : Not Available (the implementation class is not present) p4label : Not Available (the implementation class is not present) p4revert : Not Available (the implementation class is not present) replaceregexp : Not Available (the implementation class is not present) jjtree : Not Available (the implementation class is not present) jarlib-display : Not Available (the implementation class is not present) jspc : Not Available (the implementation class is not present) vsshistory : Not Available (the implementation class is not present) p4submit : Not Available (the implementation class is not present) scp : Not Available (the implementation class is not present) ccmcheckin : Not Available (the implementation class is not present) p4change : Not Available (the implementation class is not present) p4delete : Not Available (the implementation class is not present) vssadd : Not Available (the implementation class is not present) p4integrate : Not Available (the implementation class is not present) translate : Not Available (the implementation class is not present) cclock : Not Available (the implementation class is not present) chown : Not Available (the implementation class is not present) jarlib-available : Not Available (the implementation class is not present) rexec : Not Available (the implementation class is not present) WsdlToDotnet : Not Available (the implementation class is not present) ejbjar : Not Available (the implementation class is not present) stlist : Not Available (the implementation class is not present) serverdeploy : Not Available (the implementation class is not present) ildasm : Not Available (the implementation class is not present) schemavalidate : Not Available (the implementation class is not present) cccheckin : Not Available (the implementation class is not present) ccunlock : Not Available (the implementation class is not present) wljspc : Not Available (the implementation class is not present) telnet : Not Available (the implementation class is not present) sosget : Not Available (the implementation class is not present) p4sync : Not Available (the implementation class is not present) ccmklabel : Not Available (the implementation class is not present) p4edit : Not Available (the implementation class is not present) antlr : Not Available (the implementation class is not present) netrexxc : Not Available (the implementation class is not present) ftp : Not Available (the implementation class is not present) ccmcheckout : Not Available (the implementation class is not present) xmlvalidate : Not Available (the implementation class is not present) p4resolve : Not Available (the implementation class is not present) iplanet-ejbc : Not Available (the implementation class is not present) ccmcheckintask : Not Available (the implementation class is not present) native2ascii : Not Available (the implementation class is not present) ccrmtype : Not Available (the implementation class is not present) starteam : Not Available (the implementation class is not present) vsscheckout : Not Available (the implementation class is not present) mimemail : Not Available (the implementation class is not present) stylebook : Not Available (the implementation class is not present) soscheckin : Not Available (the implementation class is not present) stlabel : Not Available (the implementation class is not present) cab : Not Available (the implementation class is not present) splash : Not Available (the implementation class is not present) ccmkbl : Not Available (the implementation class is not present) cccheckout : Not Available (the implementation class is not present) p4have : Not Available (the implementation class is not present) jdepend : Not Available (the implementation class is not present) jsharpc : Not Available (the implementation class is not present) symlink : Not Available (the implementation class is not present) script : Not Available (the implementation class is not present) ccmcreatetask : Not Available (the implementation class is not present) rpm : Not Available (the implementation class is not present) attrib : Not Available (the implementation class is not present) echoproperties : Not Available (the implementation class is not present) stcheckin : Not Available (the implementation class is not present) junit : Not Available (the implementation class is not present) chgrp : Not Available (the implementation class is not present) stcheckout : Not Available (the implementation class is not present) p4labelsync : Not Available (the implementation class is not present) vsscreate : Not Available (the implementation class is not present) ejbc : Not Available (the implementation class is not present) vbc : Not Available (the implementation class is not present) wsdltodotnet : Not Available (the implementation class is not present) junitreport : Not Available (the implementation class is not present) ccmkattr : Not Available (the implementation class is not present) ccupdate : Not Available (the implementation class is not present) renameext : Not Available (the implementation class is not present) vsslabel : Not Available (the implementation class is not present) vsscp : Not Available (the implementation class is not present) p4fstat : Not Available (the implementation class is not present) setproxy : Not Available (the implementation class is not present) wlstop : Not Available (the implementation class is not present) p4counter : Not Available (the implementation class is not present) ilasm : Not Available (the implementation class is not present) soscheckout : Not Available (the implementation class is not present) ccuncheckout : Not Available (the implementation class is not present) jarlib-resolve : Not Available (the implementation class is not present) jlink : Not Available (the implementation class is not present) javacc : Not Available (the implementation class is not present) pvcs : Not Available (the implementation class is not present) jarlib-manifest : Not Available (the implementation class is not present) ccmklbtype : Not Available (the implementation class is not present) sound : Not Available (the implementation class is not present) scriptdef : Not Available (the implementation class is not present) blgenclient : Not Available (the implementation class is not present) jjdoc : Not Available (the implementation class is not present) ccmkelem : Not Available (the implementation class is not present) javah : Not Available (the implementation class is not present) ccmreconfigure : Not Available (the implementation class is not present) p4add : Not Available (the implementation class is not present) soslabel : Not Available (the implementation class is not present) depend : Not Available (the implementation class is not present) vssget : Not Available (the implementation class is not present) ddcreator : Not Available (the implementation class is not present) A task being missing/unavailable should only matter if you are trying to use it What should i do now -- View this message in context: http://www.nabble.com/Problem-using-ant-dist-tp15674284p15674284.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]