Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Queries on Headless PDE Build
Queries on Headless PDE Build [message #18789] Mon, 01 September 2008 12:42 Go to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 177
Registered: July 2009
Location: Canada
Senior Member
Hi All,
I have some queries related to the Headless build mechanism(PDE Build) in
Eclipse. Please find the queried below. I would be happy to know some
comments/views on the same.

1. After running a headless build, some plug-ins gets jared and others
don't. On what criterion is the artifact generation(jar/folder) decided?
Have I missed something in the manifest that is responsible for the above
behavior?
2. Is there a difference in the way headless and non-headless builds
works? I build a plug-in in headless and non-headless mode, this was my
observation - In non-headless, a folder is generated and in headless a jar
file is generated. To be more specific, the plug-in I am trying to build
contains a number of XSL files along with Java code.


Thanks in advance.
Regards,
Neeraj Bhusare


Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
Re: Queries on Headless PDE Build [message #19035 is a reply to message #18789] Wed, 03 September 2008 14:11 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The shape of the resulting artifact (jar/folder) is determined by the
feature containing the plug-in.
In the feature.xml editor, on the Plug-ins tab under Plug-in Details,
look at "Unpack the plug-in archive after installation". This
corresponds to an 'unpack="true"' attribute in the xml. Unpack=true
results in a folder, unpack=false results in a jar. The default value
is true.

During export, the value is determined by the "Package plug-ins as
individual JAR archives" checkbox on the Options tab of the export wizard.

-Andrew

Neeraj Bhusare wrote:
> Hi All,
> I have some queries related to the Headless build mechanism(PDE Build)
> in Eclipse. Please find the queried below. I would be happy to know some
> comments/views on the same.
>
> 1. After running a headless build, some plug-ins gets jared and others
> don't. On what criterion is the artifact generation(jar/folder) decided?
> Have I missed something in the manifest that is responsible for the
> above behavior?
> 2. Is there a difference in the way headless and non-headless builds
> works? I build a plug-in in headless and non-headless mode, this was my
> observation - In non-headless, a folder is generated and in headless a
> jar file is generated. To be more specific, the plug-in I am trying to
> build contains a number of XSL files along with Java code.
>
>
> Thanks in advance.
> Regards,
> Neeraj Bhusare
>
Re: Queries on Headless PDE Build [message #44950 is a reply to message #19035] Wed, 04 February 2009 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2008-9-3 22:11, Andrew Niefer 写道:
> The shape of the resulting artifact (jar/folder) is determined by the
> feature containing the plug-in.
> In the feature.xml editor, on the Plug-ins tab under Plug-in Details,
> look at "Unpack the plug-in archive after installation". This
> corresponds to an 'unpack="true"' attribute in the xml. Unpack=true
> results in a folder, unpack=false results in a jar. The default value is
> true.
>
> During export, the value is determined by the "Package plug-ins as
> individual JAR archives" checkbox on the Options tab of the export wizard.
>
> -Andrew
>
> Neeraj Bhusare wrote:
>> Hi All,
>> I have some queries related to the Headless build mechanism(PDE Build)
>> in Eclipse. Please find the queried below. I would be happy to know
>> some comments/views on the same.
>> 1. After running a headless build, some plug-ins gets jared and others
>> don't. On what criterion is the artifact generation(jar/folder)
>> decided? Have I missed something in the manifest that is responsible
>> for the above behavior?
>> 2. Is there a difference in the way headless and non-headless builds
>> works? I build a plug-in in headless and non-headless mode, this was
>> my observation - In non-headless, a folder is generated and in
>> headless a jar file is generated. To be more specific, the plug-in I
>> am trying to build contains a number of XSL files along with Java
>> code. Thanks in advance. Regards,
>> Neeraj Bhusare
>>
Hi Andrew:
I tried unpack=true,but it doesn't work when I use ant build

script.When I enter into the plugins directory,my depended plugins

packed in jar,but I want it is a directory.How can I do this?

sunway
Re: Queries on Headless PDE Build [message #46256 is a reply to message #44950] Tue, 10 February 2009 15:32 Go to previous message
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi sunway,

> Hi Andrew:
> I tried unpack=true,but it doesn't work when I use ant build
> script.When I enter into the plugins directory,my depended plugins
> packed in jar,but I want it is a directory.How can I do this?
> sunway

did you find a solution for this problem? I do have the same problem to
solve,

Thomas E.-E.
Re: Queries on Headless PDE Build [message #578417 is a reply to message #18789] Wed, 03 September 2008 14:11 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The shape of the resulting artifact (jar/folder) is determined by the
feature containing the plug-in.
In the feature.xml editor, on the Plug-ins tab under Plug-in Details,
look at "Unpack the plug-in archive after installation". This
corresponds to an 'unpack="true"' attribute in the xml. Unpack=true
results in a folder, unpack=false results in a jar. The default value
is true.

During export, the value is determined by the "Package plug-ins as
individual JAR archives" checkbox on the Options tab of the export wizard.

-Andrew

Neeraj Bhusare wrote:
> Hi All,
> I have some queries related to the Headless build mechanism(PDE Build)
> in Eclipse. Please find the queried below. I would be happy to know some
> comments/views on the same.
>
> 1. After running a headless build, some plug-ins gets jared and others
> don't. On what criterion is the artifact generation(jar/folder) decided?
> Have I missed something in the manifest that is responsible for the
> above behavior?
> 2. Is there a difference in the way headless and non-headless builds
> works? I build a plug-in in headless and non-headless mode, this was my
> observation - In non-headless, a folder is generated and in headless a
> jar file is generated. To be more specific, the plug-in I am trying to
> build contains a number of XSL files along with Java code.
>
>
> Thanks in advance.
> Regards,
> Neeraj Bhusare
>
Re: Queries on Headless PDE Build [message #591369 is a reply to message #19035] Wed, 04 February 2009 15:29 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2008-9-3 22:11, Andrew Niefer 写道:
> The shape of the resulting artifact (jar/folder) is determined by the
> feature containing the plug-in.
> In the feature.xml editor, on the Plug-ins tab under Plug-in Details,
> look at "Unpack the plug-in archive after installation". This
> corresponds to an 'unpack="true"' attribute in the xml. Unpack=true
> results in a folder, unpack=false results in a jar. The default value is
> true.
>
> During export, the value is determined by the "Package plug-ins as
> individual JAR archives" checkbox on the Options tab of the export wizard.
>
> -Andrew
>
> Neeraj Bhusare wrote:
>> Hi All,
>> I have some queries related to the Headless build mechanism(PDE Build)
>> in Eclipse. Please find the queried below. I would be happy to know
>> some comments/views on the same.
>> 1. After running a headless build, some plug-ins gets jared and others
>> don't. On what criterion is the artifact generation(jar/folder)
>> decided? Have I missed something in the manifest that is responsible
>> for the above behavior?
>> 2. Is there a difference in the way headless and non-headless builds
>> works? I build a plug-in in headless and non-headless mode, this was
>> my observation - In non-headless, a folder is generated and in
>> headless a jar file is generated. To be more specific, the plug-in I
>> am trying to build contains a number of XSL files along with Java
>> code. Thanks in advance. Regards,
>> Neeraj Bhusare
>>
Hi Andrew:
I tried unpack=true,but it doesn't work when I use ant build

script.When I enter into the plugins directory,my depended plugins

packed in jar,but I want it is a directory.How can I do this?

sunway
Re: Queries on Headless PDE Build [message #591750 is a reply to message #44950] Tue, 10 February 2009 15:32 Go to previous message
Thomas  ichstädt-Engelen is currently offline Thomas ichstädt-EngelenFriend
Messages: 50
Registered: July 2009
Member

Hi sunway,

> Hi Andrew:
> I tried unpack=true,but it doesn't work when I use ant build
> script.When I enter into the plugins directory,my depended plugins
> packed in jar,but I want it is a directory.How can I do this?
> sunway

did you find a solution for this problem? I do have the same problem to
solve,

Thomas E.-E.
Previous Topic:query on implementing the delete command
Next Topic:headless build - avoid jaring of a plugin being available as directory
Goto Forum:
  


Current Time: Thu Apr 25 12:51:48 GMT 2024

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

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

Back to the top