cancel
Showing results for 
Search instead for 
Did you mean: 

How to Build a DC project that makes use of other Projects??

Former Member
0 Kudos

Hi all,

I am trying to build a DC project that makes use of two other projects in my workspace, one is a java class project, the other one is a EJB project where it takes care of database access.

if i right click on the Application and use "Deploy new Archive and Run" it deploys and runs ok.

but if i right click on the DC project and use "Development Component -> Build", it gives me a lot of errors like below, as if it doesn't know where my reference projects are, but i have set them into my java build path.

Can anyone give me some advice?

Thanks.

Here comes the error msg:


008-11-26 14:52:42 /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: test2: Build failed for ecenta.com/test2(MyComponents) in variant "default": The Build terminated with errors

------------------------------------- Build log ------------------------------------------------------
Development Component Build (2008-11-26 14:52:40)
  Component name: test2
  Component vendor: ecenta.com
  SC compartment: MyComponents
  Configuration: LocalDevelopment
  Location: local
  Source code location: ecenta03@LENOVO-73231993
  DC root folder: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\
  DC type: Web Dynpro
  Host: LENOVO-73231993

DC Model check:
   All used DCs are available locally
   validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
   validating dependency to  public part "default" of DC "sap.com/tc/cmi"
   validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
   validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
   validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
   validating dependency to  public part "default" of DC "sap.com/tc/logging"
   validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
   validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
   validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
   validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
   validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
   validating dependency to used DC "sap.com/com.sap.security.api.sda"
   validating dependency to  public part "JxlLibAssembly" of DC "ecenta.com/jxl/jar"
   validating dependency to  public part "JxlLibCompilation" of DC "ecenta.com/jxl/jar"
   DC model check OK

Start build plugin:
   using build plugin: sap.com/tc/bi/bp/webDynpro
   starting build plugin from : D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\



Build Plugin 'WebdynproPlugin', Version 7.00 SP 14 (645_VAL_REL, built on 2007-11-10 18:28:29 CET, CL76041)
   development component:  test2 (ecenta.com)
      software component:  MyComponents (demo.sap.com)
                location:  local
                    type:  Web Dynpro
           build variant:  default
         output location:  C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\gen\default
       generation folder:  C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE
       plugin start time:  2008-11-26 14:52:40 GMT+08:00 (CST)
                 Java VM:  Java HotSpot(TM) Client VM, 1.4.2_18-b06 (Sun Microsystems Inc.)
General options:
  convert *.xlf to *.properties: yes
  include sources for debugging: yes

Warning: Source folder "META-INF" exists but is empty and will be ignored.
Checking path lengths for sources
Path length checks finished in 0.016 seconds

Preparing data context..
No public part descriptor found for component "tc/cmi" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "tc/ddic/ddicruntime" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "tc/ddic/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "tc/wd/webdynpro" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "tc/logging" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "tc/wdp/metamodel/content" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sap.aii.proxy.framework" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sap.aii.util.misc" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sap.exception" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sap.mw.jco" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "com.sap.security.api.sda" (vendor "sap.com"), public part "default", using legacy mode.
No 'default' JDK defined, will use running VM.
Data context preparation finished in 0.078 seconds

Creating Ant build file..
  Creating output file: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\gen\default\logs\build.xml
  Using macro file:     D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
Build file creation finished in 0.109 seconds

Starting Ant..
  Using build file:     C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\gen\default\logs\build.xml
  Using build target:   build
  Using Ant version:    1.6.2

