Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to use API tools in headless mode?
How to use API tools in headless mode? [message #591984] Fri, 13 February 2009 19:36
Zhongyu Zhang is currently offline Zhongyu ZhangFriend
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
Previous Topic:Discrepancy between Plug-in Dependencies view and Package Explorer
Next Topic:Plugin Tests with JUnit 4.5 and Eclipse 3.4.1
Goto Forum:
  


Current Time: Thu Apr 25 03:45:10 GMT 2024

Powered by FUDForum. Page generated in 0.02928 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top