cancel
Showing results for 
Search instead for 
Did you mean: 

Component Usage from a Different Project

Former Member
0 Kudos

I'm receiving the following error message when I try to build a component (Comp0) that uses another component (Comp1) from a different project:

[System.err] [Invoked from com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:153)]

[System.err] com.sap.tc.webdynpro.repository.RepositoryRuntimeException: did not find target for com.sap.ide.metamodel.webdynpro.component.Component(com.mydomain.mycomp1.Comp1)

[...lots of seemingly useless errors removed...]

[wdgen] ERROR: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: did not find target for com.sap.ide.metamodel.webdynpro.component.Component(com.hgdc.bams.opportunity.Opportunity), D:/Documents and Settings/noby.nobriga/.dtc/1/t/D9E1CBAF7CFF36D9C22D1F3B92A6D4FD/gen_wdp/configuration/Components/com.hgdc.bams.opportunityattachment.OpportunityAttachment/OpportunityAttachment.xml

[wdgen] [Info] Catching throwable null

[wdgen] [Info] com.sap.webdynpro.generation.ant.GenerationAntTaskError

[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.printMessage(GenerationAnt.java:123)

[wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:229)

[wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:175)

[...more seemingly useless errors removed...]

[wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)

[wdgen] ERROR: Generation failed due to errors (1 seconds)

Comp1 is my reused component. Package: com.mydomain.mycomp1

Public Parts:

"(Default)" (Java Package Tree)

"com.mydomain" (Java Package Tree)

Comp0 is my main component. Package: com.mydomain.mycomp0

No public parts.

They both use the following libraries and DCs.

Library References:

caf/eu/gp/api

sap.com/cafruntimeuicouplingapilib

Used DCs:

caf/core/dict (types_compilation)

caf/eu/gp/api/wd (default)

caf/eu/gp/api/wd (GPWebDynProCO)

caf/eu/gp/api (external)

caf/runtime/uicoupling/api (compilation)

caf/UI/ptn/common (com.sap.caf.ui.utils)

caf/UI/ptn/common (CommonInterfaces)

com.sap.aii.proxy.framework (default)

com.sap.aii.util.misc (default)

com.sap.exception (default)

com.sap.mw.jco (default)

com.sap.security.api.sda (default)

tc/cmi (default)

tc/ddic/ddicruntime (default)

tc/ddic/metamodel/content (default)

tc/wd/webdynpro (default)

tc/wdp/metamodel/content (default)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

we are also facing the same issue...please do let us know if you resolved it!

thanks and have a nice day!

Former Member
0 Kudos

In Comp0, I have Comp1 added to the "Used Web Dynpro Components".

When I remove it, Comp0 builds fine. When I add it, I get the errors mentioned above.