Results 1 to 2 of 2

Thread: Code reference to Java file in another project rather than its home project

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    7

    Default Code reference to Java file in another project rather than its home project

    I have two projects in STS 2.8, A and B.
    The java statement
    <%AdhTOC selTO = (AdhTOC)session.
    getAttribute(DataManagementConstantsC.ADH_ATTR_SEL ECTION_TO);
    %>
    in jsp file adh.jsp in A\WebContent\ (in project A)
    references the Java file DataManagementConstantsC.java in another project B\javaresource\src\DataManagementP\.
    Logically, it should reference some java file in project A\javaresource\src\. (in fact, there is no such a file DataManagementConstantsC.java in A\javaresource\src\; therfore, an error should be reported in editor)

    I use F3 and Linked with Editor to find out the above issue.
    Anyone could help me about it. Thank you very much.

    David

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey David!

    Could you attach the projects or a sample project at reproduces this? That would be great.

    Thanks,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •