Variable url in external library linkage?

I'm setting up a template that needs to import artwork for
buttons. There are three different button sets to choose from. Each
button set has 12 different movie clips in it, but not all of them
are used in the same place at the same time. A shared library would
be ideal, because i can choose only the items i need and attach
them to the movie clips where they are needed. The template will be
used by multiple clients, so the url won't be the same each time it
is used. Is there any way to make the export and import url for the
shared libraries a variable? Basically, i'm trying to load movie
clips from a swf into the library, so if there is a better way to
do this, any suggestions would help! Thanks very much.

I tried something similar quite some time ago, spend a lot of
time on this task, but never got to a real solution.
As far as I remember there was no way to do it in with shared
libraries that do have different urls.
There might be a workaround to build a php/asp/jsp script
that pipes through the content of a configured shared lib to flash,
pretending it would be the requested shared lib.

Similar Messages

  • CS3 Runtime shared library linkage

    I'm new to runtime shared libraries, so figured someone will
    see what obvious thing I'm doing wrong.
    Given:
    1. Created a Assets.swf with one exported MovieClip symbol
    with a linkage name called "Symbol1". "Export for actionScript",
    "Export for runtime sharing", and "Export in first frame" are all
    checked. URL: "Assets.swf"
    2. Created a Movie.swf that imports "Symbol1" from
    Assets.swf (using the Open External Library dialog).
    3. Attached a Document class to Movie.swf that contains the
    attached Movie.as code below.
    Result: Two compiler errors:
    Movie.as,Line 9 1046: Type was not found or was not a
    compile-time contant: Symbol1
    Movie.as,Line 9 1180: Call to a possibly undefined method
    Symbol1.
    Movie.as code:

    I wonder why Adobe even enables the "export for runtime
    sharing" checkbox if it doesn't do anything for AS3? This
    definately lead me down the wrong rabbit hole trying to get that
    approach to work.
    Anyway, I made the suggested code changes to Movie.as
    (attached). Unchecked the "export for runtime sharing" box on
    Symbol1 in Assets.fla. Removed the Symbol1 import from Movie.fla.
    And, sure enough, the Symbol1 import now works. Thanks, kglad.
    So in summary, the two points that I missed were:
    Every exported symbol must have as
    associated class definition in a corresponding .as file. so that
    symbol can in imported using the AS3 "import" directive.
    Ignore the "Export for runtime
    sharing" mechanism entirely and use the Loader class
    instead.

  • Reference external library movieclip in library with AS3

    Hello, i am able to load at runtime a library asset in flash
    cs3. i do this by setting up its linkage property and setting its
    base class. for eg
    Class: MyButton
    Base: flash.display.MovieClip
    then in my document class, say i had
    com.kofi.InitializeTemplate, my class looks like this
    package com.kofi
    import flash.display.MovieClip;
    import MyButton;
    public class InitializeTemplate extends MovieClip
    var testButton:MyButton;
    public function InitializeTemplate():void
    trace("the button class has been called");
    testButton = new MyButton();
    addChild(testButton);
    however, once i bring in an external library asset(which i
    have already exported and set it base class etc), i am unable to
    call this shared library asset with as3. anyone know what i am
    talking about?

    Hi Sigiswald,
    well it seems SAP also considers that a bug, if you go to the Service marketplace -> Support Packages and Patches -> SAP NetWeaver -> SAP NETWEAVER -> SAP NETWEAVER 2004S -> Entry by Component -> Development Infrastructure, there is a SAP_BUILDT SP09 Patch 1 referring to note 993799 which says:
    "Jar files, especially from development components with type "External Library" are not assembled into the WDA archive for Web Dynpro development components."
    Are you using the original SP09 version or this patch?
    Regards,
    Marc

  • Error loading external library (Oracle 8.1.5)

    I'm running Oracle 8.1.5 and am trying to configure the interMedia Text option to enable long test searches using the "contains" operator.
    I've installed (and re-installed) the interMedia text option trying to get this thing working. The installations (including the re-installation) were successful and starting the ctxsrv process was successful as well. No matter what I do, however, I get the following error when I try to create a context type index:
    SQL> create index z$long_ix on z$long(data) indextype is ctxsys.context;
    create index z$long_ix on z$long(data) indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so: open failed: No such file or directory
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    I have tried everything in the online newsgroups, FAQs, etc, but still seem to have this error come up.
    My tnsnames.ora contains:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    My listener.ora contains:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    (ENVS=LD_LIBRARY_PATH=/dbmsu001/app/oracle/product/8.1.5/lib:/dbmsu001/app/oracle/product/8.1.5/ctx/lib)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SWOW)
    (GLOBAL_DBNAME = devlab)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    I restarted the listener each time I made changes to listener.ora and I restarted ctxsrv process each time as well to make sure. I run ctxsrv as "ctxsrv -user ctxsys/ctxsys -personality M -log ctx.log &". I exited SQL*PLus and restarted to make sure I got a new session under the new listener process.
    I don't know alot about libraries and external processes, but from what I've read, I have everything setup properly. I checked the dba_libraries view and it shows the proper filename and path for the libctxx8.so file. It should be correct as it's the same file/path I entered while installing the interMedia text option.
    I've also tried setting text_enable = FALSE in initXXX.ora to make sure that doesn't interfere. Somewhere I read that having that parameter set to TRUE may cause some problems as it's only for version prior to 8.1.5.
    If you have any additional information that can help me get this working, it would be greatly appreciated. I've spent countless hours and am just spinning my wheels now with an ever increasing level of frustration.
    Shane Marshall
    Boston, MA

    This might be best asked in the Oracel Text forum...
    But, it appears that you have extproc configured correctly, the problem is that extproc cannot find the shared object in question. It cannot dynamically load the shared object becaus it cannot find it.
    In my experience, this is due to a LD_LIBRARY_PATH unix environmental variable that does not include the directory where the shared object is. You should set this variable in the login script for the oracle user.
    From the installation guide.... I am not sure if this library is in ORACLE_HOME/lib, if not add the directory to LD_LIBRARY_PATH
    LD_LIBRARY_PATH
    Required when using Oracle products that use shared libraries. Set LD_LIBRARY_
    PATH to include $ORACLE_HOME/lib.

  • Running with external library

    When I run my program on the command-line prompt, how do I include the external library archived in jar files? I developed my project using an IDE and it runs fine in the environment created by the IDE. But I am having trouble running it directly from the command-line... The VM seem to have troble locating the external library that I included... Does anyone know the answer? Thanx!

    Yes, you can, but I don't think you may.
    There are two options:
    1. unjar all your external jars to a directory and add that to your classpath
    2. add all your jars to your classpath
    You can also use your classpath environment variable:set classpath=<your classpath>or set in in Windows (which I assume you're using, because you're using SQL Server as well), so that you don't have to specify it for every compile/run command.
    Kind regards,
      Levi

  • Problem with external library DC

    Hi,
    I am working on NWDS Version: 7.02.06.
    I am trying to use JXL jars in my DC and have used the blog /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components to achieve this.
    My problem comes at the last step. When I add the Library refernce in my WD DC, i give sap.com~hkjecomp. Sap.com is my vendor and hkjecomp is the JEE (Library type DC) wrapping the External lib DC.
    When I deploy the WD DC, it deployed with warnings and a cluster wide exception :
    Aug 5, 2011 5:41:12 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [011]Deployment finished with warning
    Settings
    SDM host : sapdapp1
    SDM port : 53918
    URL to deploy : file:/C:/DOCUME1/hkandpal/LOCALS1/Temp/temp28228sap.com~hktest02.ear
    Result
    => deployed with warning : file:/C:/DOCUME1/hkandpal/LOCALS1/Temp/temp28228sap.com~hktest02.ear
    Finished with warnings: development component 'hktest02'/'sap.com'/'local'/'20110805174050'/'0':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application sap.com/hktest02 and wait. Reason: Clusterwide exception: server ID 398344750:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application sap.com/hktest02 for startup. Reason=Clusterwide exception: Failed to start dependent library ''sap.com~hkjecomp'' of application ''sap.com/hktest02''. Status of dependent component:  STATUS_MISSING. Hint: Is the component deployed correctly on the engine?     at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1507)     at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)     at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)     at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4741)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4646)     at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4619)     at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : Got problems during deployment
    While trying to add the Library reference, I have also tried with sap.com/hkjecomp.
    I have asked the basis guys to find out if the JEE application is running or not, but meanwhile can someone suggest if anything else could have gone wrong.
    Thanks,
    HImanshu

    Hi,
    Please check below link on how to use external library in Web Dynpro.
    [http://www.sapgeek.net/2010/10/web-dynpro-java-use-external-library/|http://www.sapgeek.net/2010/10/web-dynpro-java-use-external-library/]
    And you can find more information on Web Dynpro from here:  http://www.sapgeek.net/sap-tutorial/web-dynpro-java-tutorial/
    Regards,
    Andy
    Edited by: Andy Zhao on Aug 6, 2011 1:47 PM

  • My external library 100 GB on a 2TB drive is taking a long time to open.

    Hey there,
    I recently moved my library to an external drive.  When I tried to load the external drive, it said it needed to repair and I let it happen overnight because it was taking a long time.
    Now it seems to just freeze when I try to load the external library.  Can someone let me know if there is something I can do to make this process speed up?  Should I move some of my projects to another library and keep it off-line?
    Thanks,
    Austin

    Could it possibly be due to videos stored in the aperture library?  I think one of the folders has multiple GB of video...  Just a thought.
    If Aperture is freezing on opening, this can be caused by corrupted or incompatible media, but it would not explain the original error message your reported - "permissions".
    When the repair finishes, try to launch Aperture with the Shift-key held down. This will defer the generation of previews. If media cannot beprocessed, Aperture will hang, when it tries to generate the previews for those images or videos. If you can get Aperture to launch after deferring the preview generation, you could open the Activity window (Window > Show Activity) and then selectively try to generate previews for your last imported images and videos  (Photos > update preview). The Activity window will show, what is currently processed, and perhaps you can spot, which of the files is causing the hang.

  • How to reference an External Library (Server Side) in a DC-EJB Module ?

    Hi:
    I start working with hibernate in a DC component, so I create my DC project and EJB module inside. I Make an external library following this
    Thanks a lot for your time on this thread.
    Rocío.

    Hi Rocío!
      Umm, I don't usually use DC's... I don't know if this will work... you can make an EAR (New Proyect -> J2EE -> Enterpise Application Module), add your EJB Module to the EAR (right click on EJB Project and choose Add to EAR proyect), and you'll find a j2ee-engine file on it, and you can add the reference there.Then deploy the EAR.
      I normally do something similar to your issue, I make a EJB calling XI via Java Proxys, and the reference to the XI libs are allocated on the EAR, not on the EJB. This is only for runtime, for compilation you must reference the hibernate jar with an external jar file, as always.
      A dirty solution could be this one: open your generated EAR with de-compressor, and copy your hibernate jar on it (at root). This way you'll load hibernate classes at runtime (I know this is an horrible solution, this is only for testing).
      As I said before, I'm not used to DCs, so this could be wrong, and be a waste of time... I don't know further...
      Good luck
      Eneko.

  • How to use a jar from a external library DC Project?

    I followed the steps of how to create DC, External Library Project, which contains the jar I want.
    I understood that this type of project can't be deployed so I build and deployed other DC Project from the type J2EE server component Library and added it to it's public part. What do I do next, to actually use the jar and it's imports?
    Thank you,
    Meytal.

    Hi,
    Check this:
    Making a JAR file publicly available
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • I have just upgraded my laptop from vista to windows 7, I have all my music on an external as the library is to large for hard disk. I have downloaded Itunes 11 but cannot  fathom a way of getting my new itunes to connect with my external library.

    Question:  I have upgraded my windows vista to windows 7, I have all of my itunes music stored onto an external due to the size of content, so in vista all of my music in itunes had a path to F (external library). But now I have upgrade to windows 7, I cannot get itunes to recognise my library from my external. I have tried to connect external and open itunes with shift key down with both suggestions but to no avail. please help, all I want is to keep my library on external not on hard drive. I have also gone to preferences/advanced and made sure the external drive is chosen. This seems so complicated and I thought it would have been easy...

    At a guess you followed the process in HT1364 - iTunes for Windows: Moving your iTunes Media folder which would have moved the media folder to a new path of your choice. This process leaves the library database files back in the original location of <User's Music>\iTunes. Often people assume that all they need is now on the external drive and wipe the internal drive, or discard their old computer, before backing up the all important iTunes folder. If you have a backup of your user's profile folder from before the upgrade the iTunes library folder should be in there somewhere. Restore it to <User's Music> and your original library should pop back into existence. The external drive would need to have the same drive letter that it had previously.
    A more effective way to relocate the library is to move the entire iTunes folder to the external drive, then hold down shift when starting iTunes and keep holding until asked to choose or create a library. You would then choose the file iTunes Library.itl in the iTunes folder on the external drive. If this is the way you moved the library before then that is how you should now reconnect to it. Changing the media folder in preferences doesn't change which .itl database file is opened, nor does double-clicking on an .itl file directly.
    If you no longer have the original .itl file then you will have to build a new library and import the media to it. If you need to do this I would recommend you create a new library at F:\iTunes, then move your existing media folders inside F:\iTunes\iTunes Media before importing. This will avoid the creation of duplicates and make sure the library is in the correct shape going forwards.
    If you have an iPod or iOS device my scripts ImportDevicePlaylists and SyncStats may well let you recover ratings, play counts & playlists from the device.
    When you've fixed up your libray you should consider getting a second external drive to backup to.
    tt2

  • How do I add a URL to my library of internet stations?

    How do I add a URL to my library of internet stations?
    Did it once, but I can't fingd the option and 'help' is no help.

    When you play an MP3 stream with iTunes by opening a link via your browser, the url gets added to your library.
    Apple radio stations don't appear to get added, the only way I have found of storing a quick link is to do it in a play list.
    If you right click on your apple radio staion and do a right click - copy, you can paste the link into a play list with ctrl V.
    I have a radio station playlist for the ones I like.

  • Adding Libraries & External Library DC - Not able to import JAR Files

    Hi,
    I am trying to import the jar files to development environment.
    The JAR file was added by following the steps mentioned in below blog :
    /people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
    Please find the error log below :
    20100728065650 Info   :connected to deploytool via sdm protocol
    20100728065651 Info   :deploy every archive associated to the buildspace: DP1_MSSTRK19_D
    20100728065651 Info   :getting DC mss/eepro/salarydata from CBS for buildspace: DP1_MSSTRK19_D
    20100728065651 Info   :Following SDAs were added:
    20100728065651 Info   :  201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda
    20100728065651 Info   :archives (201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda) for DC mss/eepro/salarydata were selected
    20100728065652 Info   :Start deployment:
    20100728065652 Info   :The following archives will be deployed (on http://sapdp1ci.zrh.swissre.com:53018)
    20100728065652 Info   :/usr/sap/DP1/SYS/global/TCS/DEPLOYARCHIVES/201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda
    20100728065652 Info   :starting deployment
    20100728065652 Info   :errorhandling rule is switched from OnErrorStop to OnErrorSkipDepending
    20100728065652 Info   :prerequisite errorhandling rule is switched from OnPrerequisiteErrorStop to OnPrerequisiteErrorSkipDepending
    20100728065654 Info   :deployment finished
    20100728065654 Info   :errorhandling rule is reseted
    20100728065654 Info   :prerequisite errorhandling rule is reseted
    20100728065654 Info   :Deploy log:
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: Start file transfer to /usr/sap/DP1/JC30/SDM/program/temp/201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: File transfer of /usr/sap/DP1/JC30/SDM/program/temp/201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda finished for 9 ms. Total file size is 1347307 bytes.
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: The SDM client uses an old SDM client API.
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: -
    Starting deployment -
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: Error handling strategy: OnErrorSkipDepending
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorSkipDepending
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: Update strategy: UpdateAllVersions
    20100728065654 Info   :Jul 28, 2010 6:56:52 AM  Info: Starting deployment prerequisites:
    20100728065654 Info   :Jul 28, 2010 6:56:53 AM  Info: Loading selected archives...
    20100728065654 Info   :Jul 28, 2010 6:56:53 AM  Info: Loading archive '/usr/sap/DP1/JC30/SDM/program/temp/201007280456510519_sap.com_SAP_MSS_1_sap.com_msseeprosalarydata.sda'
    20100728065654 Info   :Jul 28, 2010 6:56:54 AM  Info: Selected archives successfully loaded.
    20100728065654 Info   :Jul 28, 2010 6:56:54 AM  Error: Unresolved dependencies found for the following SDAs:
    20100728065654 Info   :
    20100728065654 Info   :1.: development component 'mss/eepro/salarydata'/'sap.com'/'DP1_MSSTRK19_D'/'31236'/'0'
    20100728065654 Info   :dependency:
    20100728065654 Info   :       name:     'temp/jxljar1'
    20100728065654 Info   :     vendor:     'swissre.com'
    20100728065654 Info   :
    20100728065654 Info   :There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    20100728065654 Info   :
    20100728065654 Info   :Deployment will be aborted.
    20100728065654 Info   :Jul 28, 2010 6:56:54 AM  Error: No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    20100728065654 Info   :Deployment will be aborted.
    20100728065654 Info   :Jul 28, 2010 6:56:54 AM  Error: Prerequisites were aborted.
    20100728065654 Info   :Jul 28, 2010 6:56:54 AM  Error: Error while creating deployment actions. No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    20100728065654 Info   :Deployment will be aborted.
    20100728065654 Info   :end of log
    20100728065654 Info   :End deployment:
    20100728065654 Info   :
    20100728065654 Info   :Summary of deployment
    20100728065654 Info   :==> deployment finished for mss/eepro/salarydata (28979) with rc=12
    20100728065654 Info   :deployment finished for buildspace: DP1_MSSTRK19_D
    Please let me know how to fix this issue.
    Thanks in advance.
    Thanks and Regards,
    Rashmi

    Rashmi,
    Following observations from the error log:
    a)  DC temp/jxljar1 is External Library DC; if I am not wrong.
    b) Once the J2EE DC is deployed; automatically jxljar1 should also be loaded in server
    Coming to the issue you are facing; plz let us know following points:
    a) Are you trying to transport the content from one landscape to the other i.e. development to QA?
    b) During what operation and in which unit(DTR/CMS/CBS);you are facing the issue?
    Regards,
    Ganga

  • Using External Library in a DC problem (SP16)

    Hi,
    I've been trying to get the example that Valery is outlining in his <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro">Blog</a>.
    I've done it exactly as Valery says, but I can't get it to work. I create the External Library DC, add the jar to Public Part (purpose Assembly) and build. Builds ok.
    I then proceed to creating the J2EE Library. It is created ok. I then add the External Lib I just created to Used DCs. This goes ok. I build the DC. There are warnings:
    Warning: Warning: Source folder does not exist, will be ignored: server
    Plugin initialized in 0.03 seconds
    Warning: No runtime information available for development component type External Library (sap.com), cannot validate runtime dependency.
    And:
    createDeployArchive:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sdaprep
           [cda] Creating descriptor server/provider.xml ...
           [cda] WARNING: Ignoring invalid runtime dependency on js/jars (orion.com), type External Library
    I've tried nearly every combination of Dependency Types When adding the used DC to J2EE DC. The jar never ends up in the SDA file in gen\default\deploy or jar in gen\default\public. I only get different types of warnings.
    Here is the whole build.log:
    Apr 7, 2006 8:48:00 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: js/lib: built with warnings orion.com/js/lib(MyComponents) in variant "default" (0.753 sec) :
    Build log -
    Development Component Build (2006-04-07 08:48:00)
      Component name: js/lib
      Component vendor: orion.com
      SC compartment: MyComponents
      Configuration: LocalDevelopment
      Location: local
      Source code location: jarpak@UFIES-JARPAK
      DC root folder: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\
      DC type: J2EE Server Component
      DC subtype: Library
      Host: UFIES-JARPAK
    DC Model check:
              [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/addLib"
              [dcmake] validating dependency to  public part "Tokenizer" of DC "orion.com/js/jars"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/addLib
              [dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\
    Build Plugin 'J2EE Library', Version 6.40 SP 16 (630_VAL_REL, built on 2006-02-13 00:17:07 CET)
       development component:  js/lib (orion.com)
          software component:  MyComponents (demo.sap.com)
                    location:  local
                        type:  J2EE Server Component, subtype Library
               build variant:  default
             source location:  jarpak@UFIES-JARPAK
           plugin start time:  2006-04-07 08:48:00 GMT+02:00 (EEST)
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_03-b02 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Warning: Warning: Source folder does not exist, will be ignored: server
    Plugin initialized in 0.03 seconds
    Warning: No runtime information available for development component type External Library (sap.com), cannot validate runtime dependency.
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0 seconds
    Executing macro file..
      Using macro file:     C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\macros\build.vm
      Creating output file: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\logs\build.xml
    Macro file executed in 0.482 seconds
    Starting Ant..
      Using build file:     C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426
      Using Ant version:    1.5.4
    prepare:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\int-pp
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sda
    compile:
    createPublicParts:
    createDeployArchive:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sdaprep
           [cda] Creating descriptor server/provider.xml ...
           [cda] WARNING: Ignoring invalid runtime dependency on js/jars (orion.com), type External Library
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] No sources available for packing, no archive will be created.
         [timer] Source archive creation finished in 0.02 seconds
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\deploy\orion.comjslib.sda with compression
         [timer] JarSAP finished in 0.03 seconds
    build:
    Ant runtime 0.161 seconds
    Ant build finished with WARNINGS
    Build plugin finished at 2006-04-07 08:48:00 GMT+02:00 (EEST)
    Total build plugin runtime: 0.693 seconds
    Build finished with WARNING
    What am I doing wrong ?
    Kind Regards,
    Jari Pakarinen

    Hi,
    There is an issue with SP16 in using External library DC.
    Go through this Jars not included in J2EE Library DC SDA. This thread deals with the same issue.
    Hope this helps.
    Regards,
    Rathna.

  • Using External Library in Web Dynpro - Error

    Hello,
    I want to use an external library in a web dynpro. I use WAS 6.40 SP12.
    1. I have created an dc web dynpro app
    2. I have created an dc external library app
    3. I have importet the jar to the external library
    4. I have published the jar as public part
    5. I have imported the public part to web dynpro
    If I build the project I get no error. If I deploy an run the project then I get an error stacktrace:
    java.lang.NoClassDefFoundError: com/sap/netweaver/bc/rf/util/uuid/UUID
    NoClassDefFoundError - I think the jar-file was not deployed. What is wrong?
    Greetings
    Thomas

    Hi THomas,
    Please explain how you are adding the jars into the publicpart of the Libary DC.
    You need to create 2 public parts .
    1. Assembly
    2. Compilation
    You need to add your jar to above two public parts.
    Then you need to add above two publicparts to your webdynpro application.
    Regards, Anilkumar

  • NWDS SPS 09: Jars not in external Library - Patch available?

    Hello experts,
    I am facing the problem described here:
    https://forums.sdn.sap.com/click.jspa?searchID=131779&messageID=2755058
    The result of the discussion is that the jars not being included in the external library is a bug of NWDS SP 9.
    Is there already a patch available? I searched throught Service Market Place but there is only a patch for Developement Infrastructure (DI Build Tool).
    Thanks for help,
    Enrico Lenk.

    Hi Maksim,
    Here you are the content of application-j2ee-engine.xml from EAR project
    <?xml version="1.0" encoding="UTF-8"?>
    <application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">
    </application-j2ee-engine>
    And just in case, content of ejb-j2ee-engine.xml from the EJB project
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">
    </ejb-j2ee-engine>
    Libraries i'm using are: mdm-admin.jar, mdm-common.jar, mdm-core.jar, mdm-data.jar, mdm-extension.jar, mdm-protocol.jar and mdm-publishing.jar
    Not sure what's the prefered option, if use these libraries as external jars or add to my project as dependency
    Thanks a lot in advance
    Pablo

Maybe you are looking for