Individual Source Bundle [message #41339] |
Wed, 21 January 2009 14:15  |
Eclipse User |
|
|
|
Hi there,
I am trying to set up an automated build using PDE headeless build able to
build source for my plugins.
All worked fine previously to 3.4. I am trying now to export my source
plugins as individual bundle but I can't find the right way to do that.
More precisely I have an example feature containing 3 examples plugins:
com.st.example.a
com.st.example.b
com.st.example.c
In my example feature build.properties I added the generation of source
plugin for these 3 plugins. In the feature.xml I included the 3 plugins
and the 3 associated "generated" source plugins.
When running pde headless build with IndividualSourceBundles=true, three
source plugins are generated but in directories and not as jar files. Is
it normal ?
Then when I try to import one of my example plugin as source I reach an
error telling : error in opening zip file.
After stepping inside PDE code it seems PDE is looking for sources inside
a jar file and not inside a directory ... i think this is the source of my
problem ...
Any ideas are welcome ... Anyone already using successfully
IndividualSourceBundle ? Should i stay with one source plugin for my 3
plugins ... :o(
Manu
|
|
|
|
Re: Individual Source Bundle [message #41726 is a reply to message #41603] |
Fri, 23 January 2009 02:33  |
Eclipse User |
|
|
|
Many thanks Andrew !!!!
It works perfectly now !!! You helped me twice in my headless build setup,
thanks again.
I'll post on my blog about the fact that individual source plugins MUST be
packaged as jar otherwise Eclipse is not able to import projects as
sources. May be I should open a bug entry for that ....
Manu
|
|
|
Re: Individual Source Bundle [message #590161 is a reply to message #41339] |
Thu, 22 January 2009 13:29  |
Eclipse User |
|
|
|
Hi Manuel,
The shape of bundles (folder or jar) is currently determined by the
feature that includes them (the unpack attribute). If the feature does
not specify the unpack attribute, the default value is "true" (which
results in a folder).
To get your source bundles to be jared, add unpack="false" to their
entries in your feature.xml.
-Andrew
Manuel Selva wrote:
> Hi there,
>
> I am trying to set up an automated build using PDE headeless build able
> to build source for my plugins.
>
> All worked fine previously to 3.4. I am trying now to export my source
> plugins as individual bundle but I can't find the right way to do that.
>
> More precisely I have an example feature containing 3 examples plugins:
>
> com.st.example.a
> com.st.example.b
> com.st.example.c
>
> In my example feature build.properties I added the generation of source
> plugin for these 3 plugins. In the feature.xml I included the 3 plugins
> and the 3 associated "generated" source plugins.
>
> When running pde headless build with IndividualSourceBundles=true, three
> source plugins are generated but in directories and not as jar files. Is
> it normal ?
>
> Then when I try to import one of my example plugin as source I reach an
> error telling : error in opening zip file. After stepping inside PDE
> code it seems PDE is looking for sources inside a jar file and not
> inside a directory ... i think this is the source of my problem ...
>
> Any ideas are welcome ... Anyone already using successfully
> IndividualSourceBundle ? Should i stay with one source plugin for my 3
> plugins ... :o(
>
> Manu
|
|
|
Re: Individual Source Bundle [message #590207 is a reply to message #41603] |
Fri, 23 January 2009 02:33  |
Eclipse User |
|
|
|
Many thanks Andrew !!!!
It works perfectly now !!! You helped me twice in my headless build setup,
thanks again.
I'll post on my blog about the fact that individual source plugins MUST be
packaged as jar otherwise Eclipse is not able to import projects as
sources. May be I should open a bug entry for that ....
Manu
|
|
|
Powered by
FUDForum. Page generated in 0.04100 seconds