Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8895

Re: plans for eclipse luna in debian

From Luca Vercelli <luca.vercelli.to@gmail.com>
Newsgroups linux.debian.maint.java
Subject Re: plans for eclipse luna in debian
Date 2016-02-21 18:40 +0100
Message-ID <r4G9c-XY-1@gated-at.bofh.it> (permalink)
References (16 earlier) <qOjTk-SP-15@gated-at.bofh.it> <qOkFI-1wu-7@gated-at.bofh.it> <qRtt7-1gu-5@gated-at.bofh.it> <r2JXA-5TU-33@gated-at.bofh.it> <r2V2G-4T4-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I have a general question on Maven. I see that most "pom.xml"'s in Tycho
do not contain explicit versions of dependencies and plugins. My Maven
gives a lots of errors during compilation because of this. Is there a
method to avoid declaring versions?


Il 16/02/2016 22:00, Christopher Hoskin ha scritto:
> Out of curiosity, I thought I'd give this a try and see how far I got.
>
> I downloaded
>
> https://git.eclipse.org/c/tycho/org.eclipse.tycho.git/snapshot/tycho-0.24.0.tar.gz
>
> and copied the files
>
> http://pkgs.fedoraproject.org/cgit/rpms/tycho.git/tree/tycho-bootstrap.sh
> http://pkgs.fedoraproject.org/cgit/rpms/tycho.git/tree/tycho-scripts.sh
>
> into the tycho-0.24.0 folder
>
> I installed the eclipse packaged in Sid:
>
> sudo apt-get install eclipse-rcp eclipse-platform
>
> I then ran
>
> ./tycho-bootstrap.sh 0
>
> With a couple of slight tweaks to the code, it gets a fair way through
> building and installing the bootstrap version of tycho into .m2/.
> Currently it falls over building bundle 5 of 6
> (tycho-bundles/org.eclipse.tycho.p2.resolver.impl) with the errors
> below. I haven't applied any of the Fedora patches - possibly they may
> fix some of these errors.
>
> Not sure if this approach is useful? Happy to keep plodding away at it
> if so.
>
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/AbstractSiteDependenciesAction.java:17:
> error: cannot find symbol
> import org.eclipse.equinox.internal.p2.updatesite.SiteBundle;
>                                                  ^
>   symbol:   class SiteBundle
>   location: package org.eclipse.equinox.internal.p2.updatesite
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/resolver/P2ResolverImpl.java:381:
> error: cannot find symbol
>         return
> Boolean.parseBoolean(iu.getProperty(InstallableUnitDescription.PROP_TYPE_PRODUCT));
>                                                                             
> ^
>   symbol:   variable PROP_TYPE_PRODUCT
>   location: class InstallableUnitDescription
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/ProductDependenciesAction.java:96:
> error: cannot find symbol
>         iud.setProperty(InstallableUnitDescription.PROP_TYPE_PRODUCT,
> Boolean.toString(true));
>                                                   ^
>   symbol:   variable PROP_TYPE_PRODUCT
>   location: class InstallableUnitDescription
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/AbstractSiteDependenciesAction.java:56:
> error: cannot find symbol
>         for (SiteBundle bundle : getSiteModel().getBundles()) {
>                                                ^
>   symbol:   method getBundles()
>   location: class SiteModel
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/AbstractSiteDependenciesAction.java:56:
> error: cannot find symbol
>         for (SiteBundle bundle : getSiteModel().getBundles()) {
>              ^
>   symbol:   class SiteBundle
>   location: class AbstractSiteDependenciesAction
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/AbstractSiteDependenciesAction.java:84:
> warning: non-varargs call of varargs method with inexact argument type
> for last parameter;
>                     .<IInstallableUnit>
> matchExpression(ExpressionUtil.parse(expression), params);
>                                                                                          
> ^
>   cast to Object for a varargs call
>   cast to Object[] for a non-varargs call and to suppress this warning
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/model/ProductFile2.java:62:
> error: cannot find symbol
>         return getFeatures(INCLUDED_FEATURES | ROOT_FEATURES);
>                            ^
>   symbol:   variable INCLUDED_FEATURES
>   location: class ProductFile2
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/model/ProductFile2.java:62:
> error: cannot find symbol
>         return getFeatures(INCLUDED_FEATURES | ROOT_FEATURES);
>                                                ^
>   symbol:   variable ROOT_FEATURES
>   location: class ProductFile2
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/target/ArtifactTypeHelper.java:57:
> error: cannot find symbol
>                     QueryUtil.createIUProductQuery());
>                              ^
>   symbol:   method createIUProductQuery()
>   location: class QueryUtil
> tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/target/ee/CustomEEResolutionHandler.java:62:
> error: cannot find symbol
>             if (JREAction.NAMESPACE_OSGI_EE.equals(namespace)) {
>                          ^
>   symbol:   variable NAMESPACE_OSGI_EE
>   location: class JREAction
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 9 errors
> 1 warning
>
>
>
>
>

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-09 18:50 +0200
  Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-09 19:30 +0200
    Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-10 09:00 +0200
      Re: plans for eclipse luna in debian Emmanuel Bourg <ebourg@apache.org> - 2015-10-10 09:10 +0200
      Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-10 11:40 +0200
        Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-13 09:50 +0200
          Re: plans for eclipse luna in debian Emmanuel Bourg <ebourg@apache.org> - 2015-10-13 09:50 +0200
    Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-17 15:10 +0200
      Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-17 17:10 +0200
        Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-18 17:50 +0200
          Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-20 13:00 +0200
            Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-20 19:10 +0200
              Re: plans for eclipse luna in debian Pascal Rapicault <pascal@rapicorp.com> - 2015-10-21 03:50 +0200
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-25 22:20 +0100
                Re: plans for eclipse luna in debian Pascal Rapicault <pascal@rapicorp.com> - 2015-10-27 01:30 +0100
              Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-23 21:00 +0200
              Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-31 13:30 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2015-10-31 15:50 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-10-31 16:40 +0100
                Re: plans for eclipse luna in debian Pascal Rapicault <pascal@rapicorp.com> - 2015-11-02 08:50 +0100
                Re: plans for eclipse luna in debian Michael Tautschnig <mt@debian.org> - 2015-10-31 15:50 +0100
              Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-11-10 20:00 +0100
                Re: plans for eclipse luna in debian Mikołaj Izdebski <zurgunt@gmail.com> - 2015-11-10 23:30 +0100
                Re: plans for eclipse luna in debian Emmanuel Bourg <ebourg@apache.org> - 2015-11-11 00:40 +0100
                Re: plans for eclipse luna in debian Mikołaj Izdebski <zurgunt@gmail.com> - 2015-11-12 01:10 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@gambaru.de> - 2015-11-13 19:00 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@debian.org> - 2015-12-13 22:20 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-01-07 13:20 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@debian.org> - 2016-01-07 13:50 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-01-07 15:40 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@debian.org> - 2016-01-07 16:30 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-01-16 08:30 +0100
                Re: plans for eclipse luna in debian Christopher Hoskin <christopher.hoskin@gmail.com> - 2016-02-16 10:20 +0100
                Re: plans for eclipse luna in debian Thorsten Glaser <t.glaser@tarent.de> - 2016-02-16 10:20 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-02-16 18:40 +0100
                Re: plans for eclipse luna in debian Thorsten Glaser <t.glaser@tarent.de> - 2016-02-16 21:00 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-02-16 21:10 +0100
                Re: plans for eclipse luna in debian Thorsten Glaser <t.glaser@tarent.de> - 2016-02-17 13:10 +0100
                Re: plans for eclipse luna in debian Christopher Hoskin <christopher.hoskin@gmail.com> - 2016-02-16 22:10 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-02-18 09:30 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-02-29 13:40 +0100
                Re: plans for eclipse luna in debian Markus Koschany <apo@debian.org> - 2016-02-29 13:40 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-03-10 15:00 +0100
                Re: plans for eclipse luna in debian Christopher Hoskin <christopher.hoskin@gmail.com> - 2016-03-11 00:20 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-03-11 09:40 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-03-11 10:30 +0100
                Re: plans for eclipse luna in debian Christopher Hoskin <christopher.hoskin@gmail.com> - 2016-03-11 11:30 +0100
                Re: plans for eclipse luna in debian Luca Vercelli <luca.vercelli.to@gmail.com> - 2016-02-21 18:40 +0100
                Re: plans for eclipse luna in debian Emmanuel Bourg <ebourg@apache.org> - 2016-02-29 14:10 +0100
                Re: plans for eclipse luna in debian Emmanuel Bourg <ebourg@apache.org> - 2016-02-29 14:10 +0100

csiph-web