On 5. 6. 2015, at 16:33, Nick Boldt <nboldt(a)redhat.com> wrote:
Is it an access restriction error?
I don't know, but why would Tycho version change this?
Are you using JDK 7 or 8?
One thing is for sure, it works with Tycho 0.22.0 ;)
I get this error with Tycho 0.23.0 with both java 7 and 8 (on my Mac).
Do you set testSuite or testClass anywhere in your poms?
There is both testSuite and testClass set in the pom, but that doesn't seem to be the
problem (I tried removing the testSuite).
Have you tried building with -DfailIfNoTests=false ?
Yes, but no luck.
Did something change in o.e.swt.widgets.TreeItem in Mars?
How is that relevant? I'm only changing Tycho, not the underlying TP - it works with
current master.
It's Len's test, so I hoped he might have some idea.
-Martin
On 06/05/2015 09:32 AM, Martin Malina wrote:
> I tried to compile Integration Tests [1] with Tycho 0.23.0 and I got
> this compilation error.
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-compiler-plugin:0.23.0:compile (default-compile)
> on project org.jboss.tools.mylyn.ui.bot.test: Compilation
> failure: Compilation failure:
> [ERROR]
>
/Users/rasp/git/jbosstools-integration-tests/tests/org.jboss.tools.mylyn.ui.bot.test/src/org/jboss/tools/mylyn/ui/bot/test/MylynTestLocalRepo.java:[135]
> [ERROR] DefaultTreeItem theTask = new DefaultTreeItem ("Uncategorized",
> UPDATED_TASKNAME);
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The type org.eclipse.swt.widgets.TreeItem cannot be resolved. It
> is indirectly referenced from required .class files
> [ERROR] 1 problem (1 error)
> [ERROR] -> [Help 1]
>
> I looked at the release notes [2] and haven't found out what's causing
> this yet.
>
> -Martin
>
> [1]
https://github.com/jbosstools/jbosstools-integration-tests
> [2]
http://wiki.eclipse.org/Tycho/Release_Notes/0.23
>
>
>> On 29. 5. 2015, at 1:57, Nick Boldt <nboldt(a)redhat.com
>> <mailto:nboldt@redhat.com <mailto:nboldt@redhat.com>>> wrote:
>>
>> Yes, we switched to Tycho 0.23.0-SNAPSHOT for JBDS product build on
>> April 24:
>>
>>
https://github.com/jbdevstudio/jbdevstudio-product/commit/bd5456c5a89eec7...
<
https://github.com/jbdevstudio/jbdevstudio-product/commit/bd5456c5a89eec7...
>>
>> But for the rest of JBT, we're still on 0.22.0:
>>
>>
https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml...
<
https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml...
>>
>>
>> On 05/28/2015 07:40 PM, Max Rydahl Andersen wrote:
>>> I thought we already were using Tyco 0.23, at least for the eclipse
>>> product build?
>>>
>>> One gotcha is that
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#p2
<
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#p2>
>>> might break
>>> Integration Stack if they build against non-Mars. So just something for
>>> IS to be aware of
>>> if they need to override it until tycho 0.24 is out.
>>>
>>> /max
>>>
>>>> Soon, Tycho 0.23.0 will be available.
>>>>
>>>> If possible, I'd like to build JBT 4.3.0.Beta1 / JBDS 9.0.0.Beta1
>>>> using
>>>> Tycho 0.23.0.
>>>>
>>>> If you add the code below to your settings.xml, then build with
>>>> -DtychoVersion=0.23.0, you'll be able to see if anything breaks w/
>>>> Tycho
>>>> 0.23.0.
>>>>
>>>> If it does, please open a JIRA.
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> -------- Forwarded Message --------
>>>> Subject: [tycho-user] Tycho 0.23.0 staged
>>>> Date: Thu, 28 May 2015 16:07:55 +0000
>>>> From: Sievers, Jan <jan.sievers(a)sap.com
<mailto:jan.sievers@sap.com>>
>>>> Reply-To: Tycho user list <tycho-user(a)eclipse.org
<mailto:tycho-user@eclipse.org>>
>>>> To: Tycho user list (tycho-user(a)eclipse.org
<mailto:tycho-user@eclipse.org>) <tycho-user(a)eclipse.org
<mailto:tycho-user@eclipse.org>>
>>>> CC: Tycho developers list (tycho-dev(a)eclipse.org
<mailto:tycho-dev@eclipse.org>)
>>>> <tycho-dev(a)eclipse.org <mailto:tycho-dev@eclipse.org>>
>>>>
>>>> Tycho milestone release 0.23.0 has been staged.
>>>>
>>>> For details of new features and bugfixes, see release notes [1].
>>>> Please help by testing the staged milestone build. To use it, change
>>>> your tycho version to 0.23.0 and add snippet [2] to your pom.
>>>>
>>>> NOTE: if you build products for MacOSX against p2 repositories older
>>>> than eclipse Mars, there is a known bug [3]
>>>>
>>>> We plan to promote this release in one week unless major regressions
>>>> are
>>>> found.
>>>>
>>>> Regards,
>>>> Tycho team
>>>>
>>>> [1]
http://wiki.eclipse.org/Tycho/Release_Notes/0.23
<
http://wiki.eclipse.org/Tycho/Release_Notes/0.23>
>>>> [2]
>>>> <pluginRepositories>
>>>> <pluginRepository>
>>>> <id>tycho-staged</id>
>>>>
>>>>
<
url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-1021...
<
https://oss.sonatype.org/content/repositories/orgeclipsetycho-1021/%3C/ur...
>>>> </pluginRepository>
>>>> </pluginRepositories>
>>>>
>>>> [3]
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#p2
<
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#p2>
>>>>
>>>> _______________________________________________
>>>> tycho-user mailing list
>>>> tycho-user(a)eclipse.org <mailto:tycho-user@eclipse.org>
>>>> To change your delivery options, retrieve your password, or
>>>> unsubscribe
>>>> from this list, visit
>>>>
https://dev.eclipse.org/mailman/listinfo/tycho-user
<
https://dev.eclipse.org/mailman/listinfo/tycho-user>
>>>>
>>>>
>>>> _______________________________________________
>>>> jbosstools-dev mailing list
>>>> jbosstools-dev(a)lists.jboss.org
<mailto:jbosstools-dev@lists.jboss.org>
>>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
<
https://lists.jboss.org/mailman/listinfo/jbosstools-dev>
>>>
>>>
>>> /max
>>>
http://about.me/maxandersen <
http://about.me/maxandersen>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev(a)lists.jboss.org <mailto:jbosstools-dev@lists.jboss.org>
>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
<
https://lists.jboss.org/mailman/listinfo/jbosstools-dev>
>>>
>>
>> --
>> Nick Boldt :: JBoss by Red Hat
>> Productization Lead :: JBoss Tools & Dev Studio
>>
http://nick.divbyzero.com <
http://nick.divbyzero.com/>
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev(a)lists.jboss.org <mailto:jbosstools-dev@lists.jboss.org>
>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
<
https://lists.jboss.org/mailman/listinfo/jbosstools-dev>
>
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com <
http://nick.divbyzero.com/>