Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Create Ant Build File should be available for OSGi projects too...
Create Ant Build File should be available for OSGi projects too... [message #987] Mon, 14 April 2008 14:49 Go to next message
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Hi,

There's a big hole in the exporting of Ant scripts, and I wonder if it's
an oversight.

The Export->Ant buildfile action handles java projects reasonably (and
I've submitted some patches for the outstanding bugs, such as lack of
JUnit4 support).

However, it falls over when it encounters Plug-in Deps on the classpath
and doesn't export a usable Ant script.

But... PDE has an action "Create Ant Build File" that is visible when
plugin.xml is selected..

There's a problem though: it doesn't appear for an OSGi bundle, which is
where we've got a hole in teh support.

I'm working on OSGi projects, not Eclipse plugin projects, but this
option isn't available for me.

Is not not perhaps time that we took these two seperate Ant Export
implementations, and sorted out a framework...?

But.. in the short term, how about enabling the plug-in export for OSGi
projects?

I could put some time in, if someone could point me at how to enable the
menu item for OSGi projects... I can then walk through the code and see
what configs break teh existing code.

Cheers,

Neale
Re: Create Ant Build File should be available for OSGi projects too... [message #1017 is a reply to message #987] Mon, 14 April 2008 21:03 Go to previous messageGo to next message
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Err.. not sure what I wasn't doing. It is available by right-clicking on
Manifest.mf and selecting from the PDE sub-menu.

Neale wrote:
> Hi,
>
> There's a big hole in the exporting of Ant scripts, and I wonder if it's
> an oversight.
>
> The Export->Ant buildfile action handles java projects reasonably (and
> I've submitted some patches for the outstanding bugs, such as lack of
> JUnit4 support).
>
> However, it falls over when it encounters Plug-in Deps on the classpath
> and doesn't export a usable Ant script.
>
> But... PDE has an action "Create Ant Build File" that is visible when
> plugin.xml is selected..
>
> There's a problem though: it doesn't appear for an OSGi bundle, which is
> where we've got a hole in teh support.
>
> I'm working on OSGi projects, not Eclipse plugin projects, but this
> option isn't available for me.
>
> Is not not perhaps time that we took these two seperate Ant Export
> implementations, and sorted out a framework...?
>
> But.. in the short term, how about enabling the plug-in export for OSGi
> projects?
>
> I could put some time in, if someone could point me at how to enable the
> menu item for OSGi projects... I can then walk through the code and see
> what configs break teh existing code.
>
> Cheers,
>
> Neale
Re: Create Ant Build File should be available for OSGi projects too... [message #1179 is a reply to message #1017] Thu, 17 April 2008 14:52 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I nearly fell in the same hole last night. The documentation is a bit
out of date on that, it says to select the plugin.xml, fragment.xml or
feature.xml file, no mention of the manifest.mf file.

I will file a doc bug on this.

Neale wrote:
> Err.. not sure what I wasn't doing. It is available by right-clicking on
> Manifest.mf and selecting from the PDE sub-menu.
>
> Neale wrote:
>> Hi,
>>
>> There's a big hole in the exporting of Ant scripts, and I wonder if it's
>> an oversight.
>>
>> The Export->Ant buildfile action handles java projects reasonably (and
>> I've submitted some patches for the outstanding bugs, such as lack of
>> JUnit4 support).
>>
>> However, it falls over when it encounters Plug-in Deps on the classpath
>> and doesn't export a usable Ant script.
>>
>> But... PDE has an action "Create Ant Build File" that is visible when
>> plugin.xml is selected..
>>
>> There's a problem though: it doesn't appear for an OSGi bundle, which is
>> where we've got a hole in teh support.
>>
>> I'm working on OSGi projects, not Eclipse plugin projects, but this
>> option isn't available for me.
>>
>> Is not not perhaps time that we took these two seperate Ant Export
>> implementations, and sorted out a framework...?
>>
>> But.. in the short term, how about enabling the plug-in export for OSGi
>> projects?
>>
>> I could put some time in, if someone could point me at how to enable the
>> menu item for OSGi projects... I can then walk through the code and see
>> what configs break teh existing code.
>>
>> Cheers,
>>
>> Neale


Re: Create Ant Build File should be available for OSGi projects too... [message #1258 is a reply to message #1179] Fri, 18 April 2008 13:20 Go to previous message
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Ah! That explains why I thought I'd just been working too late at
night... I did read the docs, which I guess is why I thought it wasn't
there.

Francis Upton wrote:
> I nearly fell in the same hole last night. The documentation is a bit
> out of date on that, it says to select the plugin.xml, fragment.xml or
> feature.xml file, no mention of the manifest.mf file.
>
> I will file a doc bug on this.
>
> Neale wrote:
>> Err.. not sure what I wasn't doing. It is available by right-clicking
>> on Manifest.mf and selecting from the PDE sub-menu.
>> Neale wrote:
>>> Hi,
>>>
>>> There's a big hole in the exporting of Ant scripts, and I wonder if it's
>>> an oversight.
>>>
>>> The Export->Ant buildfile action handles java projects reasonably (and
>>> I've submitted some patches for the outstanding bugs, such as lack of
>>> JUnit4 support).
>>>
>>> However, it falls over when it encounters Plug-in Deps on the classpath
>>> and doesn't export a usable Ant script.
>>>
>>> But... PDE has an action "Create Ant Build File" that is visible when
>>> plugin.xml is selected..
>>>
>>> There's a problem though: it doesn't appear for an OSGi bundle, which is
>>> where we've got a hole in teh support.
>>>
>>> I'm working on OSGi projects, not Eclipse plugin projects, but this
>>> option isn't available for me.
>>>
>>> Is not not perhaps time that we took these two seperate Ant Export
>>> implementations, and sorted out a framework...?
>>>
>>> But.. in the short term, how about enabling the plug-in export for OSGi
>>> projects?
>>>
>>> I could put some time in, if someone could point me at how to enable the
>>> menu item for OSGi projects... I can then walk through the code and see
>>> what configs break teh existing code.
>>>
>>> Cheers,
>>>
>>> Neale
Re: Create Ant Build File should be available for OSGi projects too... [message #565579 is a reply to message #987] Mon, 14 April 2008 21:03 Go to previous message
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Err.. not sure what I wasn't doing. It is available by right-clicking on
Manifest.mf and selecting from the PDE sub-menu.

Neale wrote:
> Hi,
>
> There's a big hole in the exporting of Ant scripts, and I wonder if it's
> an oversight.
>
> The Export->Ant buildfile action handles java projects reasonably (and
> I've submitted some patches for the outstanding bugs, such as lack of
> JUnit4 support).
>
> However, it falls over when it encounters Plug-in Deps on the classpath
> and doesn't export a usable Ant script.
>
> But... PDE has an action "Create Ant Build File" that is visible when
> plugin.xml is selected..
>
> There's a problem though: it doesn't appear for an OSGi bundle, which is
> where we've got a hole in teh support.
>
> I'm working on OSGi projects, not Eclipse plugin projects, but this
> option isn't available for me.
>
> Is not not perhaps time that we took these two seperate Ant Export
> implementations, and sorted out a framework...?
>
> But.. in the short term, how about enabling the plug-in export for OSGi
> projects?
>
> I could put some time in, if someone could point me at how to enable the
> menu item for OSGi projects... I can then walk through the code and see
> what configs break teh existing code.
>
> Cheers,
>
> Neale
Re: Create Ant Build File should be available for OSGi projects too... [message #565701 is a reply to message #1017] Thu, 17 April 2008 14:52 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I nearly fell in the same hole last night. The documentation is a bit
out of date on that, it says to select the plugin.xml, fragment.xml or
feature.xml file, no mention of the manifest.mf file.

I will file a doc bug on this.

Neale wrote:
> Err.. not sure what I wasn't doing. It is available by right-clicking on
> Manifest.mf and selecting from the PDE sub-menu.
>
> Neale wrote:
>> Hi,
>>
>> There's a big hole in the exporting of Ant scripts, and I wonder if it's
>> an oversight.
>>
>> The Export->Ant buildfile action handles java projects reasonably (and
>> I've submitted some patches for the outstanding bugs, such as lack of
>> JUnit4 support).
>>
>> However, it falls over when it encounters Plug-in Deps on the classpath
>> and doesn't export a usable Ant script.
>>
>> But... PDE has an action "Create Ant Build File" that is visible when
>> plugin.xml is selected..
>>
>> There's a problem though: it doesn't appear for an OSGi bundle, which is
>> where we've got a hole in teh support.
>>
>> I'm working on OSGi projects, not Eclipse plugin projects, but this
>> option isn't available for me.
>>
>> Is not not perhaps time that we took these two seperate Ant Export
>> implementations, and sorted out a framework...?
>>
>> But.. in the short term, how about enabling the plug-in export for OSGi
>> projects?
>>
>> I could put some time in, if someone could point me at how to enable the
>> menu item for OSGi projects... I can then walk through the code and see
>> what configs break teh existing code.
>>
>> Cheers,
>>
>> Neale


Re: Create Ant Build File should be available for OSGi projects too... [message #565809 is a reply to message #1179] Fri, 18 April 2008 13:20 Go to previous message
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Ah! That explains why I thought I'd just been working too late at
night... I did read the docs, which I guess is why I thought it wasn't
there.

Francis Upton wrote:
> I nearly fell in the same hole last night. The documentation is a bit
> out of date on that, it says to select the plugin.xml, fragment.xml or
> feature.xml file, no mention of the manifest.mf file.
>
> I will file a doc bug on this.
>
> Neale wrote:
>> Err.. not sure what I wasn't doing. It is available by right-clicking
>> on Manifest.mf and selecting from the PDE sub-menu.
>> Neale wrote:
>>> Hi,
>>>
>>> There's a big hole in the exporting of Ant scripts, and I wonder if it's
>>> an oversight.
>>>
>>> The Export->Ant buildfile action handles java projects reasonably (and
>>> I've submitted some patches for the outstanding bugs, such as lack of
>>> JUnit4 support).
>>>
>>> However, it falls over when it encounters Plug-in Deps on the classpath
>>> and doesn't export a usable Ant script.
>>>
>>> But... PDE has an action "Create Ant Build File" that is visible when
>>> plugin.xml is selected..
>>>
>>> There's a problem though: it doesn't appear for an OSGi bundle, which is
>>> where we've got a hole in teh support.
>>>
>>> I'm working on OSGi projects, not Eclipse plugin projects, but this
>>> option isn't available for me.
>>>
>>> Is not not perhaps time that we took these two seperate Ant Export
>>> implementations, and sorted out a framework...?
>>>
>>> But.. in the short term, how about enabling the plug-in export for OSGi
>>> projects?
>>>
>>> I could put some time in, if someone could point me at how to enable the
>>> menu item for OSGi projects... I can then walk through the code and see
>>> what configs break teh existing code.
>>>
>>> Cheers,
>>>
>>> Neale
Previous Topic:any way to have the batch build generate the p2 descriptor files?
Next Topic:Using the "pde.build" target of generated ant scripts
Goto Forum:
  


Current Time: Sun Sep 08 03:23:55 GMT 2024

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

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

Back to the top