Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3241

Newline in module descriptor causes ClassNotFoundException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.3.2
    • Fix Version/s: None
    • Component/s: modulemechanism
    • Environment:
      Ubuntu, Tomcat 6.0.26, Java 1.6.0.20, Eclipse 3.5.2

      Description

      Default Eclipse xml formatting moves <versionHandler> closing tag to a new line for long qualified names. This causes a ClassNotFoundException on Tomcat startup. ex:

      <?xml version="1.0" encoding="UTF-8"?>
      <module>
      <name>training-samples</name>
      <displayName>${project.name}</displayName>
      <versionHandler>info.magnolia.training.samples.SamplesVersionHandler
      </versionHandler>
      <version>1.0-SNAPSHOT</version>
      </module>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gjoseph Magnolia International
              Reporter:
              bbowman Brian Bowman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: