How to use API tools in headless mode? [message #591984] |
Fri, 13 February 2009 19:36 |
Zhongyu Zhang Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hello,
I am trying to get API analysis working on command line (batch mode), but
couldn't find any helpful document. I found this article
http://wiki.eclipse.org/index.php/PDE_UI_Incubator_ApiTools_ Compare but am
not sure it is valid. I could not find a way to get the API Tools dialogs
and don't know where is the "ApiTools" utility.
In the article
http://www.ibm.com/developerworks/opensource/library/os-ecli pse-api-tools/
the author mentioned that there is a way to run in headless mode but
didn't provide a link. He also mentioned Ant tasks in
org.eclipse.pde.api.tools plug-in. I found there are some apitooling.* Ant
tasks available in Preferences->Ant Runtime. But I couldn't make it work.
When I run apitooling.apitoolsverification task in ant, if I don't use
"taskdef" (it's supposed to work without taskdef) it complains "failed to
create task or type apitooling.apitoolsverification
Cause: The name is undefined.". If I add "taskdef", then it complains
"taskdef A class needed by class
org.eclipse.pde.api.tools.internal.tasks.APIToolsVerificatio nTask cannot
be found". Adding apitooling-ant.jar to the ant classpath doesn't help.
Probably I missed something here. Anyone has experience on API tools or
know how to use ant tasks provided by Eclipse? Some documents will help
too.
Thanks,
Zhongyu
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds