Problem in using 'Path Variable' in Linked resources in Eclipse

Hi All
Currently we are working on a J2EE project on which we have established the split-development environment. In this environment we have few UI web sub-projects. These projects are bundled as a one UI project at the time of deploying the application.
For Example UI proj Structure is as below
../UI-Proj-Main/WebContent/sub
                    /jsp1
                    /jsp2
../UI-Proj-Sub1/WebContent/sub
                    /jsp1_sub1
                    /jsp2_sub1
../UI-Proj-Sub2/WebContent/sub
                    /jsp1_sub2
                    /jsp2_Sub2                    
In the final ear project which got deployed on the server we have only on war file which have below structure
../UI-Proj-Main/sub
                    /jsp1
                    /jsp2
                    /jsp1_sub1
                    /jsp2_sub1
                    /jsp1_sub2
                    /jsp2_Sub2     
To perform this we have created a linked-source of UI-Proj-Sub1 and UI-Proj-Sub2 in the project UI-Proj-Main. For this a an entry of '<linkedResources>' occured in the .project file of UI-Proj-Main . i.e.,
     <linkedResources>
          <link>
               <name>UI-Proj-Sub1</name>
               <type>2</type>
               <location>C:/myProj/UI-Proj-Sub1/sub</location>
          </link>
          <link>
               <name>UI-Proj-Sub2</name>
               <type>2</type>
               <location>C:/myProj/UI-Proj-Sub2/sub</location>
          </link>
     <linkedResources>
My Problem:
The '<location>' tag contains the explicit path of my workspace myProj. If I want to create a different workspace then I need to manually edit the .project file for relinking. If I use the Path variable in location i.e.,
<linkedResources>
     <link>
          <name>UI-Proj-Sub1</name>
          <type>2</type>
          <location>WORKSPACE_LOCC/UI-Proj-Sub1/sub</location>
     </link>
     <link>
          <name>UI-Proj-Sub2</name>
          <type>2</type>
          <location>WORKSPACE_LOCC/UI-Proj-Sub2/sub</location>
     </link>
<linkedResources>
then I got following error at the time of deploying the application
"Runtime exception occurred in publish task 'Split Source Mapping Generation Task'.Source should be absolute."
Kindly let us know a way to avoid the absolute path in .project file. Our customer don't want us to change the project structure.

Disabled where? Project or workspace? You should check both.
And you must still go to an Eclipse forum and ask for help there, this is not an Eclipse support channel.

Similar Messages

  • Coercion problem when using Shared Variable

    I have a curious coercion problem when using Shared Variables.  I want to share the state of a State Machine, which is an enum saved as a control (typedef) called TYPE State (see attached).  I create a shared variable called State and define it as a Custom Control, using the just-mentioned typedef.  So far, so good.  I've attached three simple VIs -- the first one, Init State, simply wires a constant to the input of the Shared Variable to initialize it -- the wired constant is, of course, defined by the typedef.  However, the Get State and Set State, meant to wire an indicator (for reading the state) or control (for setting it), develop coercion dots when wired into the Shared Variable.  Why?  How do I get rid of the dot?  [I suppose I could abandon my typedef and custom control, but the beauty of typedefs and custom controls is that it "enforces" rules, lets you use enums for clarity, keeps the code "honest", etc. -- I'd hate to give that up just to get rid of a dot!].
    On a related note, the code seems to work.  This is much too simplistic to do anything, but if you open Set State and Get State, set the state to anything, run it (it immediately stops, of course), then run Get State, you'll see the chosen state appear in the indicator.  So it does appear to work.  The "error" (coercion dot) may, I suppose, be a "bug" in Labview because it can't figure out the mapping of the (very simple!) Custom Control, but if so, I hope it gets fixed quickly!
    Bob Schor
    Attachments:
    Coercion Problem1.zip ‏38 KB

    Hello Bob,
    I am also seeing this behavior, I will escalate this question to our LabVIEW developers and post again here no later than next Tuesday, November 27th as National Instruments will be closed for the remainder of this week.
    If this issue does turn into a product suggestion, I would suspect the workaround would to live with the coersion dot for the time being.
    Enjoy the holiday
    Regards,
    Erik J.
    Applications Engineer
    National Instruments

  • Using a variable db link for an interactive report

    I have a requirement where users will select an instance (db link) from an apex LOV and the data in an interactive report will query based on the db link selected.
    I can use a db link in an interactive report query but only if I provide the exact name of the link. If I do something link select * from foo@:P12_DBLINK it doesn't work.
    It seems my only option is to use something like apex_collection.create_collection_from_query and then I can build my query with dynamic sql and use a variable for the dblink name. Then I just create an IRR based on my collection.
    Does that sound like that correct approach and/or am I missing anything?
    Any suggestions are most appreciated,
    john

    I guess I have it working ok. I am able to create a region of type 'PL/SQL Dynamic Content' and do something like this and it works. As I change the dblink select list the report refreshes with data from that instance. Pretty cool! I just can't believe it's this much work to do this. This is just one column of data and I have about 10 columns that I need to display:
    declare
    type array_t is varray(100) of number;
    array array_t;
    l_sql varchar2(4000);
    begin
    l_sql := 'SELECT credit_card_trxn_id FROM EXM_CREDIT_CARD_TRXNS@'||:P4_DBLINK;
    execute immediate l_sql BULK COLLECT INTO array;
    for i IN 1..array.count
    LOOP
    HTP.p (array(i));
    HTP.br;
    END LOOP;
    end;

  • Problem in using bind variables.

    I am using following query in my procedure:
    In 1st Query I am getting the result.
    And in 2nd Query when i am using bind variable i got error that " Table or View Does not Exist"
    ---------1st query
    OPEN p_document_details FOR
    SELECT ddd.document_code,
    ddd.document_description,
    ddd.document_level
    FROM dms_document_details ddd,
    dms_document_group_details ddgd
    WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code)
    AND UPPER(ddgd.document_group_code) = UPPER(p_doc_group_code)
    AND UPPER(ddgd.scheme_type) = UPPER(p_scheme_type)
    AND UPPER(ddgd.process_name) = UPPER(p_process_name) ;
    ---------2nd query
    v_search_sql :=
    ' SELECT ddd.document_code, '
    || ' ddd.document_description, '
    || ' ddd.document_level '
    || ' FROM dms_document_details ddd, dms_document_group_details ddgd '
    || ' WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code) = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;
    Please provide any solution.
    Thanks in advance.
    AgrawalV

    ---------2nd query
    v_search_sql :=
    ' SELECT ddd.document_code, '
    | ' ddd.document_description, '
    || ' ddd.document_level '
    || ' FROM dms_document_details ddd,
    dms_document_group_details ddgd '
    || ' WHERE UPPER(ddd.document_code) =
    UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code)
    = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;
    Hi!
    Try to use chr(10) before from clause. Hope this will solve your problem --
    v_search_sql :=
       ' SELECT ddd.document_code, '
    || ' ddd.document_description, '
    || ' ddd.document_level '
    ||chr(10)
    || ' FROM dms_document_details ddd, dms_document_group_details ddgd '
    ||chr(10)
    || ' WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code) = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;Regards.
    Satyaki De.

  • Query BI7: problem in using the variables of referenced caracteristics.

    Dear Experts,
    I have posted a question in "BI General" yesterday. Untill now, I haven't got any reply. So i decide to post it under this subject. And I hope somebody can help me.
    A query was created on the basis of an Infoset, in which there are many caracteristics created with reference to some existed caracteristics.
    However, in the new query, I was not able to use those variables which are already created and attached to the existed caracteristics. What's more, some variables are declared in the SAP exit, and they are compulsory in the new query.
    Given a very short delay in the project, it seems to me impossible to create all the variables for my new query.
    Is there anybody who has a solution or an idea for this problem?
    Thanks in advance!!!

    I was not able to use those variables which are already created and attached to the existed caracteristics.
    Ya,you cannot use the same variable to two(or more) infoobjects (though they use same reference) but what I observed in was eventhoug you get Error messaga when you do check in query designer.If you ignore and just execute the query it simply works.Just give it a try.
    Else you need to create new variables similar to existing one and use it.

  • Using path variable to CI under transaction file for DBTABLOG archiving

    Hello Colleagues,
    I have to configure DBTABLOG archiving among others under transaction file.
    Here you have to configure archive path to the filesystem.
    E.g.this is the path to the development system:
    DEV23015\Interfaces\Outbound\Archiving_IDOCs\<FILENAME>
    It's clear, for test as well production we are using different hostname.
    So the consideration was to use a respective variable for the server system.
    E.g.
    <HOST>\Interfaces\Outbound\Archiving_IDOCs\<FILENAME>
    But now the problem, we are using CI (centra instnace) and application server for test as well as production and the archiving path respectively the archiving folder are only configured at CI server.
    So the HOST variable is not sufficient in this case.
    The variable SAPGLOBALHOST pointing directly to the CI server but not possible to configure under TC file.
    Any idea which variable possible and pointing direct to CI server?
    Or is the only possibility for pointing direct to CI server for archiving to use the HOST variable and modify the archiving job to run only on CI server?
    Many thanks in advance!
    Regards,
    Jochen

    You have two options...
    First one is to mount that path into all your instances
    Second is to use a Server Group Name under Cross-Archiving Object Customizing -> Technical Settings to force that particular object jobs to run on your CI.
    Regards
    Juan

  • Problems with using a variable of type flash.filesystem.File

    I need to parse a file with my flex app.  I can import flash.filesystem.File with no problem but if I try to create a variable of that type, it does strange things at run time.  If the variable is defined inside a function, it's as if that function no longer exists.  The function doesn't get called and I can't step into it.  If I define a File variable at global scope, the swf simply won't do anything at all.
    I've added all the AIR libs to my project and don't know what else to try at this point.  Any ideas?
    This sample code shows the problem.  If I comment out the File in initData, initData doesn't get called and I can't step into it.  If I comment out the global File, then I get a blank swf.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application           
       xmlns:mx="http://www.adobe.com/2006/mxml" minWidth="955" minHeight="600"
       initialize="initData()">
        <mx:Script>
            <![CDATA[
                import flash.filesystem.File;
                //private var file:File;
                private function initData():void
                    //var file:File;  
                    testLabel.text = "test";   
            ]]>
        </mx:Script>
        <mx:TextArea y="200" id="testLabel" text="hello" />
    </mx:Application>

    sorry for my ignorance, I've only been using flex since 4.0
    shouldn't you be using WindowedApplication rather than Application for an AIR app?
    also there is no need to import File
    below is my code that work's fine
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
                                  layout="absolute"
                                  initialize="initData()">
         <mx:Script>
              <![CDATA[
                   private var file:File;
                   private function initData():void
                        var file:File;
                        testLabel.text = "test";
              ]]>
         </mx:Script>
         <mx:TextArea y="200" id="testLabel" text="hello" />
    </mx:WindowedApplication>

  • Problem in using array variable in PartnerLinks

    I have a stored procedure in Oracle DB,which the parameters is a varray with types,such as
    type temp1 as object (temp_id varchar(10),temp_desc varchar(512));
    TYPE templist AS VARRAY(50) OF TEMP1
    procedure testArray1(accounting_temps IN templist)
    I used the database adapter to generate a partnerlink,it can work,but when I assign the variables to DBAda1_InputVariable (using while to read all data in xml),it only send a array with one value,the last value updates the value before.
    How to add the array (not update) variable in this case??
    Thanks and best regards!!

    I have a stored procedure in Oracle DB,which the parameters is a varray with types,such as
    type temp1 as object (temp_id varchar(10),temp_desc varchar(512));
    TYPE templist AS VARRAY(50) OF TEMP1
    procedure testArray1(accounting_temps IN templist)
    I used the database adapter to generate a partnerlink,it can work,but when I assign the variables to DBAda1_InputVariable (using while to read all data in xml),it only send a array with one value,the last value updates the value before.
    How to add the array (not update) variable in this case??
    Thanks and best regards!!

  • Problem is using collection variables in contracts

    Hi all
    I am trying to create a contract from master agreement that would pull in the line item information in master agreement in a tabular format in my MS Word based contract.
    For the same I have added contract gen variable  "Agreement Line Items (Table format)" in one of the clauses.I am used this clause in my contract generation template. When i create contract using this contract gen template valuse are not getting pulled.
    This is working fine for attribute variables like Title, company etc.
    Plz help if somebody has faced similar issues
    Regards
    Tripti
    Edited by: Tripti A on Mar 24, 2010 1:12 PM

    Hi
    Is the functionality working fine for everyone? Please let me know.
    Tripti

  • Linked resources in .project

    I am using linked resources to avoid using absolute paths in
    a source-controlled BlazeDS application. I have set the
    ${CATALINA_HOME} linked resource in Eclipse and am using it
    successfully for compiler argument paths. I have also set the
    output folder in Project->Properties->Flex Build
    Path->Output Folder to use ${CATALINA_HOME}.
    However, in the .project file, a linkedResources element has
    been created specifying the output folder location as an absolute
    path, rather than using ${CATALINA_HOME}. When I try to edit the
    .project file to use the link token, after saving the file, Eclipse
    resets the path back to absolute.
    So, while my .actionScriptProperties and .flexProperties use
    the linked resource properly, the .project file does not, and makes
    it difficult to share the project.
    Any ideas on why this might be happening?
    I also don't understand why in my .actionScriptProperties, in
    the compiler tag, why there is both a outputFolderLocation and
    outputFolderPath attribute. What is the difference? The
    outputFolderLocation attribute uses the linked resource, while
    outputFolderPath is set to "bin-debug" and seems to be referencing
    the .project file where the linkedResource is giving me trouble. I
    believe this to be the case because nowhere else to I specify
    bin-debug to be the name of the output folder.

    On 12/27/2011 02:51 AM, Mikhail wrote:
    > Hi,
    >
    > I'm trying to link external source folder to my project. I'm doing this
    > via Project properties->C/C++ general->Paths and Symbols->Source
    > Location->Link Folder. In principle it is working fine, if I specify the
    > absolute folder path.
    > The problem is that the absolute path is not applicable in my case, as
    > we share the project via SVN, and other developers have that folder with
    > absolute paths. We are using an environment variable to reference this
    > issue. But this variable is not available in the "Variables.." popup for
    > the linked resources. Only variables I see there are ECLIPSE_HOME,
    > PARENT_LOC, PROJECT_LOC and WORKSPACE_LOC.
    >
    > This puzzles me a lot. How can I link the folder using an environment
    > variable? I can see the variables in the Project properties->C/C++
    > build->Build Variables (with "Show system variables" enabled), but not
    > in Project properties->Resource->Linked Resources->Path Variables.
    >
    > Are there any solutions to this problem?
    >
    > Best regards,
    > Mikhail Barg
    Eclipse won't pick up Path Variables from Environment variables. You
    can define your own Path Variables in the popup for linked resources.
    Click on the New button and browse to the file system location. Each
    developer then needs to define this variable in their own workspace.
    You are able to get relative paths using special variable names that are
    internal to Eclipse. You can setup the relative links using Drag and
    Drop. Open up a system file navigator window (Explorer, Dolphin,
    Nautilus, etc). Drag the external folder and drop it on the project in
    the Eclipse Project Explorer. A dialog box will ask if you want to add
    the folder to the project. Select Link to Files and Folders. You can
    then select if the link should be relative to the project, workspace, or
    a variable you create yourself.

  • How to modify $PATH variable

    Hello,
    I'm having problems editing my $PATH variable.
    I've created a ".profile" with this line
    export /my_path:$PATH
    But when I launch Terminal again, I get this error:
    -bash: export: `/my_path:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin': not a valid identifier
    Is there something that I am missing? Or is there another easier way to edit my $PATH variable?
    Cheers!
    Max

    I'm having problems editing my $PATH variable.
    I've created a ".profile" with this line
    export /my_path:$PATH
    But when I launch Terminal again, I get this error:
    -bash: export: `/my_path:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin': not a valid identifier
    Is there something that I am missing? Or is there another easier way to edit my $PATH variable?
    export PATH="/my_path:$PATH"
    Also note, that bash will look for 1 of 3 initialization files
    .bash_profile
    .bash_login
    .profile
    In that order, and will use the first one it finds and then stop looking. If you also have a .bashrc file, you would source that in your shell initialization file
    source $HOME/.bashrc
    By the way, Terminal, Unix, and command line command questions are best asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • GNU make ignores the PATH variable

    I just want to restate what was said in this post (that is now archived):
    http://discussions.apple.com/thread.jspa?threadID=2144085
    I have the exact same problem. The PATH variable is not taken into account when running simple commands in a makefile. If I change the command to something just a little more complex, like "echo hello && command" it works. So it seems to be an optimisation problem.
    I am running GNU Make 3.81 on Mac OS X 10.6.4.

    On 08/17/2015 05:50 AM, matt matt wrote:
    > Having installed cygwin and editing the PATH variable was not sufficient
    > for me because I'm running a user account.
    >
    > When I run "gcc -v" in cmd.exe I get the output: "..not recognized as an
    > internal command"
    > When I run "gcc- v" in cmd.exe as administrator this is no problem.
    >
    > How can I make this work for the user account?
    There's an Eclipse forum dedicated to C/C++ questions you might wish to
    post in. It's called Eclipse CDT.

  • I am having problems updating my itunes to the latest version, on each stage I am getting a message 'The feature you are trying to use in on a network resource that is unavailable.'  I try to click OK it fails and I do not know an alternate path to select

    I am having problems updating my itunes to the latest version, on each stage I am getting a message 'The feature you are trying to use in on a network resource that is unavailable.'  I try to click OK it fails and I do not know an alternate path to select, please help?
    I get message like below on each stage of the update, Quicktime, Safari & iTunes;
    It's so annoying as until I update my iTunes account my phone won't sync.

    Many thanks for the screenshot. (The key to these is knowing which particular .msi file is being mentioned by the message.)
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?
    (Assuming that the QuickTime and Safari messages were also citing bonjour64.msi, you should also then be good to go with those installs too.)

  • Hi guys i got problem apple software Update i got masage .The feature you trying use is on a network resource that is unavailable. Click OK to try again,or enter an alternate path to a folder containing the installation package i Tunes.msi' in the box bel

    hi guys i got problem apple software Update
    i got masage
    .The feature you trying use is on a network resource that is unavailable.
    Click OK to try again,or enter an alternate path to a folder containing the installation package i Tunes.msi' in the box below
    and i cant find anything please help

    This forum is for questions about Apple Remote Desktop, Apple's software for managing networked Mac systems, and hence not the best place for your question. I'd suggest asking in the iTunes for Windows forum. You'll need to include more details, including the version of Windows you have, before anyone can do more than guess as to the problem.
    Regards.

Maybe you are looking for

  • Audiobooks will no longer transfer to my ipod touch from overdrive media! Help!!

    With every ios update, this problem gets worse. Before ios5 audiobooks worked seamlessly, now since ios6 most recent update, only select parts of the book will transfer to my device. I then get a notice from itunes at the conclusion of the transfer t

  • 21.5" i7 vs 27" i5 -- which is more powerful?  What about video editing?

    I'm trying to decide between a 21.5" iMac with 1TB and i7 and the next step up -- the 27" with an i5. My budget really was only for the 21.5 -- which comes out at 1699 -- the 27 would be 1999 -- My main current needs are: Animation (Flash, etc), CS S

  • Can't download all contents to Windows

    Hi, Set up iCloud on my Win7, and got all the photos alright (~200MB). However no Videos came through, and my iCloud storage claims to be ~5GB (probably bloated up with vids?). How can I see what's in there, or download the vids? 'Manage' only lets m

  • Open with Editor

    Just installed Elements 10 and changed settings at the option screen on startup to open straight to Organiser, How do I change again to open straight to editor?

  • Javascript pop up

    Hello, I want to have the result of the expression ('plus') shown in the pop up (and in the textbox) when clicking on calculate <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-Strict.dtd"> <html xmlns