Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho using local dependencies

Can't tell need to see what's inside your org.eclipse.osgi project.

Jeff

On Tue, Nov 24, 2015 at 4:28 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
I can't change that. Is there another way to solve this problem?

Regards,

Cesar Sturion

On Tue, Nov 24, 2015 at 1:21 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Yes but one of the problems is listed as:

org.eclipse.core.runtime 3.10.0.v20140318-2214 requires 'bundle org.eclipse.osgi [3.7.0,4.0.0)' but it could not be found

So maybe your org.eclipse.osgi project is causing troubles.

Regards
Jeff

On Tue, Nov 24, 2015 at 4:16 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
The frontend of the project is based on eclipse. So instead of using the module org. eclipse bundle. What the people did here was overwrite the org.eclipse.osgi. In this case a parent project I have within it the org.eclipse.osgi and com.soluzionasf.arqw10.common as Java Project.

Thus, the two are part of the parent project, but with com.soluzionasf.arqw10.common has the org.eclipse.core.runtime associated as a library.

Best Regards,

Cesar Sturion

On Tue, Nov 24, 2015 at 12:58 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
According to:

project
|----> com.soluzionasf.arqw10.common (project)
        |----> org.eclipse.core.runtime 3.10.0.v20140318-2214 (jar)
|----> org.eclipse.osgi (project)

What is the org.eclipse.osgi project  ?

Jeff

On Tue, Nov 24, 2015 at 3:50 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
My target file is here:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="Zeus Target" sequenceNumber="1438290456">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.platform.feature.group" version="4.4.2.v20150204-1700"/>
<unit id="org.eclipse.rcp.feature.group" version="4.4.2.v20150204-1700"/>
<unit id="org.eclipse.jdt.feature.group" version="3.10.1.v20150204-1700"/>
<unit id="org.eclipse.equinox.p2.discovery.feature.feature.group" version="1.0.200.v20140512-1802"/>
<unit id="org.eclipse.equinox.executable.feature.group" version="3.6.102.v20150204-1316"/>
</location>
</locations>
</target>

When I opened the file in eclipse was reporting the error:

unable to locate installable unit

I removed and create a new one e now doesn't show the error "unable to locate installable unit", but the initial error continue.



On Tue, Nov 24, 2015 at 12:24 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Did you try loading your target platform in Eclipse and see what happened ?

Jeff

On Tue, Nov 24, 2015 at 3:18 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
My target plataform im my pom parent is:

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>0.22.0</version>
<configuration>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>com.indracompany</groupId>
<artifactId>zeus.target</artifactId>
<version>1.0.0-SNAPSHOT</version>
</artifact>
</target>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</environments>

<!-- <dependency-resolution> <extraRequirements> <requirement> <type>eclipse-feature</type> <id>org.eclipse.core.runtime</id> <versionRange>3.10.0-v20140318-2214</versionRange> </requirement> <requirement> <type>eclipse-feature</type> <id>org.eclipse.osgi</id> <versionRange>1.0.0-SNAPSHOT</versionRange> </requirement> </extraRequirements> </dependency-resolution> -->
</configuration>
</plugin>


On Tue, Nov 24, 2015 at 10:23 AM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Which target platform are you using ? 

Jeff

On Tue, Nov 24, 2015 at 12:17 PM, Cesar Sturion <csturion@xxxxxxxxx> wrote:
Hi, I need a help with tycho.  

We have a RCP application project that was not created using Maven. Searching on the internet I found the Tycho e I start to use.  

I I'm following the same structure of example org.eclipse.tycho-demo (http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git).   

My project, creates one <name-project>.exe, today we created this using the Eclipse Export Wizard, we intend to create an automation process continues.   When I execute the command mvn clean install -X I had this error:

