Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] bundle-classpath resolution error with tycho

Hi,

using tycho 0.18.0, i am trying to build a plugin that have a dependency to a third party plugin having a bundle-classpath with some external nested jars.

the Bundle-Classpath of this third-party plugin is Bundle-ClassPath: external:$ant.home$/lib/ant.jar

but tycho does not resolve it, despite the -Dant.home="c:/ant" used in command line.
the exception is :

Caused by: java.io.IOException: La syntaxe du nom de fichier, de rpertoire ou de volume est incorrecte

       at java.io.WinNTFileSystem.canonicalize0(Native Method)

       at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)

       at java.io.File.getCanonicalPath(File.java:618)

       at org.eclipse.tycho.core.osgitools.DefaultBundleReader.getEntry(DefaultBundleReader.java:150)


Of course, i cannot modify this third party plugin to point to absolute or relative nested jar.

any help appreciated, 

cheers,

PS : i found this thread[1] using this technique, too but not sure if the plugin is built with tycho.

[1]http://www.codetrails.com/blog/osgi-ify-your-tools-jar


Back to the top