Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How do I build a plugin outside of Eclipse IDE using Ant ?
How do I build a plugin outside of Eclipse IDE using Ant ? [message #160883] Mon, 24 November 2003 07:12 Go to next message
Eclipse UserFriend
Originally posted by: jmedina.on.com

I need to automate the build process of my plugin so that it runs
automatically in the nightly builds of our product.
We are using Ant.

What is the best way to do this?

Does the PDE helps in creating a build.xml similar to those found in other
plugins ?

How do I know what other plugins and what jar files of each plugin I should
use in the classpath ?

Thanks a lot.

-Jorge
Re: How do I build a plugin outside of Eclipse IDE using Ant ? [message #160922 is a reply to message #160883] Mon, 24 November 2003 09:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mharp.seapine.com

don't understand what you're asking...

Building a jar with Ant is super-easy. you just put in tasks to compile and
then jar the class files.

Are you trying to create the build.xml file dynamically through PDE? I've
never done this and don't even know if it's possible...


as for what jars to include, you need to look up every Eclipse class you'r
using and then include it's jar file which is pretty easy to figure out from
the namespace of a specific Eclipse class.


-harpstein


"Jorge" <jmedina@on.com> wrote in message news:bpssfb$6nr$1@eclipse.org...
> I need to automate the build process of my plugin so that it runs
> automatically in the nightly builds of our product.
> We are using Ant.
>
> What is the best way to do this?
>
> Does the PDE helps in creating a build.xml similar to those found in other
> plugins ?
>
> How do I know what other plugins and what jar files of each plugin I
should
> use in the classpath ?
>
> Thanks a lot.
>
> -Jorge
>
>
Re: How do I build a plugin outside of Eclipse IDE using Ant ? [message #160982 is a reply to message #160922] Mon, 24 November 2003 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmedina.on.com

Hi Harpstein,

I was expecting at least some help from the PDE to create the classpath
entry to be used in my Ant script based on the
<requires> declared by my plugin and the <runtime> entries of the required
plug ins.

Seems it is not available :-(

-Jorge

"Harpstein" <mharp@seapine.com> wrote in message
news:bpt3i6$g1i$1@eclipse.org...
> don't understand what you're asking...
>
> Building a jar with Ant is super-easy. you just put in tasks to compile
and
> then jar the class files.
>
> Are you trying to create the build.xml file dynamically through PDE? I've
> never done this and don't even know if it's possible...
>
>
> as for what jars to include, you need to look up every Eclipse class you'r
> using and then include it's jar file which is pretty easy to figure out
from
> the namespace of a specific Eclipse class.
>
>
> -harpstein
>
>
> "Jorge" <jmedina@on.com> wrote in message news:bpssfb$6nr$1@eclipse.org...
> > I need to automate the build process of my plugin so that it runs
> > automatically in the nightly builds of our product.
> > We are using Ant.
> >
> > What is the best way to do this?
> >
> > Does the PDE helps in creating a build.xml similar to those found in
other
> > plugins ?
> >
> > How do I know what other plugins and what jar files of each plugin I
> should
> > use in the classpath ?
> >
> > Thanks a lot.
> >
> > -Jorge
> >
> >
>
>
Re: How do I build a plugin outside of Eclipse IDE using Ant ? [message #160988 is a reply to message #160982] Mon, 24 November 2003 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mharp.seapine.com

Oh, I see.

well, don't take my advice then because I've never used the PDE stuff so I
have no clue what functionality it offers.

-harpstein

"Jorge" <jmedina@on.com> wrote in message news:bpt6nu$kea$1@eclipse.org...
> Hi Harpstein,
>
> I was expecting at least some help from the PDE to create the classpath
> entry to be used in my Ant script based on the
> <requires> declared by my plugin and the <runtime> entries of the required
> plug ins.
>
> Seems it is not available :-(
>
> -Jorge
>
> "Harpstein" <mharp@seapine.com> wrote in message
> news:bpt3i6$g1i$1@eclipse.org...
> > don't understand what you're asking...
> >
> > Building a jar with Ant is super-easy. you just put in tasks to compile
> and
> > then jar the class files.
> >
> > Are you trying to create the build.xml file dynamically through PDE?
I've
> > never done this and don't even know if it's possible...
> >
> >
> > as for what jars to include, you need to look up every Eclipse class
you'r
> > using and then include it's jar file which is pretty easy to figure out
> from
> > the namespace of a specific Eclipse class.
> >
> >
> > -harpstein
> >
> >
> > "Jorge" <jmedina@on.com> wrote in message
news:bpssfb$6nr$1@eclipse.org...
> > > I need to automate the build process of my plugin so that it runs
> > > automatically in the nightly builds of our product.
> > > We are using Ant.
> > >
> > > What is the best way to do this?
> > >
> > > Does the PDE helps in creating a build.xml similar to those found in
> other
> > > plugins ?
> > >
> > > How do I know what other plugins and what jar files of each plugin I
> > should
> > > use in the classpath ?
> > >
> > > Thanks a lot.
> > >
> > > -Jorge
> > >
> > >
> >
> >
>
>
Re: How do I build a plugin outside of Eclipse IDE using Ant ? [message #161065 is a reply to message #160883] Mon, 24 November 2003 11:30 Go to previous message
Eclipse UserFriend
Which version of Eclipse are you using?

Somewhere off of the context menu realized from the plugin.xml there will be
an action "Create Ant Build File" which will generate the build.xml for the
plugin based on the plugin.xml and the build.properties.

In the latest builds it is Context Menu>PDE Tools>Create Ant Build File

HTH
Darins

"Jorge" <jmedina@on.com> wrote in message news:bpssfb$6nr$1@eclipse.org...
> I need to automate the build process of my plugin so that it runs
> automatically in the nightly builds of our product.
> We are using Ant.
>
> What is the best way to do this?
>
> Does the PDE helps in creating a build.xml similar to those found in other
> plugins ?
>
> How do I know what other plugins and what jar files of each plugin I
should
> use in the classpath ?
>
> Thanks a lot.
>
> -Jorge
>
>
Previous Topic:Eclipse crashes at startup on sid...
Next Topic:ICompilationUnit and listener
Goto Forum:
  


Current Time: Sat May 10 03:29:59 EDT 2025

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

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

Back to the top