[INFO] Resolving dependencies of MavenProject: com.soluzionasf.arqw10.common:com.soluzionasf.arqw10.common:1.0.0-SNAPSHOT @ D:\projects\rcp\workspace\com.soluzionasf.arqw10.common\pom.xml
[DEBUG] No solution found because the problem is unsatisfiable.: [Unable to satisfy dependency from org.apache.felix.gogo.command 0.10.0.v201209301215 to package org.osgi.framework 1.5.0.; Unable to satisfy dependency from org.eclipse.core.runtime 3.10.0.v20140318-2214 to bundle org.eclipse.osgi [3.7.0,4.0.0).; Unable to satisfy dependency from org.eclipse.e4.core.commands 0.10.2.v20140424-2344 to package org.osgi.framework 1.5.0.; Unable to satisfy dependency from org.eclipse.e4.core.contexts 1.3.100.v20140407-1019 to bundle org.eclipse.osgi 3.6.0.; Unable to satisfy dependency from org.eclipse.e4.core.di.extensions 0.12.0.v20140417-2033 to bundle org.eclipse.osgi 3.6.0.; Unable to satisfy dependency from org.eclipse.e4.core.services 1.2.1.v20140808-1251 to package org.eclipse.osgi.service.debug 1.1.0.; Unable to satisfy dependency from org.eclipse.e4.core.services 1.2.1.v20140808-1251 to package org.eclipse.osgi.service.localization 1.1.0.; Unable to satisfy dependency from org.eclipse.e4.core.services 1.2.1.v20140808-1251 to package org.osgi.util.tracker 1.4.2.; Unable to satisfy dependency from org.eclipse.e4.ui.bindings 0.10.200.v20140424-2042 to package org.osgi.framework 1.5.0.; Unable to satisfy dependency from org.eclipse.e4.ui.css.swt.theme 0.9.300.v20141126-1957 to package org.eclipse.osgi.service.datalocation 1.3.0.; Unable to satisfy dependency from org.eclipse.e4.ui.css.swt.theme 0.9.300.v20141126-1957 to package org.osgi.framework 1.5.0.; Unable to satisfy dependency from org.eclipse.e4.ui.services 1.1.0.v20140328-1925 to bundle org.eclipse.osgi [3.6.0,4.0.0).; Unable to satisfy dependency from org.eclipse.e4.ui.workbench 1.2.2.v20141212-1259 to bundle org.eclipse.osgi [3.4.0,4.0.0).; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.renderers.swt 0.12.2.v20150204-1353 to bundle org.eclipse.osgi [3.6.0,4.0.0).; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.swt 0.12.100.v20141126-1150 to bundle org.eclipse.osgi [3.6.0,4.0.0).; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.swt 0.12.100.v20141126-1150 to package org.eclipse.osgi.service.datalocation 1.2.0.; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.swt 0.12.100.v20141126-1150 to package org.eclipse.osgi.service.debug 1.1.0.; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.swt 0.12.100.v20141126-1150 to package org.osgi.framework 1.5.0.; Unable to satisfy dependency from org.eclipse.e4.ui.workbench.swt 0.12.100.v20141126-1150 to package org.osgi.util.tracker 1.4.0.; Unable to satisfy dependency from org.eclipse.equinox.app 1.3.200.v20130910-1609 to package org.eclipse.osgi.service.environment 1.1.0.; Unable to satisfy dependency from org.eclipse.equinox.common 3.6.200.v20130402-1505 to package org.eclipse.equinox.log [1.0.0,2.0.0).; Unable to satisfy dependency from org.eclipse.equinox.common 3.6.200.v20130402-1505 to package org.eclipse.osgi.framework.log [1.1.0,2.0.0).; Unable to satisfy dependency from org.eclipse.equinox.ds 1.4.200.v20131126-2331 to package org.eclipse.osgi.service.environment 1.2.0.; Unable to satisfy dependency from org.eclipse.equinox.registry 3.5.400.v20140428-1507 to package org.eclipse.osgi.service.localization 1.1.0.; Unable to satisfy dependency from org.eclipse.osgi.services 3.4.0.v20140312-2051 to package org.osgi.framework 1.6.0.; No solution found because the problem is unsatisfiable.]
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.soluzionasf.arqw10.common 1.0.0
[ERROR]   Missing requirement: org.eclipse.core.runtime 3.10.0.v20140318-2214 requires 'bundle org.eclipse.osgi [3.7.0,4.0.0)' but it could not be found
[ERROR]   Cannot satisfy dependency: com.soluzionasf.arqw10.common 1.0.0 depends on: bundle org.eclipse.core.runtime 0.0.0
[ERROR] 
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: com.soluzionasf.arqw10.common:com.soluzionasf.arqw10.common:1.0.0-SNAPSHOT @ D:\projects\rcp\workspace\com.soluzionasf.arqw10.common\pom.xml: See log for details -> [Help 1]

In this case the project com.soluzionasf.arqw10.common 1.0.0 is created for us depends org.eclipse.core.runtime 3.10.0.v20140318-2214. 

The project org.eclipse.core.runtime 3.10.0.v20140318-2214 is not created for us depends org.eclipse.osgi that we create that we create and that is local, but it's not a jar and a project more.

For exemple:

project
|----> com.soluzionasf.arqw10.common (project)
        |----> org.eclipse.core.runtime 3.10.0.v20140318-2214 (jar)
|----> org.eclipse.osgi (project)

Thanks in advance, 

Cesar Sturion 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top