cancel
Showing results for 
Search instead for 
Did you mean: 

External Library

Former Member
0 Kudos

Hi:

I followed the instructions of Rajit Srinivas to use external jar files.

I am confused about how to do

2)In project properties, create a Library reference for this J2EE DC (please see above messages).

I tried to build and I got the following warning. I think I am missing the above step.

WARNING: application-j2ee-engine.xml: No reference entry for runtime dependency on DC sap.com~crm/insight/poi_library

see below for the entire logfile.

Thanks in Advance!

Development Component Build (2006-06-29 16:23:51)

Component name: crm/insight/te

Component vendor: sap.com

SC compartment: insight.com_APPL_1

Configuration: JDD_DEMO_D

Location: JDD_DEMO_D

Source code location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/DCs/sap.com/crm/insight/te/_comp/

DC root folder: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\

DC type: Web Dynpro

Host: PHXAD0601

DC Model check:

[dcmake] All used DCs are available locally

[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/cmi"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/ddic/ddicruntime"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/wd/webdynpro"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/logging"

[dcmake] validating dependency to public part "default" of DC "sap.com/tc/wdp/metamodel/content"

[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.aii.proxy.framework"

[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.aii.util.misc"

[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.exception"

[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.mw.jco"

[dcmake] validating dependency to public part "compiletime" of DC "sap.com/crm/insight/poi_lib"

[dcmake] validating dependency to public part "defLib" of DC "sap.com/crm/insight/poi_library"

[dcmake] DC model check OK

Start build plugin:

[dcmake] using build plugin: sap.com/tc/bi/bp/webDynpro

[dcmake] starting build plugin from : C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\

Build Plugin 'WebDynproPlugin', Version 6.40 SP 16 (630_REL, built on 2006-04-06 00:59:52 CEST)

development component: crm/insight/te (sap.com)

software component: APPL (insight.com)

location: JDD_DEMO_D

type: Web Dynpro

build variant: default

source location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/

plugin start time: 2006-06-29 16:23:51 GMT-07:00

Java VM: Java HotSpot(TM) Client VM, 1.4.2_10-b02 (Sun Microsystems Inc.)

General options:

convert *.xlf to *.properties: yes

include sources for debugging: yes

Plugin initialized in 0.172 seconds

Preparing data context..

No 'default' JDK defined, will use running VM.

Data context prepared in 0.047 seconds

Executing macro file..

Using macro file: C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm

Creating output file: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\logs\build.xml

Macro file executed in 0.563 seconds

Starting Ant..

Using build file: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\logs\build.xml

Using build target: build

Generation folder: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315

Using Ant version: 1.5.4

prepare:

[mkdir] Created dir: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\deploy

compile:

[ddgen]

[ddgen] [Info] Property deployment is true: Deployment information is provided!

[ddgen] [Info] Property sourcepath: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\src\packages

[ddgen] [Info] Property targetpath: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gdd

[ddgen] [Info] Property archivename: sap.comcrminsight~te

[ddgen] [Info] Property vendor: sap.com

[ddgen] [Info] Property dcname: crm/insight/te

[ddgen] [Info] Property language: Available languages are automatically determined!

[ddgen] [Info] Property addpaths ...

[ddgen] [Info] SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model

[ddgen] [Info] SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model

[ddgen] [Info] exception.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java

[ddgen] [Info] aii_proxy_rt.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproadmin.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynprobasesrvc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproclientserver.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynpromodelimpl.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynpromodel_dynamicrfc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynpropdfobject.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproprogmodel.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproruntime_designtime_coupling.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproruntime_designtime_coupling_api.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproruntime_repository.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproruntime_repository_pmr.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] webdynproservices.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[ddgen] [Info] SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java

[ddgen] [Info] poi-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[ddgen] [Info] poi-contrib-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[ddgen] [Info] poi-scratchpad-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[ddgen] [Info] cmiapi.jar - C:/Dev Comps/0/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java

[ddgen] [Info] jrfc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java

[ddgen] [Info] logging.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java

[ddgen] [Info] logging.perf.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java

[ddgen] [Info] SapDictionaryTypeServices.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java

[ddgen] [Info] SapDictionaryTypesRuntime.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java

[ddgen] [Info] SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java

[ddgen] [Info] aii_util_misc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java

[ddgen] [Info] Initialize generation templates from configuration jar:file:/C:/Dev Comps/0/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 (1 seconds)

[ddgen]

[timer] Data dictionary generator finished in 1.625 seconds

[wdgen]

[wdgen] [Info] Property deployment is true: Deployment information is provided!

[wdgen] [Info] Property sourcepath: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\src\packages

[wdgen] [Info] Property targetpath: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd

[wdgen] [Info] Property archivename: sap.comcrminsight~te

[wdgen] [Info] Property vendor: sap.com

[wdgen] [Info] Property dcname: crm/insight/te

[wdgen] [Info] Property projectlanguage: en

[wdgen] [Info] Property language: Available languages are automatically determined!

[wdgen] [Info] Property addpaths ...

[wdgen] [Info] SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model

[wdgen] [Info] SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model

[wdgen] [Info] exception.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java

[wdgen] [Info] aii_proxy_rt.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproadmin.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynprobasesrvc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproclientserver.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynpromodelimpl.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynpromodel_dynamicrfc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynpropdfobject.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproprogmodel.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproruntime_designtime_coupling.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproruntime_designtime_coupling_api.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproruntime_repository.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproruntime_repository_pmr.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] webdynproservices.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java

[wdgen] [Info] SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java

[wdgen] [Info] poi-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[wdgen] [Info] poi-contrib-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[wdgen] [Info] poi-scratchpad-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java

[wdgen] [Info] cmiapi.jar - C:/Dev Comps/0/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java

[wdgen] [Info] jrfc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java

[wdgen] [Info] logging.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java

[wdgen] [Info] logging.perf.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java

[wdgen] [Info] SapDictionaryTypeServices.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java

[wdgen] [Info] SapDictionaryTypesRuntime.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java

[wdgen] [Info] SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java

[wdgen] [Info] aii_util_misc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java

[wdgen] [Info] Initialize generation templates from configuration jar:file:/C:/Dev Comps/0/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml

[wdgen] [Warning] com.insight.crm_sm.timeentry.TimeEntryView --> UIElement Excel_FileUpload: UIElement does not have a label

[wdgen] [Info] com.insight.crm_sm.timeentry.TimeEntryView --> TextView Save_Summary_TextView: UIElement does not have a label

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateOrderNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/OrderNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalOrderNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryComp.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryComp.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryComp.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryComp.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivatePersonNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/PersonNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalPersonNumberListView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicPersonNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivatePersonNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/PersonNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalPersonNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryCompInterface.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IExternalTimeEntryCompInterface.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryCompInterface.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterface.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryCompInterface.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterface.wdcontroller

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryCompInterfaceCfg.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IExternalTimeEntryCompInterfaceCfg.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryCompInterfaceCfg.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterfaceCfg.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryCompInterfaceCfg.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterfaceCfg.wdcontroller

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicOrderNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateOrderNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/OrderNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/InternalOrderNumberListInterfaceView.java

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/IMessageTimeEntryComp.java

[wdgen] [Info] Generating configuration/Components/com.insight.crm_sm.timeentry.TimeEntryComp/TimeEntryComp.xml

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/ResourceTimeEntryComp.properties

[wdgen] [Info] Generating packages/com/insight/crm_sm/timeentry/wdp/ResourceTimeEntryComp_en.properties

[wdgen] [Info] Generating configuration/Applications/com.insight.crm_sm.timeentry.TimeEntryApp/TimeEntryApp.xml

[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 (3 seconds)

[wdgen]

[timer] WebDynpro generator finished in 3.484 seconds

[echo] Starting Java compiler

[javac] Compiling 37 source files to C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes

[timer] Java compilation finished in 3.282 seconds

[echo] Start XLF conversion

[xlf2prop] Found 6 XLF files to convert in src\packages

[xlf2prop] Found 0 XLF files to convert in C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\packages

[xlf2prop] Found 0 XLF files to convert in C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gdd\datatypes

[timer] XLF conversion finished in 0.172 seconds

[wdminimize] Start minimizer for project classpath:

[wdminimize] C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes

[wdminimize] external classpath:

[wdminimize] C:\Dev Comps\0\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-2.5.1-final-20040804.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-contrib-2.5.1-final-20040804.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-scratchpad-2.5.1-final-20040804.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar

[wdminimize] C:\Dev Comps\0\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar

[wdminimize] Analyzing 91 classes from URLClassFileLoader@12eb371[C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes]

[wdminimize] Classes loaded in 359 ms.

[wdminimize] Completed pass 0 in 0 ms (using a priori knowledge).

[wdminimize] Completed pass 1 in 4235 ms (using a priori knowledge).

[wdminimize] Completed pass 2 in 0 ms (propagating to specialized classes).

[wdminimize] Finished Analysis (4594 ms)

[wdminimize]

[wdminimize] Shrinking class files

[wdminimize] checked 440 Fields,

[wdminimize] active: 356

[wdminimize] removed: 84

[wdminimize] zombie: 0

[wdminimize] checked 799 Methods,

[wdminimize] active: 474

[wdminimize] removed: 325

[wdminimize] zombie: 0

[wdminimize] Modified 53 classes (281 ms)

[wdminimize]

[wdminimize] Reduced total class file size by 16% (4922 ms)

[timer] WebDynpro class minimizer finished in 4.938 seconds

createWDA:

[mkdir] Created dir: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\wda-pp

[pppacker] Ignoring unknown source folder META-INF for WebDynpro archive.

[pppacker] Packed 78 files for entity WebDynpro Archive (WebDynpro Archive/Archive)

[timer] WebDynpro Archive packaging finished in 1.047 seconds

createDeployArchive:

[cda] Adding module 'sap.comcrminsight~te.wda' from current development component

[cda] Validating C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\application.xml

[cda] Validating C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\application-j2ee-engine.xml

[cda] WARNING: application-j2ee-engine.xml: No reference entry for runtime dependency on DC sap.com~crm/insight/poi_library

packDeployArchive:

[srcpacker] Creating source archive

[srcpacker] Adding source archive from sap.com~crm/insight/te

[timer] Source archive creation finished in 0.313 seconds

[jarsap] Info: JarSAP version 20041217.1600

[jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831

[jarsap] Property jarsap.info.dir is not set.

[jarsap] Building: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\deploy\sap.comcrminsight~te.ear with compression

[timer] JarSAP finished in 0.359 seconds

createPublicParts:

build:

Ant runtime 15.643 seconds

Ant build finished with WARNINGS

Build plugin finished at 2006-06-29 16:24:08 GMT-07:00

Total build plugin runtime: 16.487 seconds

Build finished with WARNING

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

It's TOO late to post. But this can help to others. I pass one day searching for this answer and I dont want that others waste their time searching for it

[|]

nitin_mahajan2
Contributor
0 Kudos

I am not sure if this would be relevant or helpful. I am pretty new to Webdynpro, but been with Java for a couple of years.

We used to write Build Scripts, .xml to compile and create teh ear/jar of the compiled components.

Here in the build scripts, write content to copy the compiled components in a seperate structure along with the external jars you need into the specific folders and then create a jar/ear/war whatever you require.

I believe this might work.

Former Member
0 Kudos

As far as I have tried, and I have tried a lot of variants of the posted messages it does not work in 2004s.

packDeployArchive:

[srcpacker] Creating source archive

[srcpacker] No sources available for packing, no archive will be created.

[timer] Source archive creation finished in 0 seconds

The external library DC includes the file.

But as far as the .sda it includes nothing

just a <jars/>

Any ideas?

Thanks in advance.

Former Member
0 Kudos

Hi Adrian,

I just fought with this in 7.0 sp10 (or 2004s sp10, at least I think they are the same thing!). It is not trivial to work out what is going on but I can assure you I got it working eventually. If you can reply with some more info on what you have in the way of config I will compare it to what I have that is working. But as a first thing to test, as mentioned in my post earlier in the thread, the main thing I was missing was that contrary to the documentation, you do need to make sure that when you create a "used DC" that references the "assembly" public part of the External Library DC, you must make sure it has both "Build" and "Assembly" dependencies. (the documentation suggests just one of these, I forget which).

Cheers,

Chris

Former Member
0 Kudos

> you must make sure it has both "Build" and "Assembly" dependencies. (the >documentation suggests just one of these, I forget which).

All used DCs are available locally

validating dependency to build plugin "sap.com/tc/bi/bp/addLib"

validating dependency to public part "jarsSDA" of DC "sap.com/jars/eg"

validating dependency to public part "jarsAPI" of DC "sap.com/jars/eg"

DC model check OK

build and run-time.

I have marked both.

If I mark run-time dependency on the one with the compilation it says the dependency cant be met and it builds with a warning and no jars in the SDA.

Warning: No runtime information available for development component type External Library (sap.com), cannot validate deploy-time dependency.

packDeployArchive:

[srcpacker] Creating source archive

[srcpacker] No sources available for packing, no archive will be created.

[timer] Source archive creation finished in 0.016 seconds

- <provider-descriptor>

<display-name>jarib</display-name>

<component-name>jarib</component-name>

<description />

<major-version>7</major-version>

<minor-version>00</minor-version>

<micro-version>0</micro-version>

<provider-name>sap.com</provider-name>

<jars />

</provider-descriptor>

same story with the assembly

the only way i have managed to see the included jars in the Visual Administrator after a deploy is using a J2EE Server Component - Library but that breaks the DC model so it is no good.

We are using SAP NetWeaver 7.0 (2004s) SP9

Thanks for answering,

Adrian

Former Member
0 Kudos

Hi Adrian

Then sorry, I am much less useful than advertised. I in the end used J2EE Server Library, referencing an External Library DC, as I could not get the External Library DC to work for anything other than local build. It would never deploy to the server. Although this is very convoluted, I just needed it to work so was happy with the solution.. is there a reason you can't use a J2EE Library?

Anyway, sorry for any confusion,

Chris

Former Member
0 Kudos

That is ok, no harm done =). Atleast I know that it is not just myself in this abyss hehe. Well the main reason is the client wants us to use the DC model but if there is an issue ill let them hound SAP support directly. It might be an SP issue. Who knows, there are like 4 or 5 different ways to do it.

Cheers,

Adrian

Former Member
0 Kudos

To be honest, I don't know how much it breaks the model. I think this is just where it touches the J2EE model, so there is some friction... J2EE Library is the correct way to do it on a J2EE server as far as I can tell, so, see for example note 833415.. to quote:

<i>Since the external library development component type itself does not have any deployable build result, you must deploy it with a different development component to make it available on the server</i>

<i>Create an additional development component that packs, that is, encapsulates, the external library development component (for example, a J2EE library).

</i>

Former Member
0 Kudos

Makes sense in a way but after all there is a J2EE Library DC

Cheers,

Adrian

Former Member
0 Kudos

Thanks for posting your solution Chris. That was what I needed to make mine work.

Regards,

Alan

Former Member
0 Kudos

hey there,

Think im already late for this... but it may be useful to someone who reads this forum later.

I am struggling with exactly the same problem for the past more than 24

odd hours now. The sad part - Im sure I have seen this being done in a

matter of a few minutes when my team mate had an older version on NWDS.

(I am currently using SP16 NWDS). May be this indeed is a bug that SAP

needs to fix in its SP16 NWDS release.

I need to use the HSSF POI libraries for my webdynpro components and

have been trying ALL possible options given out here on SDN. To mention a

few, I have tried -

1) Jarrod's method of making a Java DC and then declaring a usage

dependency for it inside a J2EE Server (library) DC. It didnt work... it

gave me a warning that an illegal reference has been made to the runtime

public part. And the final SDA file generated in the J2EE server

component DC DIDNOT contain the jar files that I had added to the public part

of the Java DC. On investigating further, I found that there were NO

entities present in BOTH the public parts of the Java DC, even though the

folder actually contained all the required .jar files.

2) Creating an External Library DC, adding the JAR files to the

'libraries' folder. Creating two public parts, one for assembly and the second

for compilation. Then adding this DC as a 'Used DC' into a J2EE Server

(library) DC. Yet, the .sda file that is created on building the J2ee

Server (library) DC DOESNOT contain the JAR files.

3) Creating an external library DC, adding the JAR files to the

'libraries' folder. Creating two public parts, one for assembly and the second

for compilation. Then adding this DC as a 'Used DC' into a webdynpro

DC. On building this webdynpro DC, the .ear file DOESNOT contain the JAR

files.

4) Directly adding the JAR files to my own webdynpro component in the

