Build Web Dynpro project EAR without Developer Studio

Is it possible to build Web Dynpro project EAR file without Developer Studio? All possible solutions are welcome (console, scripts, java etc.) I want to integrate the project into CI Server and try to find way for automatic build.
Thanks.

Yes. Sure. But as i can see, during generation of EAR there are some files like (Project)App.xml, (Project)Component.xml that regenerated each time i create EAR from Developer Studio. I don't know the logic of creation of these files. Is there standard ant build script from SAP which i can use?
Edited by: Artem Pasko on Dec 26, 2007 2:02 PM

Similar Messages

  • Problem in creating a web dynpro application in netweaver developer studio.

    Hi,
    I have installed Netweaver developer studio. while creating a webdynpro project by selecting File->new->project, It doesn't display "web dynpro" option in the project wizard dailogue box.
    Please suggest how to resolve this issue.
    Thanks.

    Hi Babu,
    Make sure following plugin folder
    "com.sap.ide.webdynpro.ui_xx.yy.zz(for ex:com.sap.ide.webdynpro.ui_2.0.0)"
    exists in your ecclipse root folder (for ex:C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\)
    It is responsible for the UI selection elements in File->New Project->WebDynpro selection.
    If it's not there you will have to copy it. check also other webdypro plugins installed correctly. these plugins comes with default installation of SAP WEBAS.
    if all plugins not installed then redo the whole installation but at the same time make sure all plugins installed correctly.
    reward points if usefull
    Thanks
    Praveen

  • Eclipse environment does not appear the options "Web Dynpro Project"

    Hi all,
    I installed the SAP NetWeaver 7.1 Composition Environment SP03
    But in my eclipse environment does not appear the options "Web Dynpro Project" and not "Development Component Project".
    That is, I can not do a Web Dynpro project
    I have to do some more configuration in eclipse, for example, carry some plugin?
    How to do this, please help me
    Thanks,
    Vivian

    Hi,
             I think you are suffering from the problem below.
    Problem Statement:
    No Webdynpro Perspective is Visible
    only perspectives available are
        Debug
        Resource(default)
        Team Synchronizing
    How to Solve:
    There are many ways that this kind of error can occur.
    1.   It may occur due to "improper installation of NWDS"                                        
    How to Check and Resolve :    Is NWDS is displayed in intalled list in Control panel? If 'yes' then it is properly installed. If 'No' then reinstallation is needed.
    2.  It may occur due to "installation of Skeleton alone"
    How to Check:
                                      you can check if your installation includes Web Dynpro by selecting
    Help->Software Updates->Manage Configurations.
    When installing Developer studio 7.1 you only get the bare eclipse installation (Skeleton). You have to add web dynpro and all, after the initial install is complete.
    The installer installs the kernel of the Developer Studio. The kernel contains Eclipse and a few SAP additions, but is not equipped with the SAP features necessary for the Composition Environment. In order to install the required SAP features you have to install the SAP features.
               How to Resolve:
    Updating the NWDS software will resolve the problem.
    Go to Help->Software Updates->Find and Install. This will install the default SAP plugins that came with your NWDS CE 7.1 setup source and also the additional updates that are needed.

  • Error in web dynpro project build

    Hi All,
    My web dynpro project which was running absolutely fine earlier is now facing certain build and deployment problem.
    <b>The build log is as follows:</b>
    Jun 25, 2007 2:16:28 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: sox_p3v1: Build failed for sap.com/sox_p3v1(MyComponents) in variant "default":
    The Build terminated with errors
    Build log -
    Build Plugin Version: 1.6.3 (630_REL) from 03 November 2004 12:47:57
    Start: 25.06.2007 02:16:23
    Temp dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F
    prepare:
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\gen\default\deploy
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gwd\packages
    gen:
        [ddgen]
        [ddgen] [Info]    Property deployment is true: Deployment information is provided!
        [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\src/packages
        [ddgen] [Info]    Property targetpath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F/gdd
        [ddgen] [Info]    Property archivename: sap.com~sox_p3v1
        [ddgen] [Info]    Property vendor: sap.com
        [ddgen] [Info]    Property dcname: sox_p3v1
        [ddgen] [Info]    Property language: Available languages are automatically determined!
        [ddgen] [Info]    Property addpaths ...
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]    Destination directory C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gdd does not exist
        [ddgen] [Info]    Destination directory C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gdd is created
        [ddgen] [Info]    Initialize generation templates from configuration jar:file:/E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/severity.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/parant.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/noanswer.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.assessmemt.noanswer  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/iconproc.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/impact.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.risk.impact  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/effectiveness.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.control.effectiveness  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/likelihood.gsimpletype
        [ddgen] [Warning] Simple type com.sap.hcl.risk.likelihood  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/structRisk.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/structControl.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/issue/structIssue.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/issue/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/structTree.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/structAnswer.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAuditInfo.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAudit.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAuditee.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/QuestionnaireInfo.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/task/structTask.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/task/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/structQuestionnaire.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/simpleTypesResource.properties
        [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
        [ddgen] [Info]    Generation finished (3 seconds)
        [ddgen]
        [wdgen]
        [wdgen] [Info]    Property deployment is true: Deployment information is provided!
        [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\src/packages
        [wdgen] [Info]    Property targetpath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gwd
        [wdgen] [Info]    Property archivename: sap.com~sox_p3v1
        [wdgen] [Info]    Property vendor: sap.com
        [wdgen] [Info]    Property dcname: sox_p3v1
        [wdgen] [Info]    Property language: Available languages are automatically determined!
        [wdgen] [Info]    Property addpaths ...
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]    Initialize generation templates from configuration jar:file:/E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
        [wdgen] [Info]    Generating portalapp.xml
        [wdgen] [Info]    Generating wd.xml
        [wdgen] [Info]    Generating application.xml
        [wdgen] [Info]    Generating application-j2ee-engine.xml
        [wdgen] [Info]    Generating PublicPartFileList.properties
        [wdgen] [Info]    Generating PublicPartFileList.xml
        [wdgen] [Info]    Generation finished (0 seconds)
        [wdgen]
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\classes
        [javac] Compiling 7 source files to C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\classes
    Build with ERRORS
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader.access$001(ExtendedClassLoader.java:21)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader$1.run(ExtendedClassLoader.java:702)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader.findClass(ExtendedClassLoader.java:688)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:173)
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:131)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:835)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
         at org.apache.tools.ant.Task.perform(Task.java:341)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:130)
         at com.sap.tc.buildplugin.techdev.webdynpro.BuildAction.execute(BuildAction.java:79)
         at com.sap.tc.buildtool.PluginHandler.handlePluginCommunication(PluginHandler.java:616)
         at com.sap.tc.buildtool.PluginHandler.execute(PluginHandler.java:220)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1131)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:4713)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:301)
         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:206)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    End: 25.06.2007 02:16:28 (Duration: 4 seconds)

    hi Anubha:
    This isnt a web dynpro error. This is an error regarding the java installtion of your machine. I guess there is a mis match between the JDK and the JRE verions installed. Kindly uninstall the jre and jdk and freshly install jdk 1.4.2_10 and let me know what happens.
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • DC Build Error with Web Dynpro Project

    Hi,
    I have created a DC Project and migrated all the local Web Dynpro project to the DC project which is connected to NWDI.
    When I performed a Development Component Build, I am getting tons of errors like this :
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:26: package com.sap.ip.bi.sdk.dac.result.model does not exist
    import com.sap.ip.bi.sdk.dac.result.model.BITableItem;
                                              ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:27: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionFactory;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:28: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionSpec;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:25: package com.sap.security.api does not exist
    import com.sap.security.api.;*
    ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:29: package com.bhpb.bi does not exist
    import com.bhpb.bi.BITable;
                       ^
    I have included a jar file BIWrapper.jar in the lib folder....
    Does it mean that some of the dependencies jar files is needed in the NWDI?
    For anyone help please.
    Thanks.

    Hi,
    Create an Dc of type external library which contains the BI Wrapper
    and refer this dc from your WD.
    This blog will help you in creating external /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    Regards
    Ayyapparaj

  • Got reading error when deploying a web Dynpro project

    Hi everyone,
    I'm working on NWDS 7.1 CE.  After I synchronized a project (using the "Create Project" option), then Build and Deploy it under the Development Infrastructure perspective, I can run it by choosing the "Run" option of the web Dynpro project's application. But once I chose "Deploy new arcihve and run", I got the following error message:
    [ERROR CODE DPL.DC.3095] A reading error occurred while loading the SDU 'D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/3888/dow.comgcacmpprofitcenterui.ear'.; nested exception is:
         com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException: [ERROR CODE DPL.DC.3388]
    The specified file D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/3888/dow.com~gca~cmp~profitcenter~ui.ear is not a valid SAP deployable unit. In case it is Java Enterprise application, please convert it to SAP compatible deloyable unit first.
    Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Does anyone know what happens here? What's the difference of the Build/Deploy commands under Web Dynpro perspective and under Development Infrastructure perspective? After I made changes to the project, can I just deploy it under the Development Infrastructure perspective?
    Thanks,
    James

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • Using External JARs in a Web Dynpro Project

    Hi,
    I'm having some difficulties building and deploying a Web Dynpro application that uses the Apache JaxMe libraries.  We're using SP11 of Developer Studio and WebAS and we're using JDI Scenario 2+ for building and deployment.  Thus far here's the procedure I followed:
    1) Created a DC of type "External Library"
    2) Added the necessary jars to the "libraries" folder of the External Library DC project (the jars that I added were jaxme2-rt.jar, jaxme2.jar, jaxmeapi.jar, jaxmejs.jar, jaxmepm.jar, jaxmexs.jar, xercesImpl.jar, xml-apis.jar all of which were pulled from the Apache JaxMe implementation download)
    3) For each of the jars in the libraries folder I right-clicked, selected Develoment Component then clicked "Add to public part" 
    Then after reading this note:
    https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000038152005
    I created a J2EE Library Component DC following these steps:
    1) Created a new DC of type J2EE Server Component / Library
    2) Added the External Library DC that I had just created as a "Used DC"
    3) Edited the DC so that it is used a Build Time and Run Time
    Finally I went to the Web Dynpro application and included the J2EE Library Component DC as a Used DC at build time and run time. 
    I was able to build all of the project successfully (doing a DC build for each) then I was able to succesfully deploy the applications to my local development WebAs (by doing a DC deploy for both the J2EE Server Component and the Web Dynpro application)  The problem is that at runtime the Web Dynpro application cannot find the external libraries.  For example, I receive the following error when running the application:
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    The "missing" class is included in one of the jars but for some reason these jars are not accessible to Web Dynpro at runtime. 
    Any help you can provide on this problem is very much appreciated.
    Thanks in advance!
    Jason

    I created the <b>JAR</b> with the following class (structure):
       <b>com.sap.tc.webdynpro.tests.utils.TableSorter.class</b>
    I have followed the steps that was suggested in the forum:
    ==========================================================
    1) creating an Extneral library DC
    2) import the JAR "com.sap.tc.webdynpro.tests.util.jar" to the libraries folder of the External Library DC project
    3) Right-click on the JAR imported to the project and add them to the public part.
    This DC is now ready to be used as a build-time reference that will allow CBS to build the "main" Web Dynpro application that will use the external libraries. Next, we have to create a new Web Dynpro DC to hold the class files here are the steps:
    1) Create a new Web Dynpro DC
    2) Create a new public part, selecting the "Can be packaged into other build results" option
    3) Rename the JARs as Zip files and extrct the full content (folders and class files) to your root folder
    4) Import the folders and files to the src/packages folder
    5) Expand the public part node that was created and select the "Entities" node, right-click it and choose Edit
    6) In the Entity Type list select the "Folder" option then in the selected entities tree pick each of the folders that you imported in step 5 (above)
    7) Now do a DC build and a DC deploy of the project
    Then check-in, activate, and release any activities you have associated with creating these two projects. In the DC perspective, refresh the Active DCs and Inactive DCs to ensure that both new DCs appear in the Active list. Now we have to setup the references to these DCs in our main Web Dynpro application. To do this, follow these steps:
    1) Open the Web Dynpro perspective and right click the Used DCs node then choose "Add Used DC.."
    2) Pick the public part of the External Library DC that we created (first) and set it to have a Build Time dependency
    3) Again, right click the Used DCs node and choose "Add Used DC.." then choose the public part of the Web Dynpro DC that we created and give it a Run Time dependecy (weak) and click finish.
    4) Now, due to what I think is a bug. You must right click on the Web Dynpro "used DC" that you just added in the previous step, and set the run time dependency again (it seems to revert to the default values for some reason)
    5) Now do a DC build and a DC deploy on the "main" web dynpro application.
    6) Check-in, activate, and release any activities associated with adding these references and then others on your team may use the classes in the external libraries within the Web Dynpro project.
    However, when I executed, the following exception occurred:
    ===========================================================
    Error stacktrace:
    java.lang.<b>NoClassDefFoundError</b>: <i>com/sap/tc/webdynpro/tests/utils/TableSorter</i>
         at br.com.embraer.materiais.zdplmm001.view.Zdplmm001_0500View.wdDoModifyView(Zdplmm001_0500View.java:138)
    <b>What's missing????</b>
    Thanks
    Robson Lima
    Sao Paulo - Brazil

  • Migrate Web Dynpro Project to NWDI through DC

    Hi All,
            I have a requirement which i need to migrate the local Web Dynpro projects to NWDI to make it in central location.
    I have developed the Web Dynpro project which is local to my system (includes model creation - deprecated type).
    I need to integrate/migrate these Web Dynpro projects into NWDI.
    As i did copy & paste of src folder and did creating new model after deleting the existing model.
    After these I am able to build the project however I am getting the below error message while deploying it to Sandbox system.
    Error Message:-
    Result
    => deployment aborted : file:/C:/DOCUME1/gssvkria/LOCALS1/Temp/temp8746sap.comhomecountry.ear
    Aborted: development component 'home/country'/'sap.com'/'NWD_FASTPRJ_D'/'20111214124617'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/homecountry.. Reason: Clusterwide exception: Failed to deploy application sap.com/homecountry. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application sap.com/home~country. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Please someone help me to understand this deployment exception and to resolve as well.
    Thanks in advance.
    Rgs,
    Vijay
    << moved by moderator - check out the list of other forums on top of portal forum >>
    Links to other forums
    Edited by: Anja Engelhardt on Dec 14, 2011 1:44 PM

    It seems you are using some DC references in your local DC which are missing on server...
    Please refer :
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c8204dd57f136fe10000000a1553f7/content.htm
    specifically look for "Reload" in above link..
    also refer :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4032dae5-b951-2b10-d380-f4f6bedbbf37?QuickLink=index&overridelayout=true

  • Moving Local Web Dynpro project from Dev to Prod

    Hi,
    i have a scenario where there is a small application to be developed. And m the only developer to work on it.
    I need to a create local web dynpro project for the same and deploy it to the deveopment server. and test it here. However, the client for whom i am developing this service, is based somewhere else. How do i deploy this local application on his production server?
    I dont have JDI architecture here. Can i achieve this without JDI? and How? Which is more feasible -  using JDI or not in my case ?
    Regards,
    Apeksha

    Hi,
    Genrally, it is recommended to work with JDI. But, as you said you have only project that needs to be deployed then you can change the server settings in your NWDS and make it point to the production server.
    Windows>Preferences>SAP J2EE Engine--> <details of your remote production server>
    NOTE: You should have sdm password to deploy this applicaiton.
    Regards,
    Murtuza

  • Access non-DC project from a DC Web Dynpro project

    Hi,
    I have a DC Web Dynpro project that needs to access a non-DC Java project. As I cannot create a public part of the non-DC Java project then add that public part to the used DC list of the DC Web Dynpro project, I add the non-DC Java project to the build path of the DC Web Dynpro project. That way I can do the coding without any issue, but when I build the Web Dynpro DC, I keep getting building error saying that the Web Dynpro DC doesn't see the classes in the non-DC Java project.
    How can I resolve this issue without switching the non-DC Java project to a DC?
    I am on NW04s.
    Thanks and Best Regards,
    Viet

    Hi Viet,
    There is a way to achieve your purpose, but at the same time, Iu2019m not sure that it will be exactly your requirement.  Anyways, herein, Iu2019m providing you a concept which we had used in our earlier project.
    You need to create a java file with the communication parameters for DC and non DC and after that create a jar file. Now, you create an external library DC of this jar file and publish it as public part with complication and assembly.
    Now, use this external library DC in your DC.
    Thanks
    Gautam Singh

  • BW SEM-BPS API functions from a Web Dynpro project in Netweaver

    Hi,
    Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
    Regards,
    Linda Lee

    Hello Linda,
    let me add some more remarks on this topic from the BW-BPS development perspective:
    I completely agree with Marc's statement.
    Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
    1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
    2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
    In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
    Another possibility is to loosly couple several web UIs with the help of the portal.
    To my knowledge, it is not true that BSP web technology will be obsolete shortly. 
    In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
    Regards,
    Tobias Hagen
    Dev. Manager BW-BPS
    SAP NetWeaver BI

  • Query related to Migrating non Dc Web dynpro project to DC.

    Hi All,
    I have the requirement to migrate a non DC Web dynpro project to DC.
    I have a project which involves few models.The models are nothing but BAPIs released as web services. So, when I am trying to do what i intend to do, I am getting compile time errors and I am not able to deploy.
    WHAT I AM DOING?
    I am cerating an empty DC project. I am giving the Name and keeping the domain as basis which comes as the default one.
    Later I am moving to the Navigator tab and trying to copy and paste the packages under src and the model folder.
    Coming back to the web dynpro tab, i am trying to rebuild the newly created DC project. here i am getting thousands of compile time error.I have even tried changing the domain as enterprise portal while creating the DC project. But the result is same.
    Kindly through some lime light on this.Its very urgent and I am still not very clear with componentization in web dynpros.
    Looking forward to you.
    Regards
    DK

    Hi DK,
    Follow this procedure to Migrate Local Web Dynpro to DC Component.
    <b>Creating a New Development Component</b>
    1. Create a new Web Dynpro DC Project [Page 5].
    You create an empty container for a Web Dynpro DC that does not have
    functions. The new DC should include all relevant development objects
    project.
    <b>Do not check the newly created DC into the DTR yet.</b>
    1.Copying Packages from the Local Project
    2. In the Web Dynpro perspective, switch to the Navigator view.
    3. Select the local Web Dynpro project to be migrated and expand the project
    down to the source folder: <My_Local_Project> &#61614;&#61472;src &#61614;&#61472;packages.
    4. Select all packages and choose Copy using the right mouse-click.
    <b>Inserting Packages into the New DC Project</b>
    5. Now choose the DC project that was just created and expand the project structure in
    the Navigator view, again down to the source folder.
    6. Select the Packages node and choose Paste.
    The Add Files to DTR dialog box appears.
    7. Choose OK to confirm your selection.
    8. Assign a DTR activity either by creating a new activity or choosing an existing one.
    Execute Reload
    9. Switch to the Web Dynpro Explorer.
    10. Choose the project node of the DC project and select the Reload function.
    11. In the displayed dialog box, again choose Reload.
    Reload now also reloads Web Dynpro metadata into the new project.
    Building the Project
    12. Execute a local rebuild for the entire DC project. Choose the function Rebuild
    project.
    13. If there are no errors in the task view, execute a DC-based build by choosing the
    function Development Component &#61614;&#61472;Build.
    This build is identical to the central build tool and is required to take dependencies of
    DCs among each other into consideration.
    <b>Result</b>
    You have migrated your local Web Dynpro project into a DC project. You can now deploy the
    new DC into your local environment and test it before you commence checking the assigned
    activity into the DTR.
    After all these steps, when you reload your project, if you happend to see errors in your project. Check few things.
    - All the model classes has been genreated or not.
    - Close the project and open it again, sometimes it works fine.
    - Findout what is the reason for errors, any thing is missing.
    Regards,
    Sridhar
    Message was edited by:
            Sridhar kanchanapalli

  • Converting Web Dynpro project into a Web Dynpro DC

    Hi
    I have a Web Dynpro project created.
    Now I want to convert it into a Web Dynpro DC (Development Component).
    Could anyone tell me if there is a standard procedure to do this?
    Right now, I am following the below procedure:
    Copy all the folders under root folder->src-> packages of Web Dynpro project into root folder->src-> packages of Web Dynpro DC.
    Rebuild the DC.
    But in this procedure I am getting errors (in view code) as the required interfaces (example, IPrivate<<component-name>>.java) are not getting generated when I re-build the DC.
    Could anyone help me with this issue?

    Hi Aditya,
    I have used two way for this and both worked fine for me.
    1. While creating DC project at the end there eill be a check box, which when you tick will show your local dynpro project and you can then import that.
    2. Create DC project after that copy the component of your local dynpro project and paste it on the option where you can create the component of DC project.
    After pasting click next - next so that everything remain in sync.
    After that check if you have any compilation error, check them if they are because of some jar files.. you have to add the library files by using the option -> DC Metadata ->DC Definition ->Used DC.
    If you got no compliation error, then just rename the component ( again click next) and then deploy.
    otherwise you may get deployment error.
    Hope this helps,
    Thanks,
    Namrta

  • Creating Web Dynpro Project in JDI

    Hi,
    I'm having difficulty creating a simple Web Dynpro project in a DC in JDI. I'm trying use Scenario 2+. When I try to build the DC containing the WDP project in the DC View, I get the following error:
    Apr 25, 2005 6:15:48 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: hello: Build failed for meridium.com/hello(meridium.com_APPLICATION_1) in variant "default": Used component not found: sap.com/tc/bi/bp/webDynpro
    In the Web Dynpro perspective of the same project, the project cannot be built until I modify the .classpath file to modify the build path to include all of the jars reference in a WDP project.
    How do I identify the components that are to be used for a Web Dynpro application? Is this done in the SLD? If so, which dependencies should I assign? Are there any step-by-step examples of creating a WDP application in JDI scenario 2+?
    Thanks.
    Rob

    Thanks for your response.
    I took a look at the .dcdef file and it looks like it defines the proper DCs for a WDP project (see below). The problem seems to be that the files defined in these dependencies can't be located. The build error says "Used component not found: sap.com/tc/bi/bp/webDynpro" which is defined in the .dcdef file below. How do I specify where to find the dependent files?
    <?xml version="1.0" encoding="UTF-8"?>
    <development-component
               xmlns="http://xml.sap.com/2002/11/DevelopmentComponent"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://xml.sap.com/2002/11/DevelopmentComponent dcdef.xsd"
               version="1.0.2"
               xmlns:IDX="urn:sap.com:DevelopmentComponent:1.0">
         <name>hello</name>
         <vendor>meridium.com</vendor>
         <caption>Hello </caption>
         <component-type>
              <vendor>sap.com</vendor>
              <type>Web Dynpro</type>
         </component-type>
         <properties>
              <ns0:localization xmlns:ns0="http://xml.sap.com/2003/06/Localization">
                   <ns0:domain>CA</ns0:domain>
                   <ns0:originalLocale>en</ns0:originalLocale>
              </ns0:localization>
         </properties>
         <build-plugin>
              <dc-ref>
                   <name>tc/bi/bp/webDynpro</name>
                   <vendor>sap.com</vendor>
              </dc-ref>
              <pp-ref>webDynpro</pp-ref>
         </build-plugin>
         <dependencies>
              <dependency>
                   <dc-ref>
                        <name>tc/cmi</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/ddic/ddicruntime</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/ddic/metamodel/content</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/wd/webdynpro</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/logging</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>tc/wdp/metamodel/content</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.aii.proxy.framework</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.aii.util.misc</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.exception</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
              <dependency>
                   <dc-ref>
                        <name>com.sap.mw.jco</name>
                        <vendor>sap.com</vendor>
                   </dc-ref>
                   <pp-ref>default</pp-ref>
                   <at-build-time/>
              </dependency>
         </dependencies>
         <folders>
              <source-folder>META-INF</source-folder>
              <source-folder>src/mimes</source-folder>
              <source-folder>src/configuration</source-folder>
              <package-folder>src/packages</package-folder>
         </folders>
    </development-component>
    -r

  • Problems by sharing Web Dynpro Project in SVN or CVS Repository

    Hi,
    I am trying to share a Web Dynpro Project with an 3rd-Party Repository like SVN or CVS instad of DTR.
    As help to share this project I used the guideline from Wolf Hengevoss
    ("The Fast Way to Component-Based Development with the SAP NetWeaver CE 7.1 u2013 Part III",
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/703268e0-06c9-2b10-c69c-8cc830175ab3).
    But as soon as I am sharing the project in an repository (equal if I am using SVN or CVS),
    I am getting the following error during deploy process:
    1st popup:
    Internal Error
    Unable to write to read-only file: /DSBBI5vhsgui(2fvhs_callcenterform_wdpdsb.net/WEB-INF/web.xml
    Details
    Message:
      Internal Error
        Plugin name: Web Dynpro Archive Builder
        Internal error: com.sap.ide.webdynpro.archivebuilder
    Plugin ID:  com.sap.ide.webdynpro.archivebuilder
    Error Code: 0
    Exception StackTrace:
      java.lang.Exception: Call Stack of internalError call
         at com.sap.ide.tools.services.ui.dialog.DialogService.internalError(DialogService.java:79)
         at com.sap.ide.mmservices.core.eclipse.ui.ServicesUI.internalError(ServicesUI.java:68)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveBuilderPlugin.internalError(ArchiveBuilderPlugin.java:23)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createWebInfContent(ArchiveService.java:536)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createFolderStructure(ArchiveService.java:308)
         at com.sap.ide.webdynpro.archivebuilder.ArchiveService.createFolderStructure(ArchiveService.java:229)
         at com.sap.ide.webdynpro.archivebuilder.ActionGenerateArchive$CreateArchiveJob.doGeneration(ActionGenerateArchive.java:283)
         at com.sap.ide.webdynpro.archivebuilder.ActionGenerateArchive$CreateArchiveJob.runInWorkspace(ActionGenerateArchive.java:212)
         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    2nd popup:
    Problem Occured
    Getting repository state for resource:
    L/DSB~BI~5~vhsgui(2fvhs_callcenterform_wdp~dsb.net/WEB-INF/web.xml
    (Time of error: 27. April 2009 09:16:54 MESZ)
    Reason:
    java.lang.UnsupportedOperationException
    Runtime exception occured while executing job 'Getting repository state for resource:
    L/DSB~BI~5~vhsgui(2fvhs_callcenterform_wdp~dsb.net/WEB-INF/web.xml':
    java.lang.UnsupportedOperationException
    Although it doesn't matter if I check-in the whole Web Dynpro project or just the src-folder and .dcdef-file.
    By the way, the deployment happend successfully...
    Has anybody an idea what could be the reason of this problem?
    Regards,
    Jens
    Edited by: Jens Geissler on Apr 27, 2009 9:34 AM
    Edited by: Jens Geissler on Apr 27, 2009 9:35 AM

    Hi Jens,
    I think the other repositories (apart from SAP's own DTR, part of NWDI) are not supported as in base CE 7.1 release & support may be in higher CE release versions.
    I feel if they are supported, then it is a bug and you can get things clarified by raising an OSS message.
    Hope this info helps you.
    Kind Regards,
    Nitin

Maybe you are looking for

  • How to hide ringtones from Music Library on N97 mi...

    Hello, The title speaks for it's self i think. I want to hide my personal ringtones (on the mass storage drive) from my Music library as it is quite annoying to hear your ringtones when listening to good music... The folder with the Nokia ringtones I

  • How do i get the audio mixer window back

    I have reinstalled the program 3 times and I still can't get the audio window back, I moved it over out of the way while making a video and it won't come bak into the frame. Pretty poor program design in my opinion, the volume controls should stay in

  • CRVS2010 Beta - Hyperlink translator dropping parm

    I have a report where I wish the user to be able to click from the data in the report to another web page. The field is and Int (7), my format formula for the hyperlink is: 'https://mantis.corp.MyCompanyName.com/mantis/view.php?id='+ToText({mantis_bu

  • ORA-15041: diskgroup

    Hi, Db :11.2.0.1 Os :Aix 6 We refresh a db from production to development. Production db name is PROD23,size is 3tb.we created pfile with instance name PROD23 in target machine(development machine) and db name also PROD23. We started instance and res

  • Sync 2 Laptops to one share file?

    I have an external hard drive attached to my home network where my music is stored and I wish to use this library on 2 different laptops, however when I add new files to the storage device (eg Automatically add to iTunes) via one laptop it only adds