Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Latest integration build repository is not there

isEmpty is my fault. I use java 6. I'll open a bug and fix it ASAP. Also I'll take a look at the ui thing.

On Mon, Dec 3, 2012 at 2:18 PM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
Am 03.12.12 14:09, schrieb Paul Webster:
> There are build errors in org.eclipse.e4.tools.emf.ui
>
>
> 1. ERROR in
> /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/I20121203-0630/org.eclipse.e4.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java
> (at line 32)
>         * @see org.eclipse.ui.dialogs.FilteredTree
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Access restriction: The type FilteredTree is not accessible due to
> restriction on classpath entry
> /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/I20121203-0630/localRepo/p2/osgi/bundle/org.eclipse.ui.workbench/3.103.1.v20120906-120042/org.eclipse.ui.workbench-3.103.1.v20120906-120042.jar
> ----------

Well we hope we don't have a dependency on org.eclipse.ui anywhere in
our bundle dependencies!

> ----------
> 2. ERROR in
> /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/I20121203-0630/org.eclipse.e4.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java
> (at line 620)
>         if (containerId == null || containerId.isEmpty()) {
>                                                ^^^^^^^
> The method isEmpty() is undefined for the type String
> ----------
> 3. ERROR in
> /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/I20121203-0630/org.eclipse.e4.tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java
> (at line 754)
>         if (containerId == null || containerId.isEmpty()) {
>                                                ^^^^^^^
> The method isEmpty() is undefined for the type String
> ----------
> 3 problems (3 errors)
>

What version of Java are we compiling against. isEmpty() was only
introduced in Java6!

Tom


--
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top