Click
  1. Click
  2. CLK-634

Modify the .classpath file to set the right path for jars in the examples directory for some entries that rely on EXAMPLES variable.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: examples
    • Labels:
      None

      Description

      The .classpath file under click directory has some entries that uses EXAMPLES as the path:

      <classpathentry kind="var" path="EXAMPLES/ashwood-2.0.jar"/>
      <classpathentry kind="var" path="EXAMPLES/commons-logging-1.1.1.jar"/>
      <classpathentry kind="var" path="EXAMPLES/hsqldb-1.8.0.1.jar"/>
      <classpathentry kind="var" path="EXAMPLES/jstl-1.1.2.jar"/>
      <classpathentry kind="var" path="EXAMPLES/log4j-1.2.14.jar"/>

      However looks like the "EXAMPLES" variable is not set anywhere. When the project is opened with Eclipse (and IntelliJIdea) it complained about missing variable.

      We could just change the entries to be kind="lib" and use "examples/webapp/WEB-INF/lib/" in the path rather than use EXAMPLES because the jars are specific to example application that src repository provides.

        Activity

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Henry Saputra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development