Java DC's public parts for otther DCs' dependencies

Hello experts.
We have just come across the following trouble working within one development team.
One of us developed some Java Classes components, created public part (Compilations and one Assembly) and inserted necessary developed Java classes to there. Assigned necessary permissions. Then he checked in created activity. By the way developed component is available for other team members.
Another person syncs existing software componets, tries to use the created Java class component and he fails. Import of Java classes is impossible.
It turned out that created public parts are unavailable. He isn't able to define dependency properties for the public parts. Public parts are highlighted in red and they are unmanaged for other developers to set dependecies.
But if he creates project of the Java class component the public parts are available.
I suppose the public parts must be available withot creation of the project.
My question is that what we need to fix and pay attantion.
In general, how to implement public parts correctly? How to make them available for other developer to use as dependecies?
Could you please help us with your valuable pieces of advise?
Sincerely,
Anton

Thank you for reply, but it is not necessary to create project to use public parts.
So, our problem is that we don't activate our activiti in DTR and our DC's ae synced with active source where there is no public parts we provided.
When we sync with inactive DTR source we have all necessary public parts.
Thanks

Similar Messages

  • Create Public Part for Web Application

    Hi all,
    I'm migrating a now Development Component Web Application to DC Web Application. When it was done, the Public Parts isn't created automatically, in according with documentation.
    So I'm creating a Public Part with name war, but I'm changing the file manually to include the Entity Reference to Web Module.
         <entities>
              <entity>
                   <name>demo.sap.comtestweb~module</name>
                   <entity-type>WAR</entity-type>
              </entity>
         </entities>
    Today, through NWDS i can't  to set this reference on Development Infrastructure.
    Does anybody know if the only way to create this entity reference is manually?
    Best regards

    Chances are bigger of finding a solution in the NWDI forum. Moving it there...
    \-- Vladimir

  • Public parts and Dependencies in NWDI.

    Hi all,
    Iam using NWDI 7.3 . I have created a java EE DC for example DC1test  and created a class in it . created a public part for the dc. built the dc.how to use this class in other DC created for example DC2test .
    Through manage entities in Public parts (adding generated class file )and adding the DC1test dependency in DC2test will achieve this requirement . how can i refer the DC1test class in one of the methods of DC2test class.
    Please help me in this.
    Regards
    Deva

    after the dependency is added, just like using other java class, add them in the import section, then you can use them

  • Public parts not visible across SCs

    Hello,
    in one product we have two software components: one for COMMON functionality and another for our SERVICE. In the COMMON SC we defined our exception classes and made them available as public parts. All steps until approval have been made and the new version of COMMON was imported for development for the SERVICE SC.
    Unfortunately, we are not able to reference the public part for the exception classes in the SC "SERVICE". Any idea why the public parts are not visible accross the software components?
    Regards,
    Volker

    Renjith,
    I had similar problem and its fixed now. What you need to do is..
    If you are adding an SC from Track A to Track B, then
    1. Choose track B in CMS
    2. Click on ¡§Landscape Configurator¡¨
    3. Add the SC of track A into ¡§Required Software Components¡¨
    4. In Track Data tab, select the SC in ¡§Software Components for Development¡¨ area.
    5. Click ¡§View/Edit XML content..¡¨
    6. Add the 2 lines in between ***
    **<used-compartment>vendorname_TrackA_1</used-compartment>**
    </dependencies>
    <build-variants>
    <build-variant name="default" required-for-activation="yes">
    <variant-mappings>
    <variant-mapping used-compartment="sap.com_SAP_JTECHS_1" used-variant-name="default"/>
    <variant-mapping used-compartment="sap.com_SAP-JEE_1" used-variant-name="default"/>
    <variant-mapping used-compartment="sap.com_SAP_BUILDT_1" used-variant-name="default"/>
    **<variant-mapping used-compartment=" vendorname_TrackA_1" used-variant-name="default"/>**
    </variant-mappings>
    </build-variant>
    </build-variants>
    7. Click on ¡§Back¡¨
    8. Save the track B.
    9. Click on ¡§Transport Studio¡¨
    10. Import each SC (there should be 4 listed. 3 from sap.com and 1 from track A) one at a time. First import sap.com¡¦s SCs.
    Thanks,
    Kiran

  • Cannot serialize public part

    Hi
    When i add my component to the public part and do the rebuild or build, I am getting serilization error as follows.
    PM /userOut (com.sap.ide.eclipse.component.dcmetadata.model.PPModel) [Thread[main,5,main]] ERROR: cannot serialize public part named "PP_<xxxx>". Component "sap.com/<componentname>(MyComponents)" has no such public part.
    Thanks in advance.
    Kishore
    Message was edited by: NagaKishore Vankayala
    Message was edited by: NagaKishore Vankayala

    Hi
    Thanks for the replies.
    Maksim
    My public part is in the \def\ folder only. I have gone to the navigation view and checked that public part is created in \def\ folder.
    Anil:
    I am trying to create a public part for my webdynpro component. Public part is getting created with the name i give. During rebuild/build i am getting this error.
    Kishore

  • Add helper class public parts as used DC in EJB DC

    Hi Experts,
    I have created a JAVA DC project containing the helper classes.
    For this helper classes i have created a Jar file.
    I have also created two public parts
    1) with an option Can be packaged into other build results (e.g. SDAs)
    2) with an option Provides an API for developing/compiling other DCs
    Now i want to use these public parts in my EJB DC.
    I have added the API public part in my EJB DC as build time design time and run time.
    Now when i am getting java.lang.NoClassDefFoundError: for the class defined in JAVA DC helper class.
    Can you help me in resolving this?
    Regards,
    Ashish Shah

    Hi
    I have done following things:
    1) I have a java DC containing helper classes and an EJB DC referring to it.
    2) Now to access this EJB DC, I have created a java command bean DC.
    3) And I am using this command bean Java dc in my WebDynpro application.
    4)  Now for deploying the helper class, I have created a library project.
    5)  To this library project I have added the SDA and API public part of helper class as used dc.
    6)  I have added this java library file as used DC in WebDynpro DC and in EJB DC.
    7)  I have added the library reference to the WebDynpro DC for J2ee server component library DC  As pg.comaptsc~dc_aptjl
    8)  When i checked in Visual admin i could see the Assembly (SDA) helper class jar file.
    In my helper class files, I am getting this warning.
    Checking package reservation
    Warning: Package pg.com.apt.help.cls is not reserved for DC : apt/sc/dc_apthc.
    Now in my webdynpro DC when I refer to the helper class through the EJB, I get this error.
    java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket at pg.com.atos.WebModuleProject.FetchSDCDataBean.SearchGTINTMDataEJB(FetchSDCDataBean.java:133) at pg.com.atos.WebModuleProject.FetchSDCDataObjectImpl0.SearchGTINTMDataEJB(FetchSDCDataObjectImpl0.java:119) ... 35 more ; nested exception is: java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket
    Can you please guide on what I am missing.
    Thanks in advance.
    Regards,
    Ashish Shah
    Edited by: ashish shah on Dec 18, 2007 3:23 PM

  • Public part not found

    Hi all,
    I have created webdynpro dc B which uses webdynpro dc A
    When i build dc B it say public part not found. but i have varified that a jar of the public part is genrated in the DC A.
    I have noticed that when i compile DC A it gives following warning message in the build log
    [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 "default" of DC "sap.com/mail"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/IAIKSecurity"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/activation"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices_lib"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/sapxmltoolkit"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/webDynpro
              [dcmake] starting build plugin from : C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build plugin WebdynproPlugin
    Building development component 'dc/wd_xcs', vendor 'chevron', type 'Web Dynpro'
             software component 'CVX_COSTCENTER', vendor 'chevron'.
             location 'PDI_TRCCST_D'.
             source code location 'http://cpafisp5.chvpk.chevrontexaco.net:51100/dtr/ws/TRCCST/chevron_CVX_COSTCENTER/dev/inactive/'.
    Starting build (wrapped)
    Creating Ant build file..
    Using velocity macro file: C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
    Creating Ant build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml
    Ant build file created in 1 second
    Starting Ant with build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml, target build
    Using temporary directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A
    Ant build started at 2006-01-10 22:30:02 GMT+05:30 (IST)
    prepare:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\packages
    gen:
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [ddgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gdd
         [ddgen] [Info]    Property archivename: chevrondcwd_xcs
         [ddgen] [Info]    Property vendor: chevron
         [ddgen] [Info]    Property dcname: dc/wd_xcs
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd does not exist
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd is created
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (0 seconds)
         [ddgen]
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [wdgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd
         [wdgen] [Info]    Property archivename: chevrondcwd_xcs
         [wdgen] [Info]    Property vendor: chevron
         [wdgen] [Info]    Property dcname: dc/wd_xcs
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView2 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView1 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/ListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/MainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/DetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/XiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivate_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/Internal_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.wdcontroller
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.wdcontroller
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] [Info] removing usage of controller //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IMessageXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/XcsModel.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCList.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCSearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchOutput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCDetail.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
           [Ant] getParameterStringForWSInvoke:modelclassname=Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] getParameterStringForWSInvoke:modeltype=Request
           [Ant] getParameterStringForWSInvoke:modeltype=CVXSAMST_SearchInput
           [Ant] getParameterStringForWSInvoke:result=this.CVXSAMST_SearchInput.getOriginalBean()
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Response_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
         [wdgen] [Info]    Generating configuration/Components/com.chevron.wd_xcs.comp.Xi_ccsComp/Xi_ccsComp.xml
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/ResourceXi_ccsComp.properties
         [wdgen] [Info]    Generating configuration/Applications/com.chevron.wd_xcs.applications.Xi_CCSApp/Xi_CCSApp.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
    <b>     [wdgen] WARNING: [Warning] Generation of PublicPartFileList.xml failed: null</b>
         [wdgen] [Info]    Generation finished (2 seconds)
         [wdgen]
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
         [javac] Compiling 58 source files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    Note: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src\packages\com\chevron\wd_xcs\models\proxies\CVXSAMSI_CCSearchBindingStub.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
         [timer] Java compiler finished in 2.781s
    [wdminimize] Start minimizer for project classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    [wdminimize] external classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\activation\_comp\gen\default\public\default\lib\java\activation.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jce_export.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jsse.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_smime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_ssl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\w3c_http.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxm-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxrpc-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\saaj-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\webservices_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\boot.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\iq-lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\tc_sec_wssec_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\util.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\webservices_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\mail\_comp\gen\default\public\default\lib\java\mail.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\sapxmltoolkit\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    <b>       [Ant] java.lang.reflect.InvocationTargetException
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           [Ant]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           [Ant]      at java.lang.reflect.Method.invoke(Method.java:324)
           [Ant]      at com.tssap.util.xml.DOMAccessInQMy.parse(DOMAccessInQMy.java:122)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parseConfigurationFile(PublicParts.java:55)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parsePublicParts(PublicParts.java:70)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyze(PublicPartAnalyzer.java:171)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyzePublicPartFileList(PublicPartAnalyzer.java:28)
           [Ant]      at com.sap.tools.webdynpro.smart.WDClassFileMinimizer.initialize(WDClassFileMinimizer.java:83)
           [Ant]      at com.sap.tools.webdynpro.smart.ClassFileMinimizerTask.execute(ClassFileMinimizerTask.java:155)
           [Ant]      at org.apache.tools.ant.Task.perform(Task.java:341)
           [Ant]      at org.apache.tools.ant.Target.execute(Target.java:309)
           [Ant]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
           [Ant]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
           [Ant]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:124)
           [Ant]      at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:67)
           [Ant]      at com.sap.tc.buildplugin.PluginVersion1WrapperAction.execute(PluginVersion1WrapperAction.java:32)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginVersion1(PluginHandlerImpl.java:676)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:627)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:214)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1386)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5111)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
           [Ant]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
           [Ant] Caused by: java.io.FileNotFoundException: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\PublicPartFileList.xml (The system cannot find the file specified)
           [Ant]      at java.io.FileInputStream.open(Native Method)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:106)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:66)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
           [Ant]      at java.net.URL.openStream(URL.java:913)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:211)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:270)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:331)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:92)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:24)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:69)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:19)
           [Ant]      ... 27 more</b><b>[wdminimize] ERROR: failed to parse public part file list
    [wdminimize] ERROR: Non Fatal Error: failed to analyze</b> public part definitions, minimizer skipped
    [wdminimize] WARNING: Minimization skipped due to non fatal errors (see above). Classes have not been touched.
         [timer] Class minimizer finished in 0.063s
    prepareStructure:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\srclib
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd\datatypes
          [echo] Copy mimes from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/mimes to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
          [copy] Copying 4 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [echo] Copy configurations sources from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copied 3 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy config files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copying 2 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy src files from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/classes
          [copy] Copying 17 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [echo] Copy deploy files
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF
          [echo] creating source code archive
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java\src.zip
         [timer] Structure preparation finished in 0.578s
    package:
          [echo] Package files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\app.jar
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\chevrondcwd_xcs.wda
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [echo] Create deploy file chevrondcwd_xcs
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20041217.1600 / JarSL version 20041217.1600
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy\chevrondcwd_xcs.ear with compression
         [timer] JarSAP finished in 0.094s
    createPPs:
          [echo] * Web Dynpro Model Entities for PublicPart: pp_test_sda *
          [copy] Copying 16 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\pp\pp_test_sda
          [echo] * Create PP jar pp_test_sda.jar *
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java
           [jar] Building jar: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java\pp_test_sda.jar
          [echo] Generating Entity References for Public Part: pp_test_sda
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java
           [zip] WARNING: skipping zip archive C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java\src.zip because no files were included.
        [delete] Deleted 2 directories from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda
        [delete] Deleting directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [timer] Public parts created in 0.203s
    build:
    Ant build finished OK
    Ant build finished at 2006-01-10 22:30:10 GMT+05:30 (IST), Duration: 8 seconds
    Cleaning up.
    Packages com.chevron.wd_xcs.models.proxies com.chevron.wd_xcs.models.proxies.types are not reserved for DC : dc/wd_xcs.
    Due to this Build of DC B fails.
    can any body help why that xml is not genrated in DC A

    Hi Jain,
    is the error message that the public part is not found prefixed with [dcmake]? If yes that rather points in the direction that there is a problem with the metadata information. (PP name not correctly spelled, renamed after initial creation, perhaps even some problems with upper/lower-case letters depending on your platform.)
    What SP are you using? The log looks like some rather old build plugins are used on a newer NWDI installation.
    The warning from the [wdgen] task and the subsequent failure of the [wdminimizer] can be ignored. "ERROR: Non Fatal Error" is a bit quaint, but it really is not fatal. It just means that the minimizer didn't find the data required to operate. The [wdgen] warning means that the WebDynpro generator could not write the information. So the jar files in your public part are maybe a bit bigger than necessary but that's all.
    Best regards,
    Marc

  • How to access XML files on public part of an external library DC?

    Hi,
    I would like to put xml and xsd files into a public part of an external library DC, so that I can access these files within other DCs. But I don't know the path which I have to use in the other DCs, e.g. for creating a File object from such xml or xsd files. What do I have to do to get this running?
    I'm using NetWeaver CE 7.2 for Java.
    Thanks in advance for your help!

    An External Library DC is only intended to include jars. Using a Java DC may be a better idea, unless you put your xml files into a jar first (but you'd need a Java DC for that...).

  • How to make a webdynpro component to be as a public part of a DC?

    Hi All,
         I've created 2 java web dynpro DCs : DC_A and DC_B in both the same software component.
         I want to a component of DC_B, let's call it Comp_B, to be the "Used Web Dynpro Component" of Comp_A in DC_A.
         I've done the following work:
         1. Expose the Comp_B to be the public part of DC_B
         2. Add DC_A to the Access List of Comp_B
         3. Add DC_B to the "Used DCs" list of DC_A
    But when I use the "Embed an existing component" function of Comp_A, I cannot find the Comp_B of DC_B.
    Anyone can help me?
    Thanks,
    YiNing

    Hi ,
       1) Right click the component B and declare the component B  of DC B to the public part.(Add to the public part)
       2) Now go to Component A , Right Click Used COmponents>Development Component>Show in--> Component Properties .
    then click the Dependicies Tab and click ADD
    here you have add the Component B  From the "MYComponents" Which is Exposed to the public part, and click next.(Configure dependicies as you wish ie Design Time .Deploy Time , Run Time )
    3) After you added the component we have to build it.Right Click the Componenet A
         Used Components>Development Component>Build
    4) Now declare the Component Usage
       Right Click the Componenet A
         Used Components-->Add Used Component
        Now give the Component Usage Name (for eg ComponentBInst) and select Component B
    Now Exchange of data will take place between the component by Context of the interface controller

  • Error in packing Public Part

    Hello Frnds,
    i have a 3 DC's .
    1. Dictionary DC
    2. EJB module project DC
    3. EJB Application DC
    i have exposed all the tables in the public part of the Dictionary DC. And added those public part into used DC of EJB module project DC. And EAR DC have the reference of EJB module project DC.
    When i am creating projects from inactive workspace , while creating the EAR DC it is giving error .. Failed to pack the public part.
    Error...
    <b>Failed to pack public part: Couldn't delete old file \.dtc\0\DCs\lti.com\inspire\jd_ddic\_comp\gen\default\ public\JD_PublicPart\lib\java\lti.cominspirejd_ddic~JD_PublicPart.jar</b>
    Regards
    Shobhan

    Hi Shobhan,
    what version of SAP_BUILDT are you using? Your problem matches SAP Note 913829. The issue was explicitly fixed for NW04 SP13 and SP14.
    Best regards,
    Marc

  • Does not support public parts with purpose assembly...

    Hi,
    When building a component, I'm getting the following error:
    Server Component/Library DC does not support public parts with purpose 'assembly'.
    Error: Build stopped due to an error: Server Component/Library DC does not support public parts with purpose 'assembly'.
    Build plugin finished at 2011-03-24 12:12:40 GMT+01:00 (CET)
    Total build plugin runtime: 0.311 seconds
    Build finished with ERROR
    To be more precise, one dc uses another from a public part that is "assembly" - so it's made the way it should be (both dc's are libraries, one java dc and the second one is server library)

    Hi,
    we are with NWDS 7.20 but afaik the "J2EE Server Component Library" in your version was replaced by Enterprise Application DCs in the meantime, so it is quite simple:
    An assambly PP on a J2EE Server Component Library really does not make sense. The J2EE Server Component Library is the final assembly unit. You may use such a DC in two ways:
    1. You want to use the classes that are bundled into the J2EE Server Component Library for compilation in another DC (Java or EJB). To achieve this you may create a COMPILATION PP on the J2EE Server Component Library that references compilation PP e.g. of your  java DC. (The alternative is to let the using java DC directly reference the compilation PP of your Java DC.)
    2. You have another assembly unit - e.g. an Enterprise application or another J2EE Server Component Library - that needs the classes in your J2EE Server Component Library at runtime. This is done by an application reference (in 7.20 defined in META-INF/application-j2ee-engine.xml of the DC that uses your J2EE Server Component Library). At runtime, the result is that your (initial) J2EE Server Component Library is the "parent class loader" of a using DC.
    So indeed, there is no need for a PP of type assembly for a J2EE Server Component Library. This DC does not contrubute anything for assembly into another DC.
    Rework your dependencies and PPs. [This PDF document|http://www.google.de/url?sa=t&source=web&cd=21&ved=0CBwQFjAAOBQ&url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Findex%3Frid%3D%2Flibrary%2Fuuid%2F60d99678-1a29-2d10-94b4-9d9a67b7199b%26overridelayout%3Dtrue&ei=C1aSTZzgHsj0sga6l53QBg&usg=AFQjCNFGx2NeVkfWlnh0wGKsMasL95g18A] may be helpful.
    Cheers,
    Rolf

  • Import of DC ignored, needed to fix prob: DC broken ("HAS NO PUBLIC PART")

    Hello,
    I have a DC that fails to build.  The request log flags the DC as BROKEN immediately without a compile and reads as follows:
                    DC 'ibm.com/bh/cnfg_ses' in SC 'ibm.com_BHCNFG-SES_1' cannot be built and will be marked as BROKEN.
                    Used DC 'sap.com/cdev/factory_jee' HAS NO PUBLIC PART 'ejbjar'.
                    [DC '3989' variant 'default'][SCID=3182] using [PP 'ejbjar' of DC 3659 variant 'default'][SCID=3177][last successful build: 89751]
    This DC, though, was imported previously and has this public part.  This built before.  Something happened to the system that caused it now to not be found.  I don't care why (yet).  I want to fix this.  I think I need to import again (yes?).
    When I import again, the import request log reads:
            The following DCs are being removed from the request as their imported assemblies do not have any relevant changes and force-import option is not set:
            Development Component
         "sap.com/cdev/factory_jee" in compartment "ibm.com_BHCNFG-BM_1" attached to request 79,328
         [scID: 3,177, dcID: 3,659, parent dcID: 0, current state: OK, action: IMPORTED]
    How do I force-import this DC or at least get the imported DC to no longer be ignored?
    Is this the right course of action or am I missing something?
    Please advise.

    Q: you mean the public part of the dc was existed when it is firstly transported to the target track, but for some reason unkown it is disappeared now?
    A: Yes, the public part is now not available.  CBS shows that it is there, but if you try to "Download public part archive" or compille a DC that references this public part it fails.
    The "Download public part archive" action fails with the following response:
    &lt;CBSError&gt;
    &lt;Code&gt;PP_UNKNOWN&lt;/Code&gt;
    com.sap.tc.cbs.api.NoSuchPublicPartException: Development component 'cdev/factory_jee' of component vendor 'sap.com' does not contains public part 'client'!
         at com.sap.tc.cbs.api.impl.BSState.getPPA(BSState.java:1043)
         at com.sap.tc.cbs.receiver.ArchiveServlet$SilentArchiveHandlerStrategy.getPPA(ArchiveServlet.java:2551)
         at com.sap.tc.cbs.receiver.ArchiveServlet.getPPA(ArchiveServlet.java:1531)
         at com.sap.tc.cbs.receiver.ArchiveServlet.doGet(ArchiveServlet.java:134)
    &lt;Trace&gt;
    &lt;/Trace&gt;
    &lt;/CBSError&gt;
    Q: How often you transport your sc between the track?
    A: As often as twice a week as we are in heavy active development.
    Q: can you check this dc sap.com/cdev/factory_jee which maybe itself is broken?
    A: com.sap/cdev/factory_jee dc and all the rest of the DC's imported in this SC all show as not broken.
    Regards,
    John

  • How to convert java class to dll file for using in Microsoft Technology(.n)

    hey hemmj !!!!!!
    nice replying , first of all i d like to say thanks for response me so frequently..... i like such type of guy... i d never forget ur online support.
    hey buddy, i ve a problem with applet application...
    i m working on java chat server build on swing applet. As it is chat server, it is divided into two parts, one is server application and other is client application. I want to run this server app on the client server and the basic thing with this site is that it is running on .net platform(Microsoft). and the other app ll running on the client machine or end user. Now the problem is that this site would run only if the server app ll be run on server. This server app ll open the socket of server, which ll listen the request of the user...... So, the requirement is to convert this java sever class file into dll file and register this dll file with the IIS server.So, It run and stop with the IIS server.
    I ve already search the way to convert the java class file into dll file. This is possible in such way........... below code is for the java class file...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class chatServer
    public static void main(String args[]) throws Exception
                        ServerSocket sersoc=new ServerSocket(1234);// Any port number above 1000 should do
    // as most ports below 1000 are used by system
    Vector socvec=new Vector();
    String data="";int i,j=0;
    BufferedReader in;
    //System.out.println("Listening of port " + sersoc.getLocalPort());
    //System.out.println("Waiting for connections...");
    while(true)
    Socket soc=sersoc.accept();
    socvec.addElement(soc);
    chatServerReadThread csrt=new chatServerReadThread(socvec, soc);
    in=new BufferedReader(new InputStreamReader(soc.getInputStream()));
    PrintStream out=new PrintStream(soc.getOutputStream());
    out.println("Connected to chat server");
    out.flush();
    data= in.readLine();
    for(i=0;i<socvec.size();i++)
    soc=(Socket)socvec.elementAt(i);
    out=new PrintStream(soc.getOutputStream());
    out.println(data + " connected");
    out.flush();
    //System.out.println(data + " connected");
    csrt.start(); // error is comming from here..... plz help me.
    class chatServerReadThread extends Thread
    Vector socvec;
    PrintStream out;
    chatServerReadThread(Vector socvec, Socket soc)
    this.socvec=socvec;
    try
    out=new PrintStream(soc.getOutputStream());
    }catch(Exception e){}
    public void run()
    try
    String data;
    Socket soc;
    BufferedReader in;
    while(true)
    for(int i=0;i<socvec.size();i++)
    soc=(Socket)socvec.elementAt(i);
    in=new BufferedReader(new InputStreamReader(soc.getInputStream()));
    if(in.ready())
    try
    data=in.readLine();
    if(data.charAt(0) == ']')
    data = in.readLine() + " exited";
    //System.out.println(data);
    socvec.removeElement(soc);
    for(int e=0;e<socvec.size();e++)
    soc=(Socket)socvec.elementAt(e);
    out=new PrintStream(soc.getOutputStream());
    out.println(data);
    out.flush();
    else
    for(int e=0;e<socvec.size();e++)
    soc=(Socket)socvec.elementAt(e);
    out=new PrintStream(soc.getOutputStream());
    out.println(data);
    out.flush();
    }catch(Exception e){socvec.removeElement(soc);}
    }catch(Exception e){e.printStackTrace();}
    first i ve made the jar file of this class
    jar cvf chatServer.jar chatServer.classafter getting the jar chatServer.jar. I ve opened the .net dos prompt and
    type this command which ll make dll file automatically....
    > jbimp /t:library chatServer.jar
    And you'll see the following output:
    Microsoft (R) Java-language bytecode to MSIL converter version 1.1.4322.0
    for Microsoft (R) .NET Framework version 1.1.4322
    Copyright (C) Microsoft Corp 2000-2002. All rights reserved.
    Created chatServer.dll
    I cant get the problem origin from where it is comming, when i tried to convert it into .dll file it shown an error that, it did not recongnized the method in first class
    public static void chatServerReadThread.start() method
    is not recognized by .net dos prompt commnad. But when i omit this method it gets created the .dll file. This start method is basically the default method of thread class that run the thread from the same class..
    By vewing the code u can visulize the thing,, i ve marked the code from where the error is comming.
    Plz do it as soon as possible, i ll waiting for ur reply......
    I ll be really thanking u for that....
    Thanx and regards
    Niraj Kumar Singh

    I wonder if this will work:
    jbimp /t:exe chatServer.jar
    Your chatServer is an application that can be started from the commandline.
    A dll is a library to be used in com, com+, other executables or ....

  • COMMUNICATION BETWEEN JAVASCRIPT AND JAVA APPLET: US$20 AWARD FOR SOLUTION!

    COMMUNICATION BETWEEN JAVASCRIPT AND JAVA APPLET PROBLEM (Easy Filter Java Applet) -
    US$20 TO ANYONE WHO CAN RESOLVE THE PROBLEM
    To forum visitors:
    I am prepared to pay a standard shareware fee of US$20 to a user who can resolve this technical problem.
    If your advice resolves the problem, I'll forward the payment to your postal address (include your
    address with your reply, and also your email address)
    I am attempting to enable a HTML button (using Javascript's onClick command) to directly input a number into one of the parameter text boxes in the Easy Filter Java applet (ie, enter a new color value number in the text field of the standard Colors Multiplicator Filter interface).
    The applet is Freeware and can be downloaded at: http://www.javazoom.net/applets/easyfilter10/EasyFilter10.html
    (It is a very effective bitmap display and editing utility)
    To achieve this, I am trying to access the part of the applet that defines and sets the textbox. The text box is defined in the .class file by accessing the parameter details in the genericfilter.txt file (accompanies the .class files). I need to access 'private String appletInitialize()' and then one of the 'textFieldParameters' which sets the textbox.
    I understand the basic syntax for referencing the applet:
    document.appletname.setString("An example"). However, accessing the text fields in this applet is more complex!!
    Please can you recommend the correct Javascript syntax to achieve communication with the applet.
    Thank you for your kind assistance.
    JM Graham
    [email protected]
    The Java source code for the applet: EasyFilter.class
    # Easy Filter - E.B/JavaZOOM 1999 #
    # Contact: [email protected] #
    # http://javazoom.hypermart.net #
    /* Originally compiled from EasyFilter.java */
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import java.applet.Applet;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.awt.image.MemoryImageSource;
    import java.awt.image.PixelGrabber;
    import java.util.Vector;
    public synchronized class EasyFilter extends Applet implements KeyListener
    private String paramFileName;
    private Color bgColor;
    private Color fgColor;
    private Color parColor;
    private Color sepColor;
    private Color titleColor;
    private Color helpColor;
    private int WinWidth;
    private int WinHeight;
    private String title;
    private String logoFileName;
    private String originalImageFileName;
    private String filteredCaption;
    private String originalCaption;
    private Vector paramsName;
    private Vector paramsValue;
    private Vector paramsComment;
    private Panel panelParameters[];
    private Label labelParameters[];
    private TextField textFieldParameters[];
    private Label labelComments[];
    private int nbParameters;
    private ScrollPane scrollPaneParams;
    private Panel panelParams;
    private Image theLogo;
    private Image theOriginalImage;
    private Image theFilteredImage;
    private int theOriginalPixelArray[];
    private int logoWidth;
    private int logoHeight;
    private int imageWidth;
    private int imageHeight;
    private drawCanvas canvasTitle;
    private Panel panelTitle;
    private Label labelTitle;
    private Panel panelImages;
    private Panel panelOriginalImage;
    private drawCanvas canvasOriginalImage;
    private Label labelOriginalImage;
    private Panel panelFilteredImage;
    private drawCanvas canvasFilteredImage;
    private Label labelFilteredImage;
    private Panel panelHelp;
    private Label labelHelp;
    private int Yspc;
    private FilterImplementation theFilter;
    public void init()
    String string = null;
    string = appletInitialize();
    setBackground(bgColor);
    if (string != null)
    removeAll();
    setBackground(Color.white);
    setForeground(Color.black);
    Label label = new Label(new StringBuffer("Error: ").append(string).toString(), 1);
    Panel panel = new Panel();
    panel.add(label);
    add(panel);
    setLayout(new FlowLayout(1, 5, Yspc));
    public void keyPressed(KeyEvent keyEvent)
    panelHelp.removeAll();
    boolean flag = true;
    if (KeyEvent.getKeyText(keyEvent.getKeyCode()).equals("Enter"))
    for (int i = 0; i < nbParameters; )
    try
    paramsValue.setElementAt(new Double(textFieldParameters.getText()), i);
    i++;
    catch (NumberFormatException e)
    labelHelp.setText(labelParameters[i].getText() + ": Not a Number");
    flag = false;
    break;
    if (flag == 1)
    labelHelp.setText(" .... Running, please wait .... ");
    labelHelp.setAlignment(1);
    panelHelp.add(labelHelp);
    panelHelp.doLayout();
    theFilter.updateParameters(paramsValue);
    theFilter.computeFilter();
    theFilteredImage = createImage(new MemoryImageSource(theFilter.getFinalImageWidth(), theFilter.getFinalImageHeight(), theFilter.getFinalImageBuffer(), 0, theFilter.getFinalImageWidth()));
    canvasFilteredImage.setImage(theFilteredImage);
    canvasFilteredImage.setBounds(0, 0, theFilter.getFinalImageWidth(), theFilter.getFinalImageHeight());
    canvasFilteredImage.repaint();
    panelHelp.removeAll();
    labelHelp.setText("- Done -");
    else
    labelHelp.setText("- Press Enter to run the Filter -");
    labelHelp.setAlignment(1);
    panelHelp.add(labelHelp);
    panelHelp.doLayout();
    public void keyReleased(KeyEvent keyEvent)
    public void keyTyped(KeyEvent keyEvent)
    private String appletInitialize()
    WinWidth = size().width;
    WinHeight = size().height;
    if (getParameter("bgcolor") == null)
    bgColor = new Color(0, 0, 40);
    else
    bgColor = new Color(Integer.parseInt(getParameter("bgcolor"), 16));
    if (getParameter("fgcolor") == null)
    fgColor = new Color(255, 255, 255);
    else
    fgColor = new Color(Integer.parseInt(getParameter("fgcolor"), 16));
    if (getParameter("sepcolor") == null)
    sepColor = new Color(158, 128, 128);
    else
    sepColor = new Color(Integer.parseInt(getParameter("sepcolor"), 16));
    if (getParameter("parcolor") == null)
    parColor = new Color(24, 24, 24);
    else
    parColor = new Color(Integer.parseInt(getParameter("parcolor"), 16));
    if (getParameter("titlecolor") == null)
    titleColor = new Color(255, 255, 0);
    else
    titleColor = new Color(Integer.parseInt(getParameter("titlecolor"), 16));
    if (getParameter("helpcolor") == null)
    helpColor = new Color(0, 255, 255);
    else
    helpColor = new Color(Integer.parseInt(getParameter("helpcolor"), 16));
    paramsName = new Vector();
    paramsValue = new Vector();
    paramsComment = new Vector();
    paramFileName = getParameter("paramfile");
    String string = readParams(paramFileName);
    if (string != null)
    return string;
    MediaTracker mediaTracker = new MediaTracker(this);
    theOriginalImage = getImage(getDocumentBase(), originalImageFileName);
    mediaTracker.addImage(theOriginalImage, 0);
    if (logoFileName != null)
    theLogo = getImage(getDocumentBase(), logoFileName);
    mediaTracker.addImage(theLogo, 1);
    try
    mediaTracker.waitForAll();
    catch (InterruptedException e1)
    return "Error while loading image";
    if (mediaTracker.isErrorAny())
    return "Error while loading image";
    if (logoFileName != null)
    logoWidth = theLogo.getWidth(this);
    logoHeight = theLogo.getHeight(this);
    imageWidth = theOriginalImage.getWidth(this);
    imageHeight = theOriginalImage.getHeight(this);
    theOriginalPixelArray = new int[imageWidth * imageHeight];
    PixelGrabber pixelGrabber = new PixelGrabber(theOriginalImage, 0, 0, imageWidth, imageHeight, theOriginalPixelArray, 0, imageWidth);
    try
    pixelGrabber.grabPixels();
    panelTitle = new Panel();
    canvasTitle = new drawCanvas();
    labelTitle = new Label();
    panelTitle.setLayout(new FlowLayout(1, 10, Yspc));
    add(panelTitle);
    panelTitle.setBackground(bgColor);
    panelTitle.add(canvasTitle);
    canvasTitle.setImage(theLogo);
    canvasTitle.setBounds(0, 0, logoWidth, logoHeight);
    labelTitle.setText(title);
    catch (InterruptedException e2)
    return "Internal Error, Try RELOAD !";
    if (title != null)
    panelTitle.add(labelTitle);
    labelTitle.setForeground(titleColor);
    labelTitle.setFont(new Font("Dialog", 1, 14));
    panelImages = new Panel();
    panelOriginalImage = new Panel();
    canvasOriginalImage = new drawCanvas();
    labelOriginalImage = new Label();
    panelFilteredImage = new Panel();
    canvasFilteredImage = new drawCanvas();
    labelFilteredImage = new Label();
    panelImages.setLayout(new FlowLayout(1, 10, Yspc));
    add(panelImages);
    panelImages.setBackground(bgColor);
    panelOriginalImage.setLayout(new BorderLayout(0, 2));
    panelImages.add(panelOriginalImage);
    panelOriginalImage.setBackground(Color.black);
    panelOriginalImage.add("Center", canvasOriginalImage);
    canvasOriginalImage.setImage(theOriginalImage);
    canvasOriginalImage.setBounds(0, 0, imageWidth, imageHeight);
    labelOriginalImage.setText(originalCaption);
    labelOriginalImage.setAlignment(1);
    panelOriginalImage.add("South", labelOriginalImage);
    labelOriginalImage.setBackground(Color.lightGray);
    labelOriginalImage.setForeground(Color.black);
    labelOriginalImage.setFont(new Font("SansSerif", 0, 10));
    panelFilteredImage.setLayout(new BorderLayout(0, 2));
    panelImages.add(panelFilteredImage);
    panelFilteredImage.setBackground(Color.black);
    panelFilteredImage.add("Center", canvasFilteredImage);
    theFilter = new FilterImplementation(paramsValue, theOriginalPixelArray, imageWidth, imageHeight);
    theFilter.computeFilter();
    theFilteredImage = createImage(new MemoryImageSource(theFilter.getFinalImageWidth(), theFilter.getFinalImageHeight(), theFilter.getFinalImageBuffer(), 0, theFilter.getFinalImageWidth()));
    canvasFilteredImage.setImage(theFilteredImage);
    canvasFilteredImage.setBounds(0, 0, theFilter.getFinalImageWidth(), theFilter.getFinalImageHeight());
    labelFilteredImage.setText(filteredCaption);
    labelFilteredImage.setAlignment(1);
    panelFilteredImage.add("South", labelFilteredImage);
    labelFilteredImage.setBackground(Color.lightGray);
    labelFilteredImage.setFont(new Font("SansSerif", 0, 10));
    scrollPaneParams = new ScrollPane(0);
    panelParams = new Panel();
    nbParameters = paramsName.size();
    int i = WinHeight - (33 + 7 * Yspc + logoHeight + imageHeight + 23);
    if (i < Yspc + 2 + 24)
    i = Yspc + 2 + 24;
    scrollPaneParams.setBounds(0, 0, WinWidth - 10, i);
    panelParams.setLayout(new GridLayout(nbParameters, 1, 5, Yspc / 2));
    scrollPaneParams.add(panelParams);
    panelParams.setBackground(sepColor);
    panelParameters = new Panel[nbParameters];
    labelParameters = new Label[nbParameters];
    textFieldParameters = new TextField[nbParameters];
    labelComments = new Label[nbParameters];
    for (int j = 0; j < nbParameters; j++)
    panelParameters[j] = new Panel();
    panelParameters[j].setLayout(new FlowLayout(0, 5, 1));
    panelParams.add(panelParameters[j]);
    panelParameters[j].setBackground(parColor);
    labelParameters[j] = new Label();
    labelParameters[j].setText((String)paramsName.elementAt(j));
    panelParameters[j].add(labelParameters[j]);
    labelParameters[j].setForeground(fgColor);
    labelParameters[j].setFont(new Font("Dialog", 1, 12));
    textFieldParameters[j] = new TextField(8);
    textFieldParameters[j].setText(paramsValue.elementAt(j).toString());
    panelParameters[j].add(textFieldParameters[j]);
    textFieldParameters[j].setBackground(fgColor);
    textFieldParameters[j].addKeyListener(this);
    labelComments[j] = new Label();
    labelComments[j].setText((String)paramsComment.elementAt(j));
    panelParameters[j].add(labelComments[j]);
    labelComments[j].setForeground(fgColor);
    add(scrollPaneParams);
    panelHelp = new Panel();
    labelHelp = new Label();
    panelHelp.setLayout(new FlowLayout(1, 5, 0));
    add(panelHelp);
    panelHelp.setBackground(bgColor);
    labelHelp.setText(" Change colour values and press enter ");
    labelHelp.setAlignment(1);
    panelHelp.add(labelHelp);
    labelHelp.setForeground(helpColor);
    return null;
    private String readParams(String string1)
    Object object1;
    String string2;
    if (string1 == null)
    return "Filename of filter's parameters needed";
    try
    URL uRL = new URL(getDocumentBase(), string1);
    URLConnection uRLConnection = uRL.openConnection();
    uRLConnection.setDoInput(true);
    uRLConnection.setUseCaches(false);
    BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(uRLConnection.getInputStream()));
    string2 = null;
    catch ()
    return object1.getMessage();
    catch ()
    return object1.getMessage();
    catch ()
    return object1.getMessage();
    if (bufferedReader != null)
    Object object2;
    try
    for (object2 = bufferedReader.readLine(); object2 != null && string2 == null; object2 = bufferedReader.readLine())
    string2 = extractFormat(object2);
    catch ()
    string2 = object2.getMessage();
    finally
    bufferedReader.close();
    if (string2 != null)
    return string2;
    else
    return null;
    private String extractFormat(String string1)
    if (string1.length() == 0)
    return null;
    int i = 0;
    int j = string1.indexOf(" ", i);
    if (j == -1)
    return "Bad format error (space missing)";
    String string2 = string1.substring(i, j);
    if (string2.equals("TITLE"))
    i = j;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in TITLE missing)";
    i = j + 1;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in TITLE missing)";
    title = string1.substring(i, j);
    return null;
    if (string2.equals("ORIGINALCAPTION"))
    i = j;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in ORIGINALCAPTION missing)";
    i = j + 1;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in ORIGINALCAPTION missing)";
    originalCaption = string1.substring(i, j);
    return null;
    if (string2.equals("FILTEREDCAPTION"))
    i = j;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in FILTEREDCAPTION missing)";
    i = j + 1;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in FILTEREDCAPTION missing)";
    filteredCaption = string1.substring(i, j);
    return null;
    if (string2.equals("LOGO"))
    i = j + 1;
    j = string1.length();
    logoFileName = string1.substring(i, j);
    return null;
    if (string2.equals("ORIGINALIMAGE"))
    i = j + 1;
    j = string1.length();
    originalImageFileName = string1.substring(i, j);
    return null;
    if (!string2.equals("PARAM"))
    return null;
    i = j;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format in a PARAM line";
    i = j + 1;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format in a PARAM line";
    paramsName.addElement(string1.substring(i, j));
    i = j + 2;
    j = string1.indexOf(32, i);
    if (j == -1)
    return "Bad format in a PARAM line";
    try
    paramsValue.addElement(new Double(string1.substring(i, j)));
    j = string1.indexOf(34, i);
    catch (NumberFormatException e)
    return "Bad format in a PARAM line";
    if (j == -1)
    return "Bad format (Double quote in PARAM comment missing)";
    i = j + 1;
    j = string1.indexOf(34, i);
    if (j == -1)
    return "Bad format (Double quote in PARAM comment missing)";
    paramsComment.addElement(string1.substring(i, j));
    return null;
    public EasyFilter()
    logoHeight = 33;
    Yspc = 5;

    Addition to my above submission
    To clarify, I'll offer the US$20 to the FIRST person who offers me a workable solution to the problem, not to everyone!!!
    JMGRAHAM

  • Could not find used public part

    Hi all,
    I created a new product in the composite designer with a few Visual Composer Interfaces.
    Because our context model changed, I deleted the existing UI, and created a new VC UI (generated from a Process model)
    When I want to build everything, I get the exception:
      ERROR: Check for used DCs failed: Could not find used public part "40dbb712586011df82d500059a3c7800" of  test.com/product/ui/vc (PRODUCT_SC) : Used public part not available (Used public part not available)
       Build failed with errors.
    Apparantly the guid from the old VC UI was not completly removed.
    I found that GUID back in files:
    .dcdef
    PublicPartFileList.xml
    and changed those to the new guid.
    But still having the same problem...
    Can I change this in another simple way?
    regards,
    Hans

    Hi Hans,
    could you switch to the Development Infrastructure perspective and open the view called Component Properties for the VC DC? Most likely the generated public part is still present. I guess you can simply delete it as the corresponding component has been deleted as well.
    This public part should be present for the DC of type "Visual Composer Composition Unit Interface".
    Which version of the NWDS are you using? I think what I´m describing is actually only a workaround, but would think that the pulblic part deletion should have happened automatically.
    Best regards,
    Stefan

