If the build is failing later, you should
be able to see your bundles in the intermediate build repository that is
probably under
/hudson/jobs/org.mozilla.xulrunner.HEAD/workspace/build/buildRepo
miracle.... it's there indeed!
I was incorrectly interpreting build log. You're right that intermediate results are used in further steps, which failed due to missing files, so I didn't know that buildRepo was actually generated...
thank you so much Andrew.
Jacek
-Andrew
Actually there's no Bundle-NativeCode.
Average manifest looks like this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.mozilla.xulrunner.win32.win32.x86;singleton:=true
Bundle-Version: 1.9.1.0_qualifier
Bundle-ClassPath: xulrunner/
Bundle-Vendor: %Bundle-Vendor
Bundle-localization: plugin
Eclipse-PlatformFilter: (& (osgi.ws=win32)
(osgi.os=win32) (osgi.arch=x86))
In build.properties we clearly define what should be included
(this is whole build.properties file):
bin.includes = META-INF/,\
xulrunner/,\
plugin.properties
If you'd like to have a look, I posted all sources to
http://www.cs.put.poznan.pl/jpospychala/xulrunner-sources.zip
- I have only removed files from xulrunner/* directories in plug-ins, to
reduce zip size from 60M to 0,5M.
To recapture, whole build runs correctly, plugins and
features are built.
So next I add old generate.p2.metadata=true - this makes
that additionally content.jar and artifacts.jar are generated (yea!).
But then I replace that old stinky property with new p2.gathering=true
instead and suddenly nothing is getting built. The major difference can
be spotted in the build log, as outlined earlier....
do you have any clue?
2009/8/5 Andrew Niefer <aniefer@xxxxxxxxxx>
One thing to check, is if you are using Bundle-NativeCode with a selection-filter,
pde.build doesn't handle this very well.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=284784.
If this is the case, try adding Eclipse-PlatformFilter in addition to the
Bundle-NativeCode.
-Andrew
Andrew,
It's something that I'm trying to package. That's 3 simple plug-ins for
3 different platforms that just contain xulrunner/ with platform specific
libs.
they don't look anything special to me, but I'll try to provide them in
source form.
2009/8/5 Andrew Niefer <aniefer@xxxxxxxxxx>
Jacek,
Where do you get xulrunner? Is it somewhere I can download and try
this for myself?
-Andrew
hi,
I have a build that uses generate.p2.metadata=true to generate p2
repository, but wanted to replace it with
p2.gathering=true to take the advantage of p2.category.definition=<url.to.category.xml>
Unfortunately, simply changing generate.p2.metadata to p2.gathering doesn't
help, but rather breaks the build.
With the former I get this in build log:
init:
gather.bin.parts:
[mkdir] Created dir: /hudson/jobs/org.mozilla.xulrunner.HEAD/workspace/build/tmp/eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.9.1.0_v20090804
[copy] Copying 305 files to /hudson/jobs/org.mozilla.xulrunner.HEAD/workspace/build/tmp/eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.9.1.0_v20090804
apitools.generation:
customAssembly:
whereas with p2.gathering no files are copied to plug-in even if it's build.properties
is correct:
publish.bin.parts:
[mkdir] Created dir: /hudson/jobs/org.mozilla.xulrunner.HEAD/workspace/build/plugins/org.mozilla.xulrunner.gtk.linux.x86/org.mozilla.xulrunner.gtk.linux.x86_1.9.1.0_v20090804
[copy] Copying 1 file to /hudson/jobs/org.mozilla.xulrunner.HEAD/workspace/build/plugins/org.mozilla.xulrunner.gtk.linux.x86
apitools.generation:
[eclipse.gatherBundle] Generating metadata for ..
[eclipse.gatherBundle] Generation completed with success [3 seconds].
Do you know what might be wrong?
Should I change anything else to make p2.gathering work?
thanks
Jacek
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev