Refrencing level1 library

I created an swf which loads another swf at level1. The swf
at level1 attaches some movieclips from its library. It runs
perfect when played individually.
I added those elements which are being attached from the
library in level0 swf and then level1 movie runs perfectly.
Now the issue is that
- If I add the elements to level0 library then the elements
make level0 swf heavy.
- If i make a shared library then all the elenets are loaded
in the library thru swf which mus be preloaded.
but by these way the elements increasing size of both swf and
weather the level1 movie is loaded or not its elements are in the
memory.
to make the application memory optimized I need when the
level1 movie is loaded it should refrence to its level1 library.
Please help.

Here is the variable stmtInt I want to access in my
SubmitPassword.java file
public String selectPassword() {
// create all the variables I will need.
Connection C = null;
Statement Stmt = null;
try {
// load the driver
     Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
// create the connection
C = DriverManager.getConnection("url", "username", "password");
// create the statement
     Stmt = C.createStatement();
// create the sql to execute
     String find = "select * from table where USERNAME = '" + this.getUsername() + "' AND PASSWORD = '" + this.getPassword() + "'";
System.out.println(find);
// execute the sql
     int stmtInt = Stmt.executeUpdate(find);
// return which row was affected
     System.out.println("No of Rows Found " + stmtInt);
     return "No of Rows Found " + stmtInt;

Similar Messages

  • Ant task cyclic library refrence

    Hello everyone,
    I am using flex ant task from my Flash builder to compile application. Its working fine and I am able to get the output. But the problem is whenever I use a library in my main project which is refrencing other library than I am unable to find refrence of components in lib 2. Below is the structure
    NewLib >> contains a NewLibGrid(which is a normal spark grid)
    MainLib >> ExtPanel which includes NewLibGrid from NewLib .
    MainApp >> This uses ExtPanel
    No I am getting error during ant compilation
    [compc] D:\Data\Flex\Projects\CompLib\src\ExtPanel.mxml: Error: Could not resolve <local:NewLibGrid> to a component implementation.
    Here is part of antscript I am using
    <target name="lib1" depends="lib2">
    <compc output="${STAGE_DIR}/stagingDir/CompLib.swc"
       keep-generated-actionscript="${DEBUG}"
       debug="${DEBUG}"
       optimize="${OPTIMIZE}"
       target-player="${TARGET_FLASH_PLAYER}"
       include-classes="ExtPanel">
    <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">                                                                                              
    <url rsl-url="framework_${FLEX_VERSION}.swf"/>                                                                                                        
    <url rsl-url="framework_${FLEX_VERSION}.swz"/>                                                                                              
    </runtime-shared-library-path>
    <runtime-shared-library-path path-element="${PROJ_HOME}/NewLib/bin/NewLib.swc">                                                                                              
    <url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swf"/>                                                                                                        
    <url rsl-url="${PROJ_HOME}/NewLib/bin/NewLib.swz"/>                                                                                              
    </runtime-shared-library-path>
    <compiler.library-path dir=".." append="true">
    <include name="Common/libraries"/>
    <exclude name="global_library.swc" />
    </compiler.library-path>
    <source-path path-element="../CompLib/src" />
    </compc>
    </target>
    <target name="lib2">
    <compc output="${STAGE_DIR}/stagingDir/NewLib.swc"
       keep-generated-actionscript="${DEBUG}"
       debug="${DEBUG}"
       optimize="${OPTIMIZE}"
       target-player="${TARGET_FLASH_PLAYER}"
       include-classes="NewLibGrid">
    <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">                                                                                              
    <url rsl-url="framework_${FLEX_VERSION}.swf"/>                                                                                                        
    <url rsl-url="framework_${FLEX_VERSION}.swz"/>                                                                                              
    </runtime-shared-library-path>
    <compiler.library-path dir=".." append="true">
    <include name="Common/libraries"/>
    <exclude name="global_library.swc" />
    </compiler.library-path>
    <source-path path-element="../NewLib/src" />
    </compc>
    </target>

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

  • How access SWF Library items?

    Is it possible to access SWF Library items from main FLA?
    Ex:
    I am loading swf on level1, i want to access level1 library
    items from level0 file

    You'll need to get the FLA for the file to see how the
    linkage is set up. Other option, though not ideal, is to get ahold
    of a SWF decompiler, and create a new FLA where you know the
    linkage id's.

  • Error: Definition flash.fileSystem could not be found

    when trying to import   import flash.fileSystem.* i am geeting an error like this
    Error: Definition flash.fileSystem could not be found.
                            import flash.fileSystem.*
      Is there any solution ? i have already refrenced the library path.

    Hi ReemaDevi,
    I think you are working on an AIR app..
    The namespace you imported is wrong...It should be
    import flash.filesystem.*;
    You have used fileSystem wrong case..
    Thanks,
    Bhasker Chari.S

  • FRM-18108 AT OPENING FORMS

    Hi All,
    At time of opening forms getting error FRM-18108.
    Is there any place where I need to give paths of refrenced library or forms.
    I am doing this with forms10g on Linux.
    I have set CLASSPATH variable in .bash_profile to refrence to library & other refrened dir.
    But then also this error is there.
    I was thinking including this path some where in default.env or formsweb.config but these are
    refrenced at runtime so this is also not the place where I should attach those path.
    And there any large number of thing referenced so It is not possible to mannualy incude each
    file in forms buildeer.
    THIS ERROR AGAIN FOLLOWS WITH FRM-10102 can not attach Pl/sql librarys
    SO IS THERE ANY PLACE IN FORMS BUILDEER TO MAINTAIN PATHS.
    PLEASE GUIDE WITH YOUR SUGESIONS OVER THIS PROBLEM.

    Hi All,
    The Error FRM-18108 got resolved I maintained the Paths in FORMS_PATH in .bash_profile.
    And also by manually opening object library file through forms builder.
    But there remains error FRM-10102 which comes due to Case of file names.
    Temporary I am renaming the files as they asks.
    But is there any tipical and easy way to come up with FRM-10102
    Thanks

  • Changing Object Library Refrences

    Each,
    Have an Object Library from which we are wanting to move certain parts to a seperate library.
    Easy enough except all links in Forms will be broken for any objects moved to the new library.
    Apart from visiting each Form and manually changing the Subclass is there an automated way of doing this?
    I seem to remember there being a C based utility which you could run against the fmb to make global changes to forms?
    Any Help Appreciated.

    We are using a utility FormsAPI Master to do global changes to forms and reports. You can have a look at www.orcl-toolbox.com
    The scripting is stray forward, and the developer is always good to provided so help.

  • Please help "pull videos from Video library & play in my app"

    Hi ,
    Q1:I put videos in my ipad video library using itunes.I have it so the videos are pulled from the video library, once I click on the video it opens just not in my app  but in the video library.
    How do I get the videos to play on my app? not open and play in the video library?
    Q2: When I place the videos in the ipads photo library it works but then I have a problem, The videos can be shared/emailed..I don't want the videos to be taken when the ipad is passed around to others. I could go this route if somehow I can encrypt the videos or keep them from being taken... any suggestions?
    Note:
    We are using NSURL class refrence...everything has to be local.. also this is for private use not going on app store
    This has been stomping everyone, any suggestions are greatly appriciated

    This may or may not work, but is worth a try.
    Select the clip in the trash. Then click on the Gear box in the top area of the trash. See if it gives you the option to "Put Back". If so, that should do it.
    If not, you still may be able to drag the clip back to the Event that it came from. Then restart iMovie.

  • Custom tag library called multiple times

    Hi ppl ,
    I have a custom tag library which i use to populate some menu components. When i do call my custom tag library though , it is called multiple times, use case is as follows.
    I have menu tabs and menu bars which thanks to Mr.Brenden is working splendidly as so:-
    <af:menuTabs>
    <af:forEach var="menuTab" items="#{bindings.menu.vwUserMenuTabRenderer.rangeSet}">
    <af:commandMenuItem text="#{menuTab.MenuLabel}"
    shortDesc="#{menuTab.MenuHint}"
    rendered="true"
    immediate="true"
    selected="#{sessionScope.selectedMenuId == menuTab.MenuId }"
    onclick="fnSetSelectedValue('#{menuTab.MenuId}')" >
    </af:commandMenuItem>
    </af:forEach>
    </af:menuTabs>
    <af:menuBar>
    <af:forEach var="menuBar" items="#{bindings.menu.vwUserMenuBarRenderer.rangeSet}">
    <af:commandMenuItem onclick="return clickreturnvalue()"
    onmouseover="dropdownmenu(this, event,#{menuBar.MenuId}, '150px')"
    onmouseout="delayhidemenu()"
    text="#{menuBar.MenuLabel}"
    action="#{menuBar.MenuUri}"
    rendered="#{menuBar.ParentId == sessionScope.selectedMenuId}"
    immediate="true" />
    </af:forEach>
    </af:menuBar>
    </afc:cache>
    now all of this code is within a subview , and just directly below the subview tag , i have the call to my custom tag library:-
    <myCustomTagLib:menuCascade />
    only issue now is that assuming i have in all 7 menu bar components, the doStartTag is called 7 times. the relevant code within my custom tag class is as follows :-
    public int doStartTag() throws JspException {
    return (EVAL_BODY_INCLUDE);
    public int doEndTag() throws JspException {
    try {
    declareVariables();
    return EVAL_PAGE;
    }catch (Exception ioe) {
    throw new JspException(ioe.getMessage());
    and within my declareVariables method i do an out of the jscript ( out.print(jscript.toString()); ) which is a simple string generated based on certain conditions...
    now it seems to be working fine on the front end , but when i view the source of the page, i notice that the declaration is called multiple times, and this happens because the doStartTag method is called multiple times, i haven't even nested the call to the custom tag within the menu components , any clue as to whats going wrong ?
    Cheers
    K

    Hi,
    if you add the following print statement
    System.out.println("rendering "+FacesContext.getCurrentInstance().getViewRoot().getViewId());
    Then the output in my case is
    07/04/24 08:14:04 rendering /BrowsePage.jsp
    07/04/24 08:14:05 rendering /otn_logo_small.gif
    The image comes from the file system, which means it is rendered by the JSF lifecycle. If you reference the image with a URL then the lifecycle doesn't render the image but only refrences it.
    To avoid your prepare render code to be executed multiple times, just check for jsp and jspx file extensions, which will guarantee that your code only executes for JSF pages, not for loaded files.
    The reason why this happens is because the JSF filter is set to /faces , which means all files that are loaded through that path
    Frank

  • Expanding iTunes Library to a second HD?

    I suspect that this is a FAQ, but I did a couple of searches and I didn't see anything turn up that answered it exactly.... so I thought I'd just go ahead and ask.
    I currently have my iTunes library (the songs themselves,that is) on external 200GB firewire drive connected to my G4 IMac. My library is now up to 170GB and I'm still only 2/3 through ripping my music collection... so, obviously, I need more space.
    My thought was simply to get a second Firewire HD and to just 'expand' onto that. The thing is that I'm not 100% sure of the right way to do that. While searching around on this site, I found the following document that seems like it describes now to migrate the WHOLE library to a new drive:
    http://docs.info.apple.com/article.html?artnum=301748
    But what I want to do isn't to migrate the whole library to a new drive (which would probably require me to pick up one of those 500-600GB big disks), but simply pick up somewhat smaller external HD and just start having new rips go there, while the old ones remain on the existing drive.
    My semi-educated guess is that what I need to do is simply to follow the instructions in above-refrenced article, but to stop after step 11, and just not do steps 12-15? Do I have that right?

    If you don't mind, please report back how it goes.
    Sure, gladly. I probably won't get the new drive till this weekend, but once I do and try it, I'll post the results.
    Also, I would be curious how it treats things when
    you start iTunes and you forget to turn on the
    external drive. My understanding is when you move the
    WHOLE library to an external, if you start up iTunes
    without the external drive that iTunes then defaults
    back to the internal drive location and you have to
    go back in and change the location.
    I did once actually rip something (with my current setup) while the external HD was unmounted and the files were ripped back to the default internal drive. I don't recall having to go back in and change the location back to the external drive once I remounted it, but I'm not 100% sure of that. That's probably a question for a separate thread.
    I assume with
    part of the library one the internal and part on the
    external you will get the same issue, but do the
    external drive songs now get an exclamation point?
    Does that go away automatically after booting up the
    external? Just curious as to what sort of oddities
    you run across.
    Sure, I'll be happy to report any such oddities once/if they occur.

  • Aperture Library to Adobe Lightroom?

    Hello,
    Does anyone know of a way, or have any ideas, of how to share my Aperture library with Adobe Lightroom? I like both programs for different reasons and was curious if there was a way to at the very least export my Aperture Library in a way that I can import it in Lightroom? I eventually want to move both of these to an external hard drive as well..
    Thanks!

    Well, I just tried this... with one file. What I discovered, makes sense. The original file is not 'syched' because the original is not modified with non-destructive editing. All of the "edits" to the original files seem to reside within the programs, and not with the files. I wouldn't know where to look for this edit data in Lightroom, but I'm pretty sure that in Aperture the edit instructions being stored in the Aperture Library, even if the file is refrenced. This would be an interesting piece of code for someone to work on..... i.e. make a change in Aperture, and Lightroom reads that change from the Aperture library, and vice a versa.
    Not sure that anyone would really want to do this on a long term basis as I sincerely doubt that there is something that on program can do that the other can't. (Except that Lightroom does not make books or have a Lighttable). If for instance you created a bunch of great edits in Lightroom and wanted to used those edits in an Aperture book, you would, at this time, have to export the edited versions and import them into Aperture - at least that seems to me to be the current requirements.
    MacPro 2.66 4 GB   Mac OS X (10.4.8)  

  • TM backs up Aperture library over and over again!

    Ladies and Gents; I look forward to your insight how this happens. Every time I work in Aperture, Time Machine backs up the whole library file to my Time Capsule(1TB), eating space like hungry dog.
    My aperture library is refrenced, so the actual pictures are stored in folders on the hard drive and Aperture only keeps the references. As I have some 15000 pictures amounting to some 40GB, the referenced library is 18.9GB in size.
    Even when I just delete some pictures (in Aperture) or do minor adjustments (create a version of a picture in Aperture) TM backs up 18+GB every time.
    For now, I have excluded the Aperture library from backups but would like to understand why this bug happens and how to avoid it. I have read somewhere that the latest 10.5.3 updated fixed this - but aperently not for me.
    My software is always updated and the iMac packed with power. Thanx for your time.

    I just did some reading on the forums and it appears that the issue happens when Aperture is running while TM runs backup. Subsequently, next time TM runs a backup while Aperture is not running it will back up the whole Aperture library all over again.
    At the same time some people suggested that 10.5.3 has solved this. Not for me, any ideas?

  • BUG: Library- Export Playlist FAILS to export playlist containing Playlist

    iTunes 8.0.2 now allows “Playlist Folders” to contain other “Playlists” and be included in a “Playlist”.
    To create an env't to demonstrate the BUG create a new playlist called playlistFldrA by selecting File->New Playlist Folder. Move into playlistFldrA and create another File->New Playlist Folder and label it level1. Also create File->New Playlist and label it musicSet1, populate musicSet1 with some songs. Move into level1 and create another File->New Playlist Folder and label it level2. Create File->New Playlist and all it musicSet2, populate musicSet2 with some more songs.
    To replicate the BUG select playlistFldrA and use Library->Export Playlist to export the Playlist called playlistFldrA. Being a legitimate playlist created by iTunes, within iTunes, the export Playlist shouldn't be grayed out. The BUG causes the Export Playlist option to be inaccessible. Playlists: musicSet1 within playlistFldrA and musicSet2 within level1 can be exported, but the BUG prevents playlists: playlistFldrA, level1, level2 and the playlists they contain from being exported by the Library->Export Playlist function.
    When will this BUG be corrected?
    Thanks,
    Peter

    Katrina,
    Thank you for providing the link to the feedback page. Before posting this BUG report I searched apple.com for current instructions on how and where to do so. The feedback page seemed to me to just be just a place to add a feature request to products wish list instead of a place to report a BUG. But I also entered the same BUG description on to that form. Have to wait and see which BUG report apple support acts upon first.
    Thanks again,
    Peter

  • Problem importing my iPhoto library

    Without going into too much detail I deleted my iphoto library and am trying to import a copy from my time machine. Have tried several times, various back up dates.  I click on iphoto.  It seems to be reinstalling well, even goes through a rebuilding process.  But when it is all done I have all of my events with the same cover pic, and when I scroll over that pic, there are my pics behind it.  But when I open the event in some the pics are there (along with several duplicates of that cover shot).  In some of the events the pics aren't there, but when I double click on one of the duplicated pic, the pic that should be there appears.  I know, sounds very confusing.  I am thinking there is a proper way to import the iphoto back up, or a way of fixing the library once it is imported.  As you may imagine, I am panicing, as it is over 10 years of photos.  Any help would be greatly appreciated.

    Thank you for taking the time to respond.  I have done what you have suggested.  It gives me a notice that library needs to be rebuilt.  I say ok, and end up with the same.  I have tried from 2 different back up dates and get exactly the same.  I have deleted anything with a refrence to iphoto library from computer before initiating back up, so all that remains is the iphoto app.  Any other suggestions.

  • J2EE Library Build Error

    Hi all
    Trying to build a J2EE library, i got following error on NWDS. Can you imagine what happen?
    Actually i migrate WebDynpro callable object from SP06 to SP07 using GP Public API. (reger SAP Note 924776)
    I have no idea what is variant "default"?
    Regards,
    Sanghun
    Jun 20, 2006 6:07:49 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: libcrbup: Build failed for ides.com/libcrbup(MyComponents) in variant "default": Failed to create build script: Illegal value strong for attribute strength(element reference)
    Build log -
    Development Component Build (2006-06-20 18:07:48)
    Component name: libcrbup
    Component vendor: ides.com
    SC compartment: MyComponents
    Configuration: LocalDevelopment
    Location: local
    Source code location: Administrator@seln50038942a
    DC root folder: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\
    DC type: J2EE Server Component
    DC subtype: Library
    Host: seln50038942a
    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 "default" of DC "sap.com/com.sap.security.api.sda"
    [dcmake] validating dependency to used DC "ides.com/libmdm1"
    [dcmake] validating dependency to public part "external" of DC "sap.com/caf/eu/gp/api"
    [dcmake] validating dependency to public part "CreateBupa" of DC "ides.com/creabup"
    [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\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\
    Build Plugin 'AdditionalLibraryPlugin', Version 7.00 SP 7 (645_VAL_REL, built on 2006-03-23 22:53:15 CET)
    development component: libcrbup (ides.com)
    software component: MyComponents (demo.sap.com)
    location: local
    type: J2EE Server Component, subtype Library
    build variant: default
    source location: Administrator@seln50038942a
    plugin start time: 2006-06-20 18:07:48 GMT+09:00
    Java VM: Java HotSpot(TM) Client VM, 1.4.2_11-b06 (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.07 seconds
    Warning: No runtime information available for development component type Java (sap.com), cannot validate runtime dependency.
    Warning: Assembled DC creabup (ides.com) has runtime dependency on com.sap.exception (sap.com), but the current component neither assembles nor references that component.
    Warning: Assembled DC creabup (ides.com) has runtime dependency on tc/logging (sap.com), but the current component neither assembles nor references that component.
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Generating application-dd.xml
    Data context prepared in 0.01 seconds
    Executing macro file..
    Using macro file: C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\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\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\gen\default\logs\build.xml
    Macro file executed in 0.1 seconds
    Starting Ant..
    Using build file: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\gen\default\logs\build.xml
    Using build target: build
    Generation folder: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\3EE9ACE846E54B984287928A94165CE1
    Using Ant version: 1.6.2
    prepare:
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\gen\default\deploy
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\3EE9ACE846E54B984287928A94165CE1\int-pp
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\3EE9ACE846E54B984287928A94165CE1\sda
    compile:
    createPublicParts:
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\gen\default\public\defLib\lib\java
    [copy] Copying 4 files to C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\ides.com\libcrbup\_comp\gen\default\public\defLib\lib\java
    createDeployArchive:
    [mkdir] Created dir: C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\t\3EE9ACE846E54B984287928A94165CE1\sdaprep
    [cda] Adding module 'ides.comcreabupCreateBupa.jar' from DC 'creabup' (vendor 'ides.com'), public part 'CreateBupa'
    [cda] Creating descriptor server/provider.xml ...
    [cda] Adding weak reference to com.sap.security.api.sda (sap.com), type library
    [cda] Adding strong reference to libmdm1 (ides.com), type library
    [cda] ERROR: java.lang.IllegalArgumentException: Illegal value strong for attribute strength(element reference)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.SimpleDOM.setAttribute(SimpleDOM.java:376)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.EngineProviderXml.addReference(EngineProviderXml.java:252)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ProviderXmlValidator.validate(ProviderXmlValidator.java:140)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:284)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:267)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
    [cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:364)
    [cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:341)
    [cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
    [cda] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    [cda] ERROR: Failed to create build script: Illegal value strong for attribute strength(element reference)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:274)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
    [cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:364)
    [cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:341)
    [cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
    [cda] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    [cda] ERROR: Caused by: java.lang.IllegalArgumentException: Illegal value strong for attribute strength(element reference)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.SimpleDOM.setAttribute(SimpleDOM.java:376)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.EngineProviderXml.addReference(EngineProviderXml.java:252)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ProviderXmlValidator.validate(ProviderXmlValidator.java:140)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:284)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:267)
    [cda] ERROR: ... 24 more
    [cda] ERROR: --- Nested Exception ---
    [cda] ERROR: java.lang.IllegalArgumentException: Illegal value strong for attribute strength(element reference)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.SimpleDOM.setAttribute(SimpleDOM.java:376)
    [cda] ERROR: at com.sap.tc.buildplugin.util.xml.EngineProviderXml.addReference(EngineProviderXml.java:252)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.val.ProviderXmlValidator.validate(ProviderXmlValidator.java:140)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.validateDescriptors(JarSAPArchivePacker.java:284)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.JarSAPArchivePacker.pack(JarSAPArchivePacker.java:142)
    [cda] ERROR: at com.sap.tc.buildplugin.deploy.DeployArchiveTask._execute(DeployArchiveTask.java:267)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
    [cda] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [cda] ERROR: at org.apache.tools.ant.Task.perform(Task.java:364)
    [cda] ERROR: at org.apache.tools.ant.Target.execute(Target.java:341)
    [cda] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [cda] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [cda] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
    [cda] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [cda] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [cda] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [cda] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
    [cda] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
    [cda] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
    [cda] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
    [cda] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
    [cda] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Ant runtime 0.1 seconds
    Ant build finished with ERRORS
    Failed to create build script: Illegal value strong for attribute strength(element reference)
    Error: Build stopped due to an error: Failed to create build script: Illegal value strong for attribute strength(element reference)
    Build plugin finished at 2006-06-20 18:07:49 GMT+09:00
    Total build plugin runtime: 0.3 seconds
    Build finished with ERROR

    Hi Sanghun,
    The problem is that the provider.xml is generated basing on .dcdef content. in this case you can assign weak refrences to libraries only due unknown for me reason.
    If you want to use hard reference to libraries do the folllowing:
    1. Create "server" folder in your project folder.
    2. copy the "provider.xml" file to this folder from generated sda(do not forget to rename invalid "strong" reference to weak in .dcdef before building)
    3. change the the "weak" to "hard" in the copied "provider.xml" file.
    4. Build the project and check that sda contains correct reference strengh.
    Best regards,
    Aliaksei

  • Redirect referenced iphoto library??

    I moved my iphoto library to an external drive because it was so large. (easy to do) Now Aperture can no longer refrence it. How do I redirect Aperture to look for the iPhoto library that now sits on an external drive.
    I looked at "manage referenced images" page but not very intuitive to know what to do.

    Steve - it's the iPhoto Library that's been moved, not the Aperture one.
    In Aperture, select the images that have been 'lost' and navigate to File>Manage Referenced Images... There you should be able to navigate to the new location and reconnect the files.
    Ian

Maybe you are looking for