Skip to main content

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

If you can't move, would be nice to know the name of the file on which the error happened.

Jeff


On Thu, Oct 10, 2013 at 5:26 PM, Stéphane Bouchet <sbouchet@xxxxxxxxx> wrote:
No, i don't.
all my development and build is made under windows. i can try to make a very little example ?


2013/10/10 Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
Sees to be Windows related, did you try on Linux ?

Jeff


On Thu, Oct 10, 2013 at 4:38 PM, Stéphane Bouchet <sbouchet@xxxxxxxxx> wrote:
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


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




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

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



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




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top