ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buck, Robert" <rb...@verisign.com>
Subject RE: Beta-2 Bug (ormaybe not): ivy.xml file cannot handle <br/> tag
Date Wed, 12 Mar 2008 20:33:06 GMT
Oops, too late. I just bulk deleted all <br/> tags from our IVYREP xml
files.

Sorry. 

Thanks for looking into this.

Bob

-----Original Message-----
From: Xavier Hanin [mailto:xavier.hanin@gmail.com] 
Sent: Wednesday, March 12, 2008 4:21 PM
To: ivy-user@ant.apache.org
Subject: Re: Beta-2 Bug (ormaybe not): ivy.xml file cannot handle <br/>
tag

Nevermind my previous e-mail, this doesn't seem to be an xml parser
error, but rather our fault.

I've fixed some parsing issues recently, I think the trunk version
should work fine with that. Could you try out a trunk version?

Xavier

On Wed, Mar 12, 2008 at 8:32 PM, Buck, Robert <rbuck@verisign.com>
wrote:
> The file has in it:
>
>     <description homepage="http://logging.apache.org/log4j/">Log4j
>  enables logging at runtime without modifying the application  
> binary.<br/></description>
>
>  This worked in Beta1, and prior versions. In Beta 2 there appears to 
> be  a regression?
>
>  Here is a stack trace showing the problem...
>
>  module-resolve:
>
>  --buildmagic-ivy-resolve:
>  [ivy:resolve] :: resolving dependencies ::
>  verisign#common;working@WAT1RBUCK-L3
>  [ivy:resolve]   confs: [default]
>  [ivy:resolve] java.text.ParseException: [unknwon tag br in
>  http://localhost:3737
>  3/ivyrep/apache/log4j/1.2.15/ivys/ivy-1.2.15.xml
>  [ivy:resolve] ]
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$
>  AbstractParser.checkErrors(AbstractModuleDescriptorParser.java:89)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$
>  
> AbstractParser.getModuleDescriptor(AbstractModuleDescriptorParser.java
> :3
>  42)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.p
>  arseDescriptor(XmlModuleDescriptorParser.java:100)
>  [ivy:resolve]   at
>  org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cache
>  ModuleDescriptor(DefaultRepositoryCacheManager.java:891)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.BasicResolver.parse(BasicReso
>  lver.java:419)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.BasicResolver.getDependency(B
>  asicResolver.java:221)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.ChainResolver.getDependency(C
>  hainResolver.java:124)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225
>  )
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java
>  :257)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(R
>  esolveEngine.java:599)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies
>  (ResolveEngine.java:682)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(R
>  esolveEngine.java:607)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.getDependencies(Res
>  olveEngine.java:494)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngi
>  ne.java:233)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngi
>  ne.java:191)
>  [ivy:resolve]   at org.apache.ivy.Ivy.resolve(Ivy.java:506)
>  [ivy:resolve]   at
>  org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
>  [ivy:resolve]   at
org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
>  ava:105)
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
>  faultExecutor.java:41)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at org.apache.tools.ant.Main.runBuild(Main.java:698)
>  [ivy:resolve]   at org.apache.tools.ant.Main.startAnt(Main.java:199)
>  [ivy:resolve]   at
>  org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>  [ivy:resolve]   at
>  org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>  [ivy:resolve] java.text.ParseException: [unknwon tag br in
>  http://localhost:3737
>  3/ivyrep/oracle/ojdbc/10.1/ivys/ivy-10.1.xml
>  [ivy:resolve] ]
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$
>  AbstractParser.checkErrors(AbstractModuleDescriptorParser.java:89)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$
>  
> AbstractParser.getModuleDescriptor(AbstractModuleDescriptorParser.java
> :3
>  42)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.p
>  arseDescriptor(XmlModuleDescriptorParser.java:100)
>  [ivy:resolve]   at
>  org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cache
>  ModuleDescriptor(DefaultRepositoryCacheManager.java:891)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.BasicResolver.parse(BasicReso
>  lver.java:419)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.BasicResolver.getDependency(B
>  asicResolver.java:221)
>  [ivy:resolve]   at
>  org.apache.ivy.plugins.resolver.ChainResolver.getDependency(C
>  hainResolver.java:124)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225
>  )
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java
>  :257)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(R
>  esolveEngine.java:599)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies
>  (ResolveEngine.java:682)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(R
>  esolveEngine.java:607)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.getDependencies(Res
>  olveEngine.java:494)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngi
>  ne.java:233)
>  [ivy:resolve]   at
>  org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngi
>  ne.java:191)
>  [ivy:resolve]   at org.apache.ivy.Ivy.resolve(Ivy.java:506)
>  [ivy:resolve]   at
>  org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
>  [ivy:resolve]   at
org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
>  ava:105)
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor15.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
>  s(SingleCheckExecutor.java:38)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>  va:288)
>  [ivy:resolve]   at
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
>  Source)
>  [ivy:resolve]   at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>  hodAccessorImpl.java:25)
>  [ivy:resolve]   at java.lang.reflect.Method.invoke(Method.java:585)
>  [ivy:resolve]   at
>  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
>  tils.java:105)
>  [ivy:resolve]   at org.apache.tools.ant.Task.perform(Task.java:348)
>  [ivy:resolve]   at
org.apache.tools.ant.Target.execute(Target.java:357)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Target.performTasks(Target.java:385)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeSortedTargets(Project.jav
>  a:1329)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>
>  [ivy:resolve]   at
>  org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
>  faultExecutor.java:41)
>  [ivy:resolve]   at
>  org.apache.tools.ant.Project.executeTargets(Project.java:1181
>  )
>  [ivy:resolve]   at org.apache.tools.ant.Main.runBuild(Main.java:698)
>  [ivy:resolve]   at org.apache.tools.ant.Main.startAnt(Main.java:199)
>  [ivy:resolve]   at
>  org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>  [ivy:resolve]   at
>  org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>  [ivy:resolve]   found codehaus#woodstox;3.9.0 in public-resolver
>  [ivy:resolve] downloading
>  http://localhost:37373/ivyrep/codehaus/woodstox/3.9.0/
>  jars/stax-api-1.0.1.jar ...
>  [ivy:resolve]
.........................................................
>  (25kB)
>  [ivy:resolve]   [SUCCESSFUL ]
codehaus#woodstox;3.9.0!stax-api-1.0.1.jar
>  (802ms)
>



--
Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/
http://ant.apache.org/ivy/ http://www.xoocode.org/

Mime
View raw message