Broken POM generation on Windows
--------------------------------
Key: QPID-2520
URL: https://issues.apache.org/jira/browse/QPID-2520
Project: Qpid
Issue Type: Bug
Components: Build Tools, python tools
Affects Versions: 0.6
Reporter: Emmanuel Bourg
Fix For: 0.7
The genpom script doesn't work on Windows. Calling "ant pom" gives the
following stacktrace :
{code}
pom:
[java] Traceback (most recent call last):
[java] File "C:\dev\apache\qpid-trunk\java/genpom", line 95, in <module>
[java] pom = search(expanded_path, "%s.pom" % base)
[java] File "C:\dev\apache\qpid-trunk\java/genpom", line 83, in search
[java] return mllib.xml_parse(f)
[java] File "C:\dev\apache\qpid-trunk\python\mllib\__init__.py", line
79, in xml_parse
[java] p.parse(source)
[java] File
"C:\dev\apache\qpid-trunk\java\lib\jython-2.5.0.jar\Lib\xml\sax\drivers2\drv_javasax.py",
line 141, in parse
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[java] at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
[java] at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
[java] at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
[java] at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
[java] at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
[java] at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
[java] at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java]
[java] java.io.FileNotFoundException: java.io.FileNotFoundException:
C:\dev\apache\qpid\java\common\dev\apache\qpid\java\lib\poms\slf4j-api-1.4.0.pom
(Le chemin d'accès spécifié est introuvable)
{code}
It works fine on Linux
--
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:[email protected]