'src/packages' folder. This didnt work because on rebuilding the

project, the JAR files get deleted on their own.

5) Renaming my .JAR files to .ZIP, extracting the entire package

structure into folders, copy pasting this entire folder structure along with

its .class files into the src/packages folder. On rebuilding, the NWDS

deletes these folders and files on its own / behaves erratically. Also

copy pasted these .class files along with the proper package structure

into the '/bin' directory of my webdynpro application, but it still

didnt work.

The only thing that I have to try yet is to shift to SP10 of NWDS,

build this external library project and get the required JAR files put on

the wendynpro server. After that I might choose to get back onto the

SP16 version and hopefully continue productive work... !

Regards,

Navneet.

Former Member
0 Kudos

This is very late on this thread, but for anyone who stumbles across it, as I did and is frustrated with External Jars not making it to their deployment archives... here is my experience.

Like Navneet above I tried all the things in his list, and every single time I thought I had it but none of my Jar files actually made it to the Server. What I found was that there are several places in the docs where it says to create an External Library, then add two Public Parts, one of type assembly and one of type Compile, then create two used DC's, one for Build time and one for Runtime. The crucial bit for me was that the "Runtime" Used DC entry in your wrapper DC must also have a Dependency Type of Build. This one check box means the difference between the jar files making it to the SDA or not.<p/>