compile:
      [echo] Starting dictionary generator
     [ddgen] 
     [ddgen] [Info]    Property deployment is true: Deployment information is provided!
     [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\src\packages
     [ddgen] [Info]    Property targetpath: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_ddic
     [ddgen] [Info]    Property archivename: ecenta.com~test2
     [ddgen] [Info]    Property vendor: ecenta.com
     [ddgen] [Info]    Property dcname: test2
     [ddgen] [Info]    Property projectlanguage: zh_CN
     [ddgen] [Info]    Property language: Available languages are automatically determined!
     [ddgen] [Info]    Property addpaths ...
     [ddgen] [Info]       SapMetamodelWebdynproContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
     [ddgen] [Info]       SapMetamodelDictionaryContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
     [ddgen] [Info]       aii_util_misc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _cmi_api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       exception.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       SapMetamodelWebdynproContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       logging.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       logging.perf.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_admin.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_basesrvc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_runtime_repository.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_runtime_repository_pmr.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_services.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_clientserver.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_model_dynamicrfc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_modelimpl.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_pdfobject.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_portal.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_progmodel.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_runtime_designtime_coupling.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       _webdynpro_runtime_designtime_coupling_api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       SapMetamodelDictionaryContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       jdsr.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       jrfc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       SapDictionaryTypeServices.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       SapDictionaryTypesRuntime.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       aii_proxy_rt.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       jxl.jar - C:/Documents and Settings/ecenta03/.dtc/LocalDevelopment/DCs/ecenta.com/jxl/jar/_comp/gen/default/public/JxlLibCompilation/lib/java
     [ddgen] [Info]       com.sap.security.api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.security.api.sda/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]       com.sap.security.api.perm.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.security.api.sda/_comp/gen/default/public/default/lib/java
     [ddgen] [Info]    Initialize generation templates from configuration jar:file:/D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
     [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
     [ddgen] [Info]    Generation finished (0 seconds)
     [ddgen] 
     [timer] Dictionary generator finished in 0.469 seconds

     [mkdir] Created dir: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_ddic\datatypes
      [echo] Starting WebDynpro generator
     [wdgen] 
     [wdgen] [Info]    Property deployment is true: Deployment information is provided!
     [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\src\packages
     [wdgen] [Info]    Property targetpath: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp
     [wdgen] [Info]    Property archivename: ecenta.com~test2
     [wdgen] [Info]    Property vendor: ecenta.com
     [wdgen] [Info]    Property dcname: test2
     [wdgen] [Info]    Property projectlanguage: zh_CN
     [wdgen] [Info]    Property language: Available languages are automatically determined!
     [wdgen] [Info]    Property addpaths ...
     [wdgen] [Info]       SapMetamodelWebdynproContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/model
     [wdgen] [Info]       SapMetamodelDictionaryContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
     [wdgen] [Info]       aii_util_misc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _cmi_api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       exception.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       SapMetamodelWebdynproContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       logging.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       logging.perf.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_admin.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_basesrvc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_runtime_repository.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_runtime_repository_pmr.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_services.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_clientserver.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_model_dynamicrfc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_modelimpl.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_pdfobject.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_portal.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_progmodel.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_runtime_designtime_coupling.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       _webdynpro_runtime_designtime_coupling_api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       SapMetamodelDictionaryContent.zip - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       jdsr.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       jrfc.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       SapDictionaryTypeServices.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       SapDictionaryTypesRuntime.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       aii_proxy_rt.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_JTECHS/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       jxl.jar - C:/Documents and Settings/ecenta03/.dtc/LocalDevelopment/DCs/ecenta.com/jxl/jar/_comp/gen/default/public/JxlLibCompilation/lib/java
     [wdgen] [Info]       com.sap.security.api.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.security.api.sda/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]       com.sap.security.api.perm.jar - D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP-JEE/DCs/sap.com/com.sap.security.api.sda/_comp/gen/default/public/default/lib/java
     [wdgen] [Info]    Initialize generation templates from configuration jar:file:/D:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.ap_2.0.0/comp/SAP_BUILDT/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
     [wdgen] [Info]    cn.ykjt.dbtest1.DBtest1View --> TextView DefaultTextView: UIElement does not have a label
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPrivateDBtest1View.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1View.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/InternalDBtest1View.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPublicDBtest1.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPrivateDBtest1.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/InternalDBtest1.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPublicDBtest1Interface.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IExternalDBtest1Interface.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPrivateDBtest1Interface.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1Interface.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/InternalDBtest1Interface.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1Interface.wdcontroller
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPublicDBtest1InterfaceCfg.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IExternalDBtest1InterfaceCfg.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPrivateDBtest1InterfaceCfg.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1InterfaceCfg.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/InternalDBtest1InterfaceCfg.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1InterfaceCfg.wdcontroller
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPublicDBtest1InterfaceView.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IPrivateDBtest1InterfaceView.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/DBtest1InterfaceView.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/InternalDBtest1InterfaceView.java
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/IMessageDBtest1.java
     [wdgen] [Info]    Generating configuration/Components/cn.ykjt.dbtest1.DBtest1/DBtest1.xml
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/ResourceDBtest1.properties
     [wdgen] [Info]    Generating packages/cn/ykjt/dbtest1/wdp/ResourceDBtest1_zh_CN.properties
     [wdgen] [Info]    Generating portalapp.xml
     [wdgen] [Info]    Generating wd.xml
     [wdgen] [Info]    Generating application.xml
     [wdgen] [Info]    Generating application-j2ee-engine.xml
     [wdgen] [Info]    Generating PublicPartFileList.properties
     [wdgen] [Info]    Generating PublicPartFileList.xml
     [wdgen] [Info]    Generation finished (0 seconds)
     [wdgen] 
     [timer] WebDynpro generator finished in 0.734 seconds

      [echo] Starting Java compiler
      [echo] Settings:
      [echo]         debug: on
      [echo]      optimize: off
      [echo]   deprecation: default
      [echo]       verbose: default
      [echo]      encoding: UTF8
      [echo]        source: default
      [echo]        target: default
      [echo]  source paths: 
      [echo]       C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\src\packages
      [echo]       C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_ddic\datatypes
      [echo]       C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages
      [echo]    class path:
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\wdp\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelWebdynproContent.zip
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_portal.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jdsr.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
      [echo]       C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\jxl\jar\_comp\gen\default\public\JxlLibCompilation\lib\java\jxl.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.jar
      [echo]       D:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.perm.jar
      [echo]    output dir: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\classes
     [javac] Compiling 22 source files to C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\classes
     [javac] ERROR: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages\cn\ykjt\dbtest1\DBtest1View.java:22: package com.ecenta.materialplan does not exist
     [javac] ERROR: import com.ecenta.materialplan.MaterialPlanProcessor;
     [javac] ERROR:                                ^
     [javac] ERROR: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages\cn\ykjt\dbtest1\DBtest1View.java:23: package com.ecenta.materialplan does not exist
     [javac] ERROR: import com.ecenta.materialplan.MaterialPlanProcessorHome;
     [javac] ERROR:                                ^
     [javac] ERROR: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages\cn\ykjt\dbtest1\DBtest1View.java:105: cannot resolve symbol
     [javac] ERROR: symbol  : class MaterialPlanProcessorHome 
     [javac] ERROR: location: class cn.ykjt.dbtest1.DBtest1View
     [javac] ERROR: 				MaterialPlanProcessorHome materialPlanHome = (MaterialPlanProcessorHome) ctx.lookup("MaterialPlanJNDI"); 
     [javac] ERROR:                                 ^
     [javac] ERROR: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages\cn\ykjt\dbtest1\DBtest1View.java:105: cannot resolve symbol
     [javac] ERROR: symbol  : class MaterialPlanProcessorHome 
     [javac] ERROR: location: class cn.ykjt.dbtest1.DBtest1View
     [javac] ERROR: 				MaterialPlanProcessorHome materialPlanHome = (MaterialPlanProcessorHome) ctx.lookup("MaterialPlanJNDI"); 
     [javac] ERROR:                                                                               ^
     [javac] ERROR: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\t\0EAFE51A1CEEAA916A875CFE652599FE\gen_wdp\packages\cn\ykjt\dbtest1\DBtest1View.java:106: cannot resolve symbol
     [javac] ERROR: symbol  : class MaterialPlanProcessor 
     [javac] ERROR: location: class cn.ykjt.dbtest1.DBtest1View
     [javac] ERROR: 				MaterialPlanProcessor proc = materialPlanHome.create();
     [javac] ERROR:                                 ^
     [javac] 5 errors
Error: C:\Documents and Settings\ecenta03\.dtc\LocalDevelopment\DCs\ecenta.com\test2\_comp\gen\default\logs\build.xml:154: Compile failed; see the compiler error output for details.
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
	at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
	at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
	at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
	at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
	at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
	at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
	at sun.reflect.GeneratedMethodAccessor608.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
	at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
	at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
	at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
	at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
	at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
	at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
	at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
	at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

Ant runtime 1.578 seconds

Ant build finished with ERRORS

Compile failed; see the compiler error output for details.

Error: Build stopped due to an error: Compile failed; see the compiler error output for details.

Build plugin finished at 2008-11-26 14:52:42 GMT+08:00 (CST)
Total build plugin runtime: 1.984 seconds

Build finished with ERROR



Accepted Solutions (1)

Accepted Solutions (1)

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

To add ejb20 to your Web Dynpro project - please navigate to your WDJ project. Go to the "Used DCs" section. Right click and click "Add DC". Then from the list of Software Components that you get - please find the ejb20 library (This will be in BUILDT or JTECH - I'm not sure exactly which). Select the ejb20 file and Add it to the DC.

The above file adds the libraries so that the WDJ project can deteck methods like create(), lookup() narrow() etc.

Now, to add the Web Dynpro Sharing References - you need to navigate to your WDJ problect. Right click and the "Properties". Go to the "Web Dynpro References" section. Go to the last tab called "Sharing References" - then add a "New" Sharing Reference.

Finally type the name of the EAR project that is currently bundling your EJB project.

It will be of the form: <vendor / domain>/<software component / track>~<earname>, for example

sap.com/appl~myear.

Hope that is clear enough.

Thanks.

p256960.

Answers (9)

Answers (9)

Former Member
0 Kudos

thanks p256960, problem solved!

Former Member
0 Kudos

Hi,

This error is resolved by adding ejb20 into "Used DCs" section ofthe Web Dynpro Component and putting your EAR project into the "Shared REferences" section of the WDJ project (Use Properties->Web Dynpro References->Sharing REferences)

Thanks.

p256960

hi p256960,

it's getting very close.

2 questions here:

1. what is ejb20 that you mentioned? where do i find it?

2. i have a "EAP" project that bundle the EJB project, it's deployed to the server and the EAP project is already in the Sharing Reference. What is the EAR project and how to put it in?

thanks for your input again.

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

This error is resolved by adding ejb20 into "Used DCs" section ofthe Web Dynpro Component and putting your EAR project into the "Shared REferences" section of the WDJ project (Use Properties->Web Dynpro References->Sharing REferences)

Thanks.

p256960

Former Member
0 Kudos

Thanks for the reply, i think i m getting close.

by making my EJB project a DC project and put the public parts into my Used DC, i reduce the build errors down to 2 (from more than 10).

maybe i m not making my EJB project into DC properly

the error msg itself is related to the EJB project:


[javac] Compiling 22 source files to C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\587CAFC00F9128BE9AF538F893A3FFFB\classes
     [javac] ERROR: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\587CAFC00F9128BE9AF538F893A3FFFB\gen_wdp\packages\com\ecenta\excelimport\ExcelImport.java:595: cannot access javax.ejb.EJBHome
     [javac] ERROR: file javax\ejb\EJBHome.class not found
     [javac] ERROR: 			MaterialPlanProcessor proc = materialPlanHome.create(); 
     [javac] ERROR:                                                                      ^
     [javac] ERROR: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\587CAFC00F9128BE9AF538F893A3FFFB\gen_wdp\packages\com\ecenta\excelimport\ExcelImport.java:602: cannot access javax.ejb.EJBObject
     [javac] ERROR: file javax\ejb\EJBObject.class not found
     [javac] ERROR: 			materialPlanModel = proc.newMaterialPlan(""+materialNo,quantity,mDesc,mPrice,mName,factory,site,cc,wbs,requestor,traxNo,ps,mobileType,creationDate,requestDate,status,creator,unit);
     [javac] ERROR:                                                 ^
     [javac] 2 errors

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

If you do not want to create the DC projects.

Please export your projects as .jar files. Add these files directly to your using project (using Java Build Path and Libraries Sections).

Be sure to export the jars with the source files - else you will not be able to debug efficiently.

To create DC projects out of these existing Local projects - there is no easy way - you will have to copy the components to a similar project created in the "MyComponents" track or a track that is created for you on your deployment server.

Hope this helps.

p256960.

Former Member
0 Kudos

hi p256960,

how exactly do i add an EJB or Java project to the "Used DC" section??

thanks.

Former Member
0 Kudos

Hi,

Thanks for the reply, but the other two projects are not DC projects, how can i declare the public parts?

Former Member
0 Kudos

Hi,

You may have create DC for those projects. Then you can use them in the Webdynpro DC.

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c81ebbd57f136fe10000000a1553f7/frameset.htm

Regards,

Harini S

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

To resolve this issue:

1.) Add the client and ejbjar of your EJB project to your Web Dynpro project's "Used DCs" section.

2.) If the problem is still not resolved - Create Public parts of your EJB with the "Package Tree" option and add the APIs to your WDJ project.

Hope this helps.

p256960.

Former Member
0 Kudos

Hi,

Have you exposed them as Public parts? If not, you have to create public parts in the other two DC and comsume them in this WD DC project using 'Used DC'.

Regards,

Harini S