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 |
Neale Upstone 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 |
Neale Upstone 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 |
Francis Upton IV 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
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
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 |
Neale Upstone 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 |
Neale Upstone 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 |
Francis Upton IV 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
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
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 |
Neale Upstone 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
|
|
|
Goto Forum:
Current Time: Thu Nov 14 10:48:09 GMT 2024
Powered by FUDForum. Page generated in 0.04101 seconds
|