Project in java using collabrative technique
can any one give the project in java using collabrative filetering technique.
i mean to say ,i want a project in java which must use the technique given above.
its very urgent
please help in this aspect..
It's not urgent to us. Try Google.
http://www.google.com/search?hl=en&q=java+project+collaborative+filtering+technique
Similar Messages
-
Convent / Make use of VB2005 project in Java
How can I convent the VB2005 project to Java
or use the project in Java just like using dll through JNative?
thanksnwoedf wrote:
How can I convent the VB2005 project to Java
or use the project in Java just like using dll through JNative?You have 3 options (Well you do have more, but to be productive to solve your problem):
1 - You redesign your project for Object oriented programming, and then have at coding it.
2 - You attempt to use JNI to make those VB2005 generated dll's work, but chances are (and last time I checked), they were not a totally compatible C style interface, so have fun there.
3 - You could attempt to make things into Beans -- but then I've never seen them or most anything work reliably with VB.anything
I've converted many projects from XX to YY and I will tell you right out--option 1 has always been shortest over all and always most reliable. -
How to Build a DC project that makes use of other Projects??
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 ERRORThanks 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 -
Help needed In developing project in Java
Hi guys I am Developing a project in Java.
This program test processor performance.
Of system.
Please tell me which packages to use and what will be basic logic required.
basically Test, counter, and help will be used I think.Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.
-
Bug with exporting project to java source
Hi,
This is in TopLink 9.0.4.2 (Build 040311).
We're in the process of trying to determine if we should upgrade our TopLink from 2.5 to 9.0.4, and have not yet purchased a support contract because we haven't made the final decision yet, so I'm posting this bug here in hopes that someone can submit the bug.
In one of our projects, we have an AggregateObjectMapping (AOM) for a Measurement object that is owned by 2 different objects, each with 2 to 4 instances of this Measurement class. I set up the instances of the AOM in the workbench just fine, and looking at the XML descriptors that are written out, it appears fine. Exporting the project session XML file works fine as well. However, when it is exported to a Java file, the instances of the AOM are exported incorrectly as described below.
Here is the abbreviated mapping of the attributes of the Measurement class:
<mappings>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mPrecision</instance-variable-name>
<default-field-names>
<default-field-name>direct field=yPrecision</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mQuantity</instance-variable-name>
<default-field-names>
<default-field-name>direct field=y</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>mUnit</instance-variable-name>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<reference-descriptor>com.cimsoft.lws.units.Unit.ClassDescriptor</reference-descriptor>
<private-owned>false</private-owned>
<uses-batch-reading>false</uses-batch-reading>
<table-reference-mapping-reference-handle>
<reference-handle>
<reference-table>csrSlotGenericValue</reference-table>
<reference-name>csrSlotGenericValue_csdUnit</reference-name>
</reference-handle>
</table-reference-mapping-reference-handle>
<uses-joining>false</uses-joining>
<one-to-one-mapping-indirection-policy>
<indirection-policy>
<uses-indirection>false</uses-indirection>
</indirection-policy>
</one-to-one-mapping-indirection-policy>
<mapping-class>MWOneToOneMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>UNDEFINED_MEASUREMENT</instance-variable-name>
<mapping-class>MWUnmappedMapping</mapping-class>
</mapping>
</mappings>
Notice that there are two direct to field mappings (mPrecision and mQuantity) and one OneToOneMapping (mUnit). The exported sessions XML file has the correct XML for instances of this object. Here is an example from a class that has 3 instances of this Measurement object mapped:
<database-mapping>
<attribute-name>mAlarmSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.alarmSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.alarmSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.alarmSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>mCurrentSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.currentSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.currentSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.currentSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
<database-mapping>
<attribute-name>mLotSize</attribute-name>
<read-only>false</read-only>
<reference-class>com.cimsoft.lws.units.Measurement</reference-class>
<is-null-allowed>true</is-null-allowed>
<aggregate-to-source-field-name-associations>
<association>
<association-key>unitId</association-key>
<association-value>csrStock.lotSizeUnitId</association-value>
</association>
<association>
<association-key>y</association-key>
<association-value>csrStock.lotSize</association-value>
</association>
<association>
<association-key>yPrecision</association-key>
<association-value>csrStock.lotSizePrecision</association-value>
</association>
</aggregate-to-source-field-name-associations>
<type>oracle.toplink.mappings.AggregateObjectMapping</type>
</database-mapping>
However, here are the corresponding mappings in the exported Java file (with what it really should be manually inserted by me in comments):
AggregateObjectMapping mAlarmSizeMapping = new AggregateObjectMapping();
mAlarmSizeMapping.setAttributeName("mAlarmSize");
mAlarmSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
mAlarmSizeMapping.setIsNullAllowed(true);
mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSizeUnitId", "unitId");
mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSize", "y");
mAlarmSizeMapping.addFieldNameTranslation("csrStock.alarmSizePrecision", "yPrecision");
descriptor.addMapping(mAlarmSizeMapping);
AggregateObjectMapping mCurrentSizeMapping = new AggregateObjectMapping();
mCurrentSizeMapping.setAttributeName("mCurrentSize");
mCurrentSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
mCurrentSizeMapping.setIsNullAllowed(true);
mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSize", "alarmSize");
mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizeUnitId", "unitId");
mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizePrecision", "alarmSizePrecision");
// should be: mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSize", "y");
// should be: mCurrentSizeMapping.addFieldNameTranslation("csrStock.currentSizePrecision", "yPrecision");
descriptor.addMapping(mCurrentSizeMapping);
AggregateObjectMapping mLotSizeMapping = new AggregateObjectMapping();
mLotSizeMapping.setAttributeName("mLotSize");
mLotSizeMapping.setReferenceClass(com.cimsoft.lws.units.Measurement.class);
mLotSizeMapping.setIsNullAllowed(true);
mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizeUnitId", "unitId");
mLotSizeMapping.addFieldNameTranslation("csrStock.lotSize", "currentSize");
mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizePrecision", "currentSizePrecision");
// should be: mLotSizeMapping.addFieldNameTranslation("csrStock.lotSize", "y");
// should be: mLotSizeMapping.addFieldNameTranslation("csrStock.lotSizePrecision", "yPrecision");
descriptor.addMapping(mLotSizeMapping);
It appears that the actual Measurement descriptor is being modified accidentally as it's being exported, as you'll notice that the first mapping (for mAlarmSize) correctly maps the default "y" to "alarmSize", and then the next mapping (for mCurrentSize) instead of mapping "y" to "currentSize" maps "alarmSize" to "currentSize", and the next AOM maps "currentSize" to "lotSize" instead of "y" to "lotSize".
Thanks,
GregNo one ever responded, so I'm commenting to bring it up again. It turns out that the error happens not just exporting to Java, but anytime the command-line project generation is used. If the Workbench is used to export either to XML or to a Java file, the file is generated correctly. It is not generated correctly if you try to do it from the commandline (e.g. from a build environment).
This has happened with 9.0.4.2 through the current 9.0.4.5.
Here are different ways I've tried doing it from the commandline, and they all generate the erroneous XML and Java files:
java oracle.toplink.workbench.external.api.JavaSourceGenerator inputMWP outputJava.java
and
java oracle.toplink.workbench.external.api.DeploymentXMLGenerator inputMWP outputXML.xml
which are recommended by the documentation. Also recommended by the documentation:
JavaSourceGenerator.generate( inputFile, outputFile )
and
DeploymentXMLGenerator.generate( inputFile, outputFile ).
From decompiling the management workbench to see what it was doing differently:
MWProject project = WorkbenchSession.instance().openProject( inputFile );
if ( doXML )
project.setProjectDeploymentXmlDirectory( directory );
project.setProjectDeploymentXmlFileName( filename );
project.exportDeploymentXml();
else
project.setProjectSourceRootDirectory( directory );
project.setProjectClassName( classname );
project.exportJavaSource( outputFile );
//Also tried plain old project.exportJavaSource(); which appears to actually do something different.
Any ideas? It looks like a bug to me, particularly that different java or XML deployment files are generated when run from the commandline versus run from the UI. Obviously, the commandline is very important because it is what the build system needs.
Thanks,
Greg -
How can I specify table owners when I export project to Java source?
Using TopLink Mapping Workbench, when I export project to Java source, the descriptors is automatically generated like:
descriptor.addTableName("SOME_TABLE");
Is there a way to configure the TopLink Mapping Workbench so it generates the descriptors so that the table owner is explicitly specified?
descriptor.addTableName("SCHEMA_A.SOME_TABLE");
Thanks!You can re-name your tables in the MW to be fully qualified for the name and that's how it will be generated and used.
Doug -
Passing pl/sql table to Java using Oracle JDBC and vice - versa
A small article on the given topic with sample code and comments, to make code crystal:
http://mukx.blogspot.com/2007/12/passing-plsql-table-to-java-using.html
--MukulTapash,
I have seen people using Rosetta in almost all projects in previous years, frequently in couple of projects. I was not aware that Rosetta is an internal thing, anyways if that is the case y oracle is shipping rosetta jar file to customers?
--Mukul -
How to store and load in java using mapping
I am doing my project in java, my project consists of producing a card game.
I my game at the end of each round the computer will ask the player if he/she wants to save the game. I have looked at some methods on how to do this. It seams that I need a type of mapping but how.
I want to take a String (which is entered by the player) and to this String I want to store various peices of data that can be loaded up later.
The data that I want to store are has follows
1. Name of the player - String
2. Name of the computer- String
3. Points of computer sofar- Int
4. Points of player sofar - Int
5. Target points- Int
If there is a better way then please tell me. thankyouThe format of the saved game could be anything. An easy way to do this is by using the MessageFormat class.
Let's say you use the tab character as a delimiter, and you want to write two strings and 3 ints:
MessageFormat mf = new MessageFormat("{0}\t{1}\t{2,number}\t{3,number}\t{4,number}";
Object[] o = new Object[5];
o[0] = playerName;
o[1] = computerName;
o[2] = new Integer(computerPoints);
o[3] = new Integer(playerPoints);
o[4] = new Integer(targetPoints);
String formatted = mf.format(o);
PrintWriter out = new PrintWriter(new FileWriter("save.txt"));
out.println(formatted);
out.close();
// reading:
BufferedReader in = new BufferedReader(new FileReader("save.txt"));
String s = in.readLine();
Object[] values = mf.parse(s);
playerName = (String)values[0];
computerName = (String)values[1];
computerScore = ((Number)values[2]).intValue();
playerScore = ((Number)values[3]).intValue();
targetScore = ((Number)values[4]).intValue();You could also just write each value on its own line and not using MessageFormat, but just read the values line by line and convert String to ints when needed. -
Hello friends:
i am new to java, and as apart of my academic i have to develop a project in java
can anyone please suggest me some good project that can really help me
please reply
thanxHi
What kind of project you mean ?
Do you need an already implemented project to use as a guide and sample
or you need some idea for a academic project ? -
Starting a project in java.
I am planning to start a project in java that is used to send and receive sms from mobile phones.What are the necessary software required for my project..
what is comm.jar.where can i download it. is swing a part of netbeans ide.WMA
-
My University project about java program plagiarism
I am working on my Final year Project about java program plagiarism.
i.e. My system finds similarity between two programs by "Source code" to check whether there are plagiarism.
And now i need plenty of samples and need your help.
I need two types of sample:
1. original version - a version written by your own.
2. plagiarized version - a version which is copied from original version and has modified to conceal that it is a plagiarism.(Try to treat the teacher)
My two sample programs are:
1. Find shortest path by Dijkstra's algorithm.
2. Find the determinant of a N x N matrix.
Both programs read data from txt file as input.
Now, I sincerely invite you to help me to make samples
You can choose to do the version(original or plagiarized) and the program you like.
After you have finished, please kindly send to [email protected]
If you decide to do plagiarized version, please download the following sources and modified them.
http://myweb.polyu.edu.hk/~04954136d/FYP/shortestpath.zip
http://myweb.polyu.edu.hk/~04954136d/FYP/determinant.zip
Thank you very much. Looking forwards to your program.Ha ha, good try.
You know, if you had posted whatever you have achieved so far, you might actually have got the help you so obviously need. But now your only chance of getting any help here is to get yourself another username.
If this were true, your professors would have gladly supplied you with research material in exchange for use of your "system".
db
PS May I add your email to my list?
http://forum.java.sun.com/thread.jspa?threadID=636123&start=64 -
Has anybody noticed how much RAM Java uses?
Hi Everyone,
I have been playing around a little with Java programs, and far out the RAM in my computer gets strained!!! I don't know how many times a Java application has completely locked down my 667MHz, 320Mb computer. My brothers 1.2GHz, 256Mb runs Java a little better, but really to play "hard ball" Java style you would need a 2.4GHz Pentium 4 with between 512 and 1024MB of RAM.
Obviously Sun Microsystems have looked to the future with Java. They have played their cards very well by creating a programming language that is a little hard for current computer hardware to run.
In ten years time when we are talking about computer hardware, we will have hard drives with terabytes of space sitting on our home PC, don't worry about clock speeds, there won't be any, the Quantum computer has already taken care of that (for all those novice Quantum Guru's out there - information exchange takes place in no time, that is not faster than the speed of light... the messages simply takes place in no Time.). Technology moves so fast that it is hard to keep pace, unless of course you are addicted to Reading!!
At the moment we obviously do not have the hardware to run massive Java applications. So instead we have garbage collection. How effective is garbage collection, and what can be done to improve it?
I have read a little about garbage collection, but it sounds quite haphazard, possibly unreliable. Obviously object orientated code takes up a lot of memory, by learning garbage collection techniques I hope to improve my coding. If anybody who reads this thread can contribute anything of personal experience related to garbage collection, it will be greatly appreciated. Code is always good, but I am also looking for peoples ideas about improving garbage collection, even if those ideas are not viable in the current version of the JDK.
Thanks for your comments and I hope that you enjoyed reading this thread.
DavidHi,
if it was meant as a joke, I enjoyed it - but if your opinion is really that of java, you have posted, I would suggest to read some of the documentations provided by Sun and you will find out, how java uses memory and you will also find out, that garbage collection is not the point, you have to worry about, because it is automatically done by the JVM. Also javac has parameters, where you can manipulate the memory usage of the JVM. So, please start reading in the case this was not just a joke :)
greetings Marsian -
When I go to create a new project in imovie using the iPhone 5, I am not able to see any of my video clips or photos that are saved on the device.
When you move or copy the compound clips with their events into an external drive all the events should be there. Not clear on why you want to move them into a single event. You can drag and drop from one event to another.
Why are you using compound clips? You can simply copy the project from each machine with used media onto the external drive and that should do it. -
Steps to Create Project in Solman using ASAP methology
Let me know steps to create new project in SOLMAN using ASAP road map.
Hi Gajanan,
Kindly read the below pdf
https://websmp204.sap-ag.de/~sapidb/011000358700000916032011E
Also the below one which provides more details
https://websmp204.sap-ag.de/~sapidb/011000358700000414462011E
https://websmp204.sap-ag.de/~sapidb/011000358700000414522011E
Also, roadmap needs to be assigned in solar_project_admin where you create your project as per above documents with proper flavor as shown below.
Thanks
Prakhar -
Dear All,
I am trying to use the functionality Transportation and Shipment Scheduling in GATP.
I would like to know that how the sytem determines the process alias using condition technique in Transportation & Shipment Scheudling?
As the Transportation & Shipment Scheduling functionality can be extended further by using the configurable process to overcome the complex scenario. But it needs that process alias should not be determined by using the condition technique.
Moreover, is it possible to use both functionality simultaneously in the system. i.e. Transportation and Shipment Scheduling using condition technique and Transportation and Shipment Scheduling using configurable process?
Thanks & Regards
Piyush RanpuraHi Piyush,
I have added a small overview in the SCN WIKI which shows you the two ways for the process alias determination and also here as attachment:
http://wiki.sdn.sap.com/wiki/display/SCM/Time+and+Scheduling+Functions
Yes, depending on your customizing you can use both scheduling methods in parallel. e.g. you activate CPS just for a specific ITEM category or product and/or customer and/or....what ever you want.
best regards,
Michael
Maybe you are looking for
-
What is the Patch To Active Payroll In Egypt ??
Hi What is the Patch To Active Payroll In Egypt ?? I Need To Start Setup For Payroll In Egypt and i Need To Run The Patch To Active This Setup Thanks
-
What product do I need to easily cut and paste parts of a photo?
What product do I need to EASILY cut and paste parts of a photo
-
Hi I have PSE 8 which currently has ACR 5.5 installed as a plugin. This will not read raw files from my new camera (Sony Alpha 580). I have down loaded ACR 6.2 to see if this would support the files, followed the instructions, moved the 8bi file as i
-
Prev Comment / New Comment in Forms
We have built custom forms using HCM F&P with fields such as Prev Comment & New Comment We have workflow going upto 4-5 levels For some of the IDs, the comments entered at one level is not getting displayed in the previous comment field of the next a
-
Split download file into multiple files
Hi all, I'd like to split my internal table into multiple files when downloading. The split will be determined by contents of a specific field (e.g. create a new file for every unique country, where country is a key field). The number of files to dow