[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] testing compilation of a generated plugin project (with swtbot and tycho)

What workaround? Tycho behaves correctly. If some bundles in project test runtime, i.e. PDE in your case, require special configuration, it is up to the test to make this happen. This is no different from any other state or precondition required by the test.
-- 
Sent from my SGS

Lorenzo Bettini <lorenzo.bettini@xxxxxxxxx> wrote:

>Thanks for the clarification Igor, but is there a workaround (apart the
>
>one implemented by Mickael)?
>
>thanks in advance
>	Lorenzo
>
>On 03/12/2012 06:57 PM, Igor Fedorenko wrote:
>> Just to be clear, Tycho resolves correct&accurate target platform and
>> constructs corrects&accurate test runtime. The layout the test
>runtime
>> constructed by Tycho, although "correct" from Equinox point of view,
>is
>> incompatible with PDE and this is why tests are not able to resolve
>> test workspace target platform.
>>
>> --
>> Regards,
>> Igor
>>
>> On 12-03-12 5:32 AM, Mickael Istria wrote:
>>> Hi,
>>>
>>> I had the same issue with GMF Tooling, it applies to any test or
>code
>>> that generates bundles inside Eclipse.
>>> The default target platform in Eclipse looks for bundles in plugins/
>>> folder, which is not accurate with Tycho since the bundles are
>resolved
>>> from Maven repository.
>>> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=343152 and
>>> http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00059.html and
>more
>>> important, the issue in PDE:
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=343156
>>> And a workaround here:
>>>
>http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.gmp/org.eclipse.gmf.tooling/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java?root=Modeling_Project&r1=1.104&r2=1.105
>>>
>>>
>>> HTH
>>> --
>>> Mickael Istria
>>> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
>>> My blog <http://mickaelistria.wordpress.com> - My Tweets
>>> <http://twitter.com/mickaelistria>
>>>
>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>-- 
>Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
>HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
>BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
>
>
>_______________________________________________
>tycho-user mailing list
>tycho-user@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/tycho-user