Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PDE: Adding to ant's classpath
PDE: Adding to ant's classpath [message #228038] Tue, 13 April 2004 19:53 Go to next message
James Willans is currently offline James Willans
Messages: 303
Registered: July 2009
Senior Member
I've generated a build script from PDE export, however this script
contains a reference to "pde.exportFeatures". When I try to run the
script I (predictably) get the error:

Could not create task or type of type: pde.exportFeatures.

Where is the task pde.exportFeatures (for that matter - any of the PDE
related ant tasks) and how do I tell ant where to find these?

Many thanks.

James
Re: Adding to ant's classpath [message #228045 is a reply to message #228038] Tue, 13 April 2004 20:02 Go to previous messageGo to next message
Darin Swanson is currently offline Darin Swanson
Messages: 2386
Registered: July 2009
Senior Member
I am assuming you are using 3.0 (relatively latest?)

You will need to perform this build in the same VM as Eclipse as I believe
the pde.exportFeatures task requires the eclipse runtime to function.

See the JRE tab of the Ant launch configuration for the build

HTH
Darins

"James Willans" <jwillans@cs.york.ac.uk> wrote in message
news:c5hggm$ahi$1@eclipse.org...
> I've generated a build script from PDE export, however this script
> contains a reference to "pde.exportFeatures". When I try to run the
> script I (predictably) get the error:
>
> Could not create task or type of type: pde.exportFeatures.
>
> Where is the task pde.exportFeatures (for that matter - any of the PDE
> related ant tasks) and how do I tell ant where to find these?
>
> Many thanks.
>
> James
>
Re: Adding to ant's classpath [message #228068 is a reply to message #228045] Tue, 13 April 2004 20:33 Go to previous messageGo to next message
James Willans is currently offline James Willans
Messages: 303
Registered: July 2009
Senior Member
Darin,

That worked - thanks.

James

Darin Swanson wrote:

> I am assuming you are using 3.0 (relatively latest?)

> You will need to perform this build in the same VM as Eclipse as I believe
> the pde.exportFeatures task requires the eclipse runtime to function.

> See the JRE tab of the Ant launch configuration for the build

> HTH
> Darins

> "James Willans" <jwillans@cs.york.ac.uk> wrote in message
> news:c5hggm$ahi$1@eclipse.org...
> > I've generated a build script from PDE export, however this script
> > contains a reference to "pde.exportFeatures". When I try to run the
> > script I (predictably) get the error:
> >
> > Could not create task or type of type: pde.exportFeatures.
> >
> > Where is the task pde.exportFeatures (for that matter - any of the PDE
> > related ant tasks) and how do I tell ant where to find these?
> >
> > Many thanks.
> >
> > James
> >
Re: Adding to ant's classpath [message #228121 is a reply to message #228045] Tue, 13 April 2004 22:18 Go to previous messageGo to next message
James Willans is currently offline James Willans
Messages: 303
Registered: July 2009
Senior Member
I have a further question regarding this. The ant script seems to kick
off pde.exportFeatures and then continue, since the next task is dependent
on the output of the exportFeatures task - this doesn't work too well.
What is the standard approach for dealing with this problem?

James

Darin Swanson wrote:

> I am assuming you are using 3.0 (relatively latest?)

> You will need to perform this build in the same VM as Eclipse as I believe
> the pde.exportFeatures task requires the eclipse runtime to function.

> See the JRE tab of the Ant launch configuration for the build

> HTH
> Darins

> "James Willans" <jwillans@cs.york.ac.uk> wrote in message
> news:c5hggm$ahi$1@eclipse.org...
> > I've generated a build script from PDE export, however this script
> > contains a reference to "pde.exportFeatures". When I try to run the
> > script I (predictably) get the error:
> >
> > Could not create task or type of type: pde.exportFeatures.
> >
> > Where is the task pde.exportFeatures (for that matter - any of the PDE
> > related ant tasks) and how do I tell ant where to find these?
> >
> > Many thanks.
> >
> > James
> >
Re: Adding to ant's classpath [message #228162 is a reply to message #228121] Tue, 13 April 2004 22:40 Go to previous message
Darin Swanson is currently offline Darin Swanson
Messages: 2386
Registered: July 2009
Senior Member
I believe they are using an Eclipse Job and then immediately returning while
the Job is running in the background.

You should file a bug report against PDE with your problem as you really
want to wait on this task

Sorry I am not more help,
Darins

"James Willans" <jwillans@cs.york.ac.uk> wrote in message
news:c5hout$kpf$1@eclipse.org...
> I have a further question regarding this. The ant script seems to kick
> off pde.exportFeatures and then continue, since the next task is dependent
> on the output of the exportFeatures task - this doesn't work too well.
> What is the standard approach for dealing with this problem?
>
> James
>
> Darin Swanson wrote:
>
> > I am assuming you are using 3.0 (relatively latest?)
>
> > You will need to perform this build in the same VM as Eclipse as I
believe
> > the pde.exportFeatures task requires the eclipse runtime to function.
>
> > See the JRE tab of the Ant launch configuration for the build
>
> > HTH
> > Darins
>
> > "James Willans" <jwillans@cs.york.ac.uk> wrote in message
> > news:c5hggm$ahi$1@eclipse.org...
> > > I've generated a build script from PDE export, however this script
> > > contains a reference to "pde.exportFeatures". When I try to run the
> > > script I (predictably) get the error:
> > >
> > > Could not create task or type of type: pde.exportFeatures.
> > >
> > > Where is the task pde.exportFeatures (for that matter - any of the PDE
> > > related ant tasks) and how do I tell ant where to find these?
> > >
> > > Many thanks.
> > >
> > > James
> > >
>
>
Previous Topic:OSGi matter
Next Topic:delete metadata?
Goto Forum:
  


Current Time: Sun Oct 26 03:41:05 GMT 2014

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

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