Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Nested target does not resolve
Nested target does not resolve [message #1852217] Thu, 05 May 2022 07:06 Go to next message
Rubén Porras Campo is currently offline Rubén Porras CampoFriend
Messages: 67
Registered: July 2009
Member
Hi, I would like to use the new feature of nested target, but I could not make it work.

I have one target like

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="ASMD-ACP" sequenceNumber="95">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.avaloq.tools.ddk.runtime.feature.feature.group" version="0.0.0"/>
<location type="Target" uri="file:${project_loc:/acp-target}/base.target"/>
</locations>
</target>

and a base.target like

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="Base Target" sequenceNumber="1">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.gmf.runtime.notation.feature.group" version="0.0.0"/>
<unit id="org.eclipse.gmf.runtime.notation.sdk.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/gmf-notation/1.11.0/gmf-notation-1.11.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.transaction.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.transaction.sdk.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/emf-transaction/1.10.0/emf-transaction-1.10.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.validation.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/emf-validation/1.10.0/emf-validation-1.10.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.query.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.query.sdk.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/emf-query/1.10.0/emf-query-1.10.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.ocl" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/mdt-ocl/6.4.0M1/mdt-ocl-6.4.0M1.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.gef.sdk.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/gef3/4.0.0/gef3-4.0.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.xpand.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/m2t/xpand/updates/releases/R201605260315/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.uml2.sdk.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/mdt-uml2/4.0.1/mdt-uml2-4.0.1.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.eclipse.gef.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.ide.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/swtbot/2.7.0/swtbot-2.7.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/S202205011041/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.avaloq.tools.foundation.common" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/com/avaloq/tools/foundation-repository/1.0.2/foundation-repository-1.0.2.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.jdt.annotation" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/jdt/4.2/jdt-4.2.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.xsd.feature.group" version="0.0.0"/>
<repository location="https://repo.sits.avaloq.net/nexus/service/local/repositories/p2-releases/content/org/eclipse/emf-xsd/2.17.0/emf-xsd-2.17.0.zip-unzip/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/releases/2021-03/202103171000/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.mwe2.language.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.mwe2.runtime.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/emft/mwe/updates/milestones/S202204291234/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
<unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
<unit id="org.eclipse.pde.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.23/"/>
</location>
</locations>
</target>

The target that includes the base.target does not resolve even though base.target resolves and even though if I copy the contents that lead to a conflict into the base.target file, the base.target file still resolves.

Am I not using the feature properly or did I run into a bug?

I think that the uri "file:${project_loc:/acp-target}/base.target" is correct, because if I change it to intentionally break the path, I get an error that the file does not exist.
Re: Nested target does not resolve [message #1852235 is a reply to message #1852217] Thu, 05 May 2022 14:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
It's impossible to say without a minimal test case that reproduces what you believe to be a bug; one that we can try out ourselves to determine if it's a usage/expectation problem or a actual bug.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Why is navigator view getting deprecated
Next Topic:Global Key Interceptor
Goto Forum:
  


Current Time: Sun Apr 28 03:34:40 GMT 2024

Powered by FUDForum. Page generated in 0.03595 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top