incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddhartha Purkayastha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EASYANT-22) Multi Module Example not working
Date Wed, 23 Mar 2011 14:30:06 GMT

    [ https://issues.apache.org/jira/browse/EASYANT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010148#comment-13010148
] 

Siddhartha Purkayastha commented on EASYANT-22:
-----------------------------------------------

It seems to be happening because of the following tag:
<extends organisation="org.apache.easyant" module="example-parent" revision="latest.revision"
/>

In the module.ivy of example-core module. Whereas the actual module name is:
<info organisation="org.apache.easyant" module="example-multimodule" revision="0.2" status="integration"
>

In the parent module.ivy.


> Multi Module Example not working
> --------------------------------
>
>                 Key: EASYANT-22
>                 URL: https://issues.apache.org/jira/browse/EASYANT-22
>             Project: EasyAnt
>          Issue Type: Bug
>            Reporter: Siddhartha Purkayastha
>            Assignee: Siddhartha Purkayastha
>              Labels: Example, Multimodule
>
> When running EasyAnt build on the Multi Module example, it fails.
> On running with verbose mode, the following exception is observed:
> BUILD FAILED
> Dr Myrmex found an error when building example-multimodule
> * Dr Myrmex diagnostic
> Error : impossible to parse ivy file for D:\sandboxes\ezant\core\trunk\example\example-multimodule\example-core\module.ivy:
ivyfile=D:\sandboxes\ezant\core\trun
> k\example\example-multimodule\example-core\module.ivy exception=
> Cause : java.text.ParseException: Problem occurred while parsing ivy file: Unable to
parse included ivy file for org.apache.easyant#example-parent;latest.revisi
> on in file:/D:/sandboxes/ezant/core/trunk/example/example-multimodule/example-core/module.ivy
>         at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:273)
>         at org.apache.easyant.core.parser.DefaultEasyAntXmlModuleDescriptorParser.parseDescriptor(DefaultEasyAntXmlModuleDescriptorParser.java:92)
>         at org.apache.ivy.plugins.parser.ModuleDescriptorParserRegistry.parseDescriptor(ModuleDescriptorParserRegistry.java:86)
>         at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:48)
>         at org.apache.ivy.ant.IvyBuildList.doExecute(IvyBuildList.java:207)
>         at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
>         at org.apache.easyant.core.ant.MetaBuildExecutor.executeTargets(MetaBuildExecutor.java:77)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>         at org.apache.easyant.core.EasyAntEngine.doBuild(EasyAntEngine.java:581)
>         at org.apache.easyant.core.EasyAntEngine.runBuild(EasyAntEngine.java:633)
>         at org.apache.easyant.core.EasyAntMain.runBuild(EasyAntMain.java:611)
>         at org.apache.easyant.core.EasyAntMain.startAnt(EasyAntMain.java:168)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> Caused by: java.text.ParseException: Unable to parse included ivy file for org.apache.easyant#example-parent;latest.revision
>         at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.startElement(XmlModuleDescriptorParser.java:358)
>         at org.apache.easyant.core.parser.DefaultEasyAntXmlModuleDescriptorParser$EasyAntParser.startElement(DefaultEasyAntXmlModuleDescriptorParser.java:129)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>         at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:131)
>         at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:94)
>         at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:84)
>         at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:248)
>         ... 13 more
> Caused by: java.text.ParseException: Unable to parse included ivy file for org.apache.easyant#example-parent;latest.revision
>         at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.extendsStarted(XmlModuleDescriptorParser.java:437)
>         at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.startElement(XmlModuleDescriptorParser.java:299)
>         ... 30 more
> Total time: 5 seconds

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message