Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to organize manifest and create ant build file for a plugin from ANT itself?
How to organize manifest and create ant build file for a plugin from ANT itself? [message #307952] Wed, 06 September 2006 18:12 Go to next message
Eclipse UserFriend
I see there are tasks like eclipse.idReplacer that can call into eclipse
code to perform build operations from an ant script. I am writing an
ANT script that builds a plugin from an jar file that is provided
elsewhere. So, from the ant build script I'd like to call the
equivalent to 'PDE tools > organize manifest' from the script. And, I'd
like also to call 'PDE tools > create ANT build script' for that plugin
from a wrapper script. Any suggestions on how to do this appreciated.
Thanks in advance.

Jeff
Re: How to organize manifest and create ant build file for a plugin from ANT itself? [message #307993 is a reply to message #307952] Thu, 07 September 2006 13:01 Go to previous message
Eclipse UserFriend
Jeff,
For the "create ANT build script" you can use eclipse.buildScript. Look
at org.eclipse.pde.build/scripts/build.xml and genericTargets.xml to see
how it is invoked by the headless build. There are some docs on it here:
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. pde.doc.user/guide/tasks/pde_feature_generating_antcommandli ne.htm

Organize manifest is provided by the UI, I don't believe it has an ant
task. OrganizeManifestsOperation from the org.eclipse.pde.ui plugin is
the class that does the work there if you want to look into doing your
own task for it.

-Andrew

Jeff wrote:
> I see there are tasks like eclipse.idReplacer that can call into eclipse
> code to perform build operations from an ant script. I am writing an
> ANT script that builds a plugin from an jar file that is provided
> elsewhere. So, from the ant build script I'd like to call the
> equivalent to 'PDE tools > organize manifest' from the script. And, I'd
> like also to call 'PDE tools > create ANT build script' for that plugin
> from a wrapper script. Any suggestions on how to do this appreciated.
> Thanks in advance.
>
> Jeff
Previous Topic:how to programmatically import some .jar files?
Next Topic:Launch Questions
Goto Forum:
  


Current Time: Mon Oct 27 12:06:04 EDT 2025

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

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

Back to the top