| Again, this should not be a problem. The bundle symbolic name is read from the entry in the manifest, not the file name. 
 
 Alex On 17 May 2011, at 13:07, vincent bonnier wrote: Hi Alex, 
  I already use 1.0.0-SNAPSHOT in pom.xml and 1.0.0.qualifier in the MANIFEST.MF but my problem is that the jar name generated by tycho looks like : bundlename-1.0.0-SNAPSHOT.jar	
 
  Regards, 
Vincent
  2011/5/17 Alex Blewitt <alex.blewitt@xxxxxxxxx>: > Use 1.0.0-SNAPSHOT in the pom.xml and 1.0.0.qualifier in the MANIFEST.MF > > e.g. > 
> https://github.com/sonatype/sonatype-tycho/blob/master/tycho-demo/itp03-crossplatform/org.tycho.demo.crossplatform/META-INF/MANIFEST.MF 
> > https://github.com/sonatype/sonatype-tycho/blob/master/tycho-demo/itp03-crossplatform/org.tycho.demo.crossplatform/pom.xml 
> > On 17 May 2011, at 11:13, vincent bonnier wrote: > >> The problem is not the underscore but the <micro>-<qualifier> part. In >> OSGI only the qualifier is supposed to contain letter. When equinox 
>> sees a bundle like bundlename-1.0.0-SNAPSHOT it thinks that the micro >> part is 0-SNAPSHOT and that there is no qualifier and so the micro >> version is invalid because it contains letters and the bundle is not 
>> found and not loaded. >> >> >> 2011/5/17 Alex Blewitt <alex.blewitt@xxxxxxxxx>: >>> It isn't an OSGi standard to use _, it's just what Eclipse uses. There should be no reason why you can't use the format that Maven generates. 
>>> >>> Alex >>> >>> On 17 May 2011, at 10:59, vincent bonnier wrote: >>> >>>> Hello Tycho users ! >>>> I'm still working on an OSGI project using RAP. 
>>>> I use Tycho in order to build my project. The compilation works fine. >>>> However I can't use the standard packaging goals provided by tycho >>>> since we are using RAP and we would like to build a war from the 
>>>> warpduct file format defined by libra project. >>>> >>>> So we tried to build the war manually by parsing the warproduct file >>>> and by picking the jar files from the tycho build process target 
>>>> folders. >>>> The problem is that the bundle jar names format in those folders are: >>>> bundlename-<major>.<minor>.<micro>-<qualifier>.jar when osgi standard 
>>>> expects bundlename_<major>.<minor>.<micro>.<qualifier>.jar >>>> >>>> I can't figure out how to force the names of my bundle jars I tried >>>> using the following in my pom but it doesn't seem to change a thing: 
>>>> >>>> <plugin> >>>>      <groupId>org.sonatype.tycho</groupId> >>>>      <artifactId>maven-osgi-packaging-plugin</artifactId> >>>>      <version>0.11.0</version> 
>>>>      <configuration> >>>>         <format>'v'yyyyMMdd-HHmm</format> >>>>         <archiveSite>true</archiveSite> >>>>      </configuration> 
>>>>    </plugin> >>>> >>>> I tried many times with differents format string beetween <format> and >>>> </format> but nothing change. >>>> What is the classic way to manage the versions in tycho environment ?? 
>>>> >>>> Maybe I'm not running the packaging phase ? that's the only lead I >>>> have, but I don't really believe in it. >>>> Further the command i use to build with tycho : 
>>>> >>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ >>>> \ mvn  clean integration-test -fae install       / >>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 
>>>> >>>> Hope somebody could help me. >>>> _______________________________________________ >>>> 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 >>> 
>> _______________________________________________ >> 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 
>
  
_______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user
   |