Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Build failure (fixed) on BND now missing on refresh between SVN Rev# 7210 and 7195 requires -Dnobnd=true

fixed the build problem with weaving and equinox fragments. The issue was that both those fragments are setup such that if you don't have the org.eclipse.osgi jar available to the build they are skipped. After adding the bnd requirement however it left an end-case where "nobld" could be defined and the "package" target would be run, even if the osgi jar isn't present and the build should be skipped.

Basically I added the osgi requirement to both the packaging targets.

-Eric

Michael O'Brien wrote:
Eric,
Fixed, the following new entry as stated below allows the default build to continue (after downloading the the bnd jar)

<user-home>/build.properties/bndtool.jar=bnd-0.0.384.jar

[echo] bnd.lib = 'f:/view_libs/extension.lib.external/bnd-0.0.384.jar'
...
BUILD SUCCESSFUL
Total time: 2 minutes 2 seconds

   thank you Tom, Eric.
   /michael
Michael O'Brien wrote:
Fyi,
I am getting the following BND jar missing failure on an update on a view from 24 hours ago. Can we add this ant flag by default? I don't use bnd and haven't generated manifests for a while.

init:
[echo] extensions.depend.dir = 'f:/view_libs/extension.lib.external'
    [echo] bnd.lib                     = '${bnd.lib}'

fail-on-no-bnd:
    [echo] BND tool (bnd-0.0.366.jar) not found in either:
[echo] the extensions.depend.dir: 'f:/view_libs/extension.lib.external'
    [echo]     or the buildsystem dir:    '../../buildsystem'
    [echo]
    [echo] if you have a different version, you can define a different
    [echo] jarname by adding 'bndtool.jar=bnd-{version}.jar to your'
    [echo] C:\Users\mfobrien/build.properties file.
    [echo]
    [echo] You can download BND from http://www.aqute.biz/Code/Download
    [echo]
[echo] or if you really need to build NOW, you can use '-Dnobnd=true' [echo] on the ant command-line. However, the manifests used will be those
    [echo] checked-in for development, and will likely have errors.

BUILD FAILED
F:\view_w35e\build.xml:248: The following error occurred while executing this line: F:\view_w35e\plugins\org.eclipse.persistence.asm\build.xml:140: Missing BND library!

Total time: 0 seconds
F:\view_w35e>
F:\view_w35e>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)


   It looks like we need to add the following flag

-Dnobnd=true However with the flag I get a secondary failure below that I am checking it out but it looks like the script is removing the directory without later recreating it.

BUILD FAILED
F:\view_w35e\build.xml:254: The following error occurred while executing this line: F:\view_w35e\jpa\org.eclipse.persistence.jpa.equinox.weaving\build.xml:221: F:\view_w35e\jpa\org.eclipse.persistence.jpa
.equinox.weaving\classes not found.


   thank you
   /michael



_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


--
-Eric

Oracle <http://www.oracle.com>
Eric Gwin | Senior Software Developer
Phone: +613 288 4622 <tel:+613%20288%204622> | | Fax: +613 2382818 <fax:+613%202382818> | | Mobile: +613 8582347 <tel:+613%208582347>
Oracle Java Server Technologies
ORACLE Canada | 45 O'Connor St., Ottawa, Ontario | K1P 6L2
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment



Back to the top