Maybe you are looking for

  • No Sound on C

    Hey everybody, I really need help. I connected my Audigy2 ZS Platinum Pro to my nVidia GeForce FX5200-VT28(mb). For some reason though, I don't get sound when I watch tv on my computer. I get the picture and everything works, I can switch channels, e

  • Ipad is not showing in itunes

    Why won't my third generation Ipad show in itunes.  I just purchased a new hardware for my macbook pro & also purchased some other items from the app store, now I want to sync them to my ipad & it wont show up in itunes. What to do?

  • Folder size of Local Settings

    The Local Settings folder of a user profile (OS:Windows XP SP3) of 8.53GB. but the total folders' size in the Local Settings is not even 1.5GB. Can any one tell me how could it happen apart from Virus point of view. Any hidden folders are there? - Th

  • [SOLVED] [gnome 3.16] Can't start GDM/Mutter

    After updating, I cannot start GDM anymore. I edited /etc/gdm/custom.conf and uncommented "Enable=true" to enable debugging. The output of "sudo gdm" is this (it hangs, I mean the log starts over and over again indefinitely... so I kill it using CTRL

  • Problems during backup

    When I try to back up my ipod (2nd gen) to the computer, it gets about half way and says "iTunes could not back up the iPod 'iPod touch' because the backup could not be saved on the computer".  Is there any way to fix this and if so how? I do have th