Qpid
  1. Qpid
  2. QPID-2526

Ant build fails if the path contains a space character

    Details

      Description

      The gentools target of the common module fails when the path contains a space character.

      For example if the project sources are copied into /home/ebourg/Apache Qpid, the following error occurs:

      gentools:
           [java] XML files: [Qpid/java/build/scratch/common/src/org/apache/qpid/framing, Qpid/java/common/templates, /home/ebourg/Apache, Qpid/specs/amqp.0-8.xml, /home/ebourg/Apache, Qpid/specs/amqp.0-9.xml, /home/ebourg/Apache, Qpid/specs/amqp0-9-1.stripped.xml]
           [java] ERROR: AMQP XML file "Qpid/java/build/scratch/common/src/org/apache/qpid/framing" not found.
           [java] ERROR: AMQP XML file "Qpid/java/common/templates" not found.
           [java] [Fatal Error] :1:1: Premature end of file.
           [java] org.xml.sax.SAXParseException: Premature end of file.
           [java]     at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
           [java]     at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
           [java]     at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
           [java]     at org.apache.qpid.gentools.Main.analyzeXML(Main.java:193)
           [java]     at org.apache.qpid.gentools.Main.run(Main.java:118)
           [java]     at org.apache.qpid.gentools.Main.main(Main.java:239)
           [java]   "/home/ebourg/Apache":
      
      1. QPID-2526-HandleSpacesInLogMessagesPath.patch
        0.7 kB
        Martin Ritchie
      2. build-slowconsumer.patch
        1 kB
        Emmanuel Bourg
      3. build-broker.patch
        1.0 kB
        Emmanuel Bourg
      4. build-common.patch
        2 kB
        Emmanuel Bourg

        Activity

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Emmanuel Bourg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development