So - to summarise what I did was:<br/>

<ul>

1. Create an External Library DC<br/>

2. Copy all of the Jars I needed to the libraries folder of this DC<br/>

3. Create two Public Parts (right click on the jar files in Package Explorer)<br/>

<ul>i) compilePart (with purpose compilation)<br/>

ii) assemblyPart (with purpose assembly)<br/></ul>

4 Create a new DC of type J2EE Server Component / Library<br/>

5. Add a Used DC to the J2EE Library, reference the compilePart from previous step, and set Dependency type to Build<br/>

6. Add another Used DC, reference the assemblePart, this time <b>select both Build and Runtime Dependency Types</b></br>

7. Build and deploy.<br/>

</ul>

Former Member
0 Kudos

Hi,

When your giving library reference from webdynpro application, please go to the visual admin -> libraries and check the deployed library.

you have to the give the deployed library name in the visual admin to the libray reference of the webdynpro..

For component based Development the deployed library might have some extension(including vendor name and domain name).

regards,

Thiru.

Former Member
0 Kudos

Hi Raja,

Once you've created both the DCs (webdynpro & j2ee DCs), rt-click on WebDynpro DC -> Properties -> WebDynpro References -> Library References (tab). Here make an entry for your J2EE DC (for ex. local.com~my_j2ee_dc)

Hope its clear.

Regards,

Rajit Sinivas

Former Member
0 Kudos

Hi Rajit:

Thank you for your response.

I was following your instructions for the other post.

Thanks for the excellent help.

About making an entry in the Library References,

I need some clarification.

What my confusion is about how you figure out this "local.com~my_j2ee_dc"

Becasue the SDA created for J2EE DC is names as "sap.comcrminsight~poi_library"

So in this case what should I add in the tab Library Reference?

I have already spent lot of time on this. Any help would be greatly appreciated.

Thanks,

Raja

Former Member
0 Kudos

Hi Raja,

Its the name of the J2EE DC that you've created. Since its a DC development(for ex. LocalDevelopment), it is usually LocalDevelopmentmyj2eedclocal.com.

Simply put its the name of your j2ee DC project.

Regards,

Rajit Srinivas

Former Member
0 Kudos

Hi Rajit:

Thank you for your response again.

I tried as you suggested and it didn't work.

While I was going thru the process again and again I figured out that J2EE DC is not deployed to the server. Funny thing is when deployed the J2ee Dc it is dployed successfully.

But J2EE DC has Build has warnings.

Warning: INVALID runtime depedency(incompatable type)

warning: unable to read PublicPartsListFile for runtime(public part).

By the way I am using SP16.

All I am trying is, I have a jar file which I am trying to reference only in one WebDynpro application.

Could please suugest me a that works for SP16?

If I have to build the J2EE Library DC, how to build with out warnings?

Thank you once again, your help is greatly appreciated!

Raja

Former Member
0 Kudos

Hi All:

As I Mentioned in the above reply,

when I try to build the J2EE Library DC I get the following errors.

Warning: Runtime dependency to lib3 (sap.com) not allowed (incompatible runtime type).

Warning: Failed to read PublicPartFileList.xml from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime (Failed to load file C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime)

see below for the entir log

Thanks in Advance for your help!

Jul 5, 2006 9:10:36 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: lib1j2: built with warnings sap.com/lib1j2(insight.com_APPL_1) in variant "default" (2.076 sec) :

-


Build log -


Development Component Build (2006-07-05 09:10:34)

Component name: lib1j2

Component vendor: sap.com

SC compartment: insight.com_APPL_1

Configuration: JDD_DEMO_D

Location: JDD_DEMO_D

Source code location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/DCs/sap.com/lib1j2/_comp/

DC root folder: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\

DC type: J2EE Server Component

DC subtype: Library

Host: PHXAD0601

DC Model check:

[dcmake] All used DCs are available locally

[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/addLib"

[dcmake] validating dependency to public part "runtime" of DC "sap.com/lib3"

[dcmake] DC model check OK

Start build plugin:

[dcmake] using build plugin: sap.com/tc/bi/bp/addLib

[dcmake] starting build plugin from : C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\

Build Plugin 'J2EE Library', Version 6.40 SP 16 (630_REL, built on 2006-04-06 00:59:52 CEST)

development component: lib1j2 (sap.com)

software component: APPL (insight.com)

location: JDD_DEMO_D

type: J2EE Server Component, subtype Library

build variant: default

source location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/

plugin start time: 2006-07-05 09:10:34 GMT-07:00

Java VM: Java HotSpot(TM) Client VM, 1.4.2_10-b02 (Sun Microsystems Inc.)

General options:

convert *.xlf to *.properties: yes

include sources for debugging: yes

Warning: Warning: Source folder does not exist, will be ignored: server

Plugin initialized in 0.082 seconds

Warning: Runtime dependency to lib3 (sap.com) not allowed (incompatible runtime type).

Warning: Failed to read PublicPartFileList.xml from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime (Failed to load file C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime)

Preparing data context..

No 'default' JDK defined, will use running VM.

Data context prepared in 0.016 seconds

Executing macro file..

Using macro file: C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\macros\build.vm

Creating output file: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\logs\build.xml

Macro file executed in 0.409 seconds

Starting Ant..

Using build file: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\logs\build.xml

Using build target: build

Generation folder: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6

Using Ant version: 1.5.4

prepare:

[mkdir] Created dir: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\deploy

[mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\int-pp

[mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\sda

compile:

createPublicParts:

createDeployArchive:

[mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\sdaprep

[cda] Failed to read PublicPartFileList from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime, switching to legacy mode.

[cda] Adding module 'poi-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'

[cda] Adding module 'poi-contrib-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'

[cda] Adding module 'poi-scratchpad-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'

[cda] Creating descriptor server/provider.xml ...

[cda] WARNING: Ignoring invalid runtime dependency on lib3 (sap.com), type Java/

packDeployArchive:

[srcpacker] Creating source archive

[srcpacker] Failed to read PublicPartFileList from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime, switching to legacy mode.

[srcpacker] No sources available for packing, no archive will be created.

[timer] Source archive creation finished in 0.049 seconds

[jarsap] Info: JarSAP version 20041217.1600

[jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831

[jarsap] Property jarsap.info.dir is not set.

[jarsap] Building: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\deploy\sap.com~lib1j2.sda with compression

[timer] JarSAP finished in 1.046 seconds

build:

Ant runtime 1.357 seconds

Ant build finished with WARNINGS

Build plugin finished at 2006-07-05 09:10:36 GMT-07:00

Total build plugin runtime: 1.945 seconds

Build finished with WARNING

Former Member
0 Kudos

Raja,

From the log files, in the middle you can see that you dont have a valid JDK, so install the JDK 1.4.2_08.

/RAj.

Former Member
0 Kudos

I don't think that this is the problem.

Armin