EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  EGL Organize Import

    Posted 05/19/15 12:34 PM

    I did a Organize Import to a program and I got a error mark:

    import sal.comum.map.SAL38G;

    import sal.comum.map.SALM3851; ...

    IWN.VAL.3260.e 3/22 The type sal.comum.map.SALM3851 cannot be resolved.

    the program name is SALO385 type textUiProgram that use SAL38G formGroup and there is SALM3851 textForm.

    // Use Declarations

    use SAL38G.SALM3851 // form

    however the program file is in a project and the formgroup this in another project

    C:\Workspace\MyProject\EGLProgram\EGLSource\salo385\SALO385.egl

    C:\Workspace\MyProject\EGLCommon\EGLSource\sal\comum\map\SAL38G.egl

    Is there some problem when the formGroup and textForm is in another common Project ?

    Thanks !

    Hsieh


  • 2.  Re: EGL Organize Import

    Posted 05/19/15 01:48 PM

    Is EGLCommon listed in the EGL Build Path of the EGLProgram project?

     

    Mark

    markevans


  • 3.  Re: EGL Organize Import

    Posted 05/19/15 02:03 PM

    Yes ! Mark.

    The EGLCommon is listed in the EGL Build Path.

    None project with EGL Build Path error.

    and if I press the PF3 button on the map

    use SAL38G.SALM3851 // form

    It open.

    Hsieh


  • 4.  Re: EGL Organize Import

    Posted 05/20/15 01:20 PM

    Hey,

    I saw the same thing if I created a cross project dependency between projects like you said.  The "import pkg.form" statement in my case was created using "Organize imports".   How was the import created for you? 

    If you want to pursue, then please open a PMR.

     

    A simple workaround is to delete the import pkg.form.   it is not needed.

    take care.

    Mark

    markevans


  • 5.  Re: EGL Organize Import

    Posted 05/20/15 06:33 PM

    Hi Mark,

    The import was generated from the migration VAG / EGL.

    Ok !  not a big problem.  I will ask the customer to open a PMR.

    Thanks for reply.

    Regards,

    Hsieh

    Hsieh