[ 
https://issues.apache.org/jira/browse/QPID-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Bourg updated QPID-2526:
---------------------------------

    Summary: Ant build fails if the path contains a space character  (was: 'ant 
build' fails if the path contains a space character)

I've found another error in the build related to the space in the path, this 
time in the creation of the OSGi bundles. For some reason the bnd task doesn't 
create the jar and no error is produced immediately. It breaks later with this 
message:

{code}
release-bin-qpid-management-common-plugin:

BUILD FAILED
/var/lib/hudson/jobs/Apache Qpid/workspace/qpid/java/build.xml:110: The 
following error occurred while executing this line:
/var/lib/hudson/jobs/Apache Qpid/workspace/qpid/java/build.xml:54: The 
following error occurred while executing this line:
/var/lib/hudson/jobs/Apache 
Qpid/workspace/qpid/java/management/eclipse-plugin/build.xml:58: The following 
error occurred while executing this line:
/var/lib/hudson/jobs/Apache 
Qpid/workspace/qpid/java/management/eclipse-plugin/build-release.xml:79: Please 
run ant bundle for the management-common module
{code}

Upgrading to the latest version of bnd (0.0.384) solved the issue. It can be 
downloaded here:

http://www.aqute.biz/repo/biz/aQute/bnd/0.0.384/bnd-0.0.384.jar


> Ant build fails if the path contains a space character
> ------------------------------------------------------
>
>                 Key: QPID-2526
>                 URL: https://issues.apache.org/jira/browse/QPID-2526
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System, Java Broker, Java Common
>    Affects Versions: 0.6
>            Reporter: Emmanuel Bourg
>            Priority: Trivial
>             Fix For: 0.7
>
>         Attachments: build-broker.patch, build-common.patch
>
>
> 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:
> {code}
> 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":
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to