[exec] Error : Unexpected ee.j2se;version=1.8,org.eclipse.osgi,org.eclipse.osgi.services,osgi.annotation,org.eclipse.jface,org.eclipse.swt,org.eclipse.swt.win32.win32.x86_64, error java.nio.file.FileSystemException: /cecbuild/work/release/CEC-SDK/179/work/build/bnd/build.container.bnd/../cnf/cache/p2-ECTARGET_20180207-154218/org.eclipse.osgi-3.12.50.v20170928-1321.jar -> /home/cecbuild/.bnd/urlcache/shas/54A9C8777D6453D5FD2D1973D6E19D38C69DFD33.content: Invalid cross-device link,
As far as I investigated this is due to different devices on which the build happens and where .bnd folder is located.
So I tried to configure my HOME variable for the process to the same device/disk than the build is running on, but it is still using my users home drive "~".
Is there a way to configure the .bnd folder location?
any help kindly appreciated,
Peter
--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
aQute.bnd.http.HttpClientURLCache cache= new URLCache(IO.getFile("~/.bnd/urlcache"));
aQute.lib.io.IO public static File getFile(String filename) { return getFile(work, filename); }
public static File getFile(File base, String file) { if (file.startsWith("~/")) { file = file.substring(2); if (!file.startsWith("~/")) { return getFile(home, file); } } if (file.startsWith("~")) { file = file.substring(1); return getFile(home.getParentFile(), file); }
static { File tmp = null; try { tmp = new File(System.getenv("HOME")); } catch (Exception e) {} if (tmp == null) { tmp = new File(System.getProperty("user.home")); } home = tmp; }