[ https://issues.apache.org/jira/browse/IVY-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602470#action_12602470 ]
scastria edited comment on IVY-827 at 6/4/08 2:48 PM: -------------------------------------------------------------- I could not reproduce on windows either. I can reproduce on Linux (RedHat EL5). Here is the ANT verbose: Apache Ant version 1.7.0 compiled on December 13 2006 Buildfile: lgcbuild.xml Detected Java version: 1.6 in: /cm/ggt/JAVA_1.6.0_U1/Linux_x86_64/jdk1.6.0_01/jre Detected OS: Linux parsing buildfile /d01/shawn/swingtools/lgcbuild.xml with URI = file:/d01/shawn/swingtools/lgcbuild.xml Project base dir set to: /d01/shawn/swingtools [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found. [property] Loading Environment env. Importing file /d01/shawn/lgcbuild/ivy/build/master.xml from /d01/shawn/swingtools/lgcbuild.xml parsing buildfile /d01/shawn/lgcbuild/ivy/build/master.xml with URI = file:/d01/shawn/lgcbuild/ivy/build/master.xml Build sequence for target(s) `clean.local' is [init.clean, init.env, init.platform, init.conform, init.var, init.ivy, clean.local] Complete build sequence is [init.clean, init.env, init.platform, init.conform, init.var, init.ivy, clean.local, clean.build, clean.dependencies, clean.both, dependencies.check, module.passthruHomes, module.passthruJar, module.passthruBin, module.passthru, module.javaSrcPath, module.jaxb, module.jarPath, module.classPath, module.compileJava, module.resources, module.register, module.verify, module.manifest.classpath, module.jar.manifest, module.jar, module.jar.obfuscate, module.include, module.javah, module.sdk, module.generic, module.compileNative.win32, module.compileNative.win64, module.compileNative.linux, module.compileNative.linux64, module.compileNative.solaris, module.native, module, module.libPath, module.runtimePath, test.selectTestCases, test.testcases, master.test.report, test.report, master.test, master.module.resources, dependencies.resolve, master.dependencies.retrieve, publish.buildtools.versionFile, publish.buildtools.zip, master.dependencies.source, report, master.module.compileNative.solaris, master.publish.buildtools, publish.buildtools, dependencies.retrieve, dependencies, master.module.homePath, master.clean.cache.all, promote.release.setup, promote, master.promote.release, dependencies.source, master.module.native, master.init.platform, master.clean.both, master.publish.buildtools.versionFile, clean.cache.all, clean.all, clean.dependencies.source, master.module.sdk, module.buildtools, master.module.compileNative.linux, master.module.compileNative.win32, master.module, module.homePath, master.publish.repository, publish.repository, master.promote, master.clean.local, master.module.manifest.classpath, master.publish.local, master.report, master.promote.testing.setup, master.module.classPath, promote.release, docs, master.module.buildtools, master.init.clean, master.test.selectTestCases, master.clean.build, promote.testing.setup, master.promote.testing, master.module.compileJava, master.dependencies.resolve, master.clean.dependencies.source, master.init.ivy, test.coverage.setup, master.test.coverage, master.init.var, master.publish.buildtools.zip, master.clean.local.all, master.module.runtimePath, test, master.module.passthruBin, master.dependencies.check, master.clean.cache, master.module.register, master.module.generic, master.module.jar.manifest, master.module.include, master.module.passthruJar, master.module.passthru, master.module.javah, master.module.passthruHomes, master.module.jaxb, promote.testing, master.clean.dependencies, clean.cache, master.clean.all, master.module.javaSrcPath, clean.local.all, master.init.conform, publish.local, master.module.compileNative.win64, master.module.libPath, master.module.jar.obfuscate, master.test.coverage.setup, master.promote.release.setup, master.module.jarPath, test.coverage, master.docs, master.dependencies, master.test.testcases, master.init.env, master.module.compileNative.linux64, master.module.verify, master.module.jar, ] init.clean: init.env: [property] Loading Environment env. Override ignored for property "env.LESSOPEN" Override ignored for property "env.LANG" Override ignored for property "env.USER" Override ignored for property "env.PWD" Override ignored for property "env.SHELL" Override ignored for property "env.G_BROKEN_FILENAMES" Override ignored for property "env.ISMP_HOME" Override ignored for property "env.FISHEYE_OPTS" Override ignored for property "env.CLASSPATH" Override ignored for property "env.MAIL" Override ignored for property "env.SHLVL" Override ignored for property "env.LGCBUILD" Override ignored for property "env.ANT_OPTS" Override ignored for property "env.NLSPATH" Override ignored for property "env.LOGNAME" Override ignored for property "env.CLEARCASE_GROUPS" Override ignored for property "env.PATH" Override ignored for property "env.TERM" Override ignored for property "env.SSH_TTY" Override ignored for property "env.XFILESEARCHPATH" Override ignored for property "env.SSH_CONNECTION" Override ignored for property "env.CVS_RSH" Override ignored for property "env.JAVA_HOME" Override ignored for property "env.ANT_HOME" Override ignored for property "env.SSH_CLIENT" Override ignored for property "env.LGC_USE_LOCAL_PREF" Override ignored for property "env.LD_LIBRARY_PATH" Override ignored for property "env.HOME" Override ignored for property "env.INPUTRC" Override ignored for property "env.SSH_ASKPASS" Override ignored for property "env.HISTSIZE" Override ignored for property "env.HOSTNAME" Override ignored for property "env.COMPUTERNAME" Override ignored for property "env.LGCUSER" Override ignored for property "env.LS_COLORS" [echo] JAVA_HOME: /cm/ggt/JAVA_1.6.0_U1/Linux_x86_64/jdk1.6.0_01 parsing buildfile jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml init.platform: init.conform: Skipped because property 'targetNoConform' set. init.var: Override ignored for property "env.LGCUSER" parsing buildfile jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/AntelopeTasks_3.4.2.jar!/ise/antelope/tasks/antlib.xml with URI = jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/AntelopeTasks_3.4.2.jar!/ise/antelope/tasks/antlib.xml [property] Loading /d01/shawn/swingtools/users/renobuild/buildmaster/lgcbuild.properties [property] Unable to find property file: /d01/shawn/swingtools/users/renobuild/buildmaster/lgcbuild.properties [property] Loading /d01/shawn/swingtools/users/renobuild/lgcbuild.properties [property] Unable to find property file: /d01/shawn/swingtools/users/renobuild/lgcbuild.properties [property] Loading /d01/shawn/swingtools/lgcbuild.properties [property] Unable to find property file: /d01/shawn/swingtools/lgcbuild.properties [available] Found: src [available] Unable to find src/cpp to set property moduleHasNativeSrc [available] Found: jar [available] Found: homes [available] Unable to find bin to set property moduleHasBin [available] Unable to find testTypeClasses.xml to set property moduleHasTestSelector [echo] Please select a release specification: [echo] 1. DS_5000_0_1_0 [echo] 2. DS_5000_3_0_0 [echo] 3. OW_5000_0_0_2_RC1 [echo] 4. OW_5000_0_0_2_RC2 [echo] 5. OW_5000_0_0_3 [echo] 6. SW_5000_0_0_1_D2 [input] Value: [macrodef] creating macro executeFile [macrodef] creating macro executeFiles [macrodef] creating macro executeAll [macrodef] creating macro launchClass init.ivy: [available] Found: /d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml parsing buildfile jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/ivy_2.0.0.rc1.jar!/org/apache/ivy/ant/antlib.xml with URI = jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/ivy_2.0.0.rc1.jar!/org/apache/ivy/ant/antlib.xml [ivy:settings] Loading jar:file:/d01/shawn/swingtools/./../lgcbuild/ant/lib/ivy_2.0.0.rc1.jar!/org/apache/ivy/core/settings/ivy.properties [ivy:settings] :: Ivy 2.0.0-rc1-local-20080604034115 - 20080604034115 :: http://ant.apache.org/ivy/ :: [ivy:settings] :: loading settings :: file = /d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml [ivy:settings] no default ivy user dir defined: set to /home/filer2home/renobuild/.ivy2 [ivy:settings] no default cache defined: set to /home/filer2home/renobuild/.ivy2/cache [ivy:settings] including file: file:/d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml BUILD FAILED /d01/shawn/lgcbuild/ivy/build/master.xml:443: impossible to configure ivy:settings with given file: /d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml :java.text.ParseException: failed to load settings from file:/d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml: io problem while parsing config file: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:310) at org.apache.ivy.ant.IvyAntSettings.execute(IvyAntSettings.java:277) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62) at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.text.ParseException: failed to load settings from file:/d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml: io problem while parsing config file: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:153) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:138) at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:368) at org.apache.ivy.Ivy.configure(Ivy.java:411) at org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:298) ... 30 more Caused by: java.io.FileNotFoundException: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:220) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:277) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:148) ... 34 more Caused by: java.io.FileNotFoundException: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.ivy.util.url.BasicURLHandler.openStream(BasicURLHandler.java:107) at org.apache.ivy.util.url.URLHandlerDispatcher.openStream(URLHandlerDispatcher.java:73) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:145) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:171) at org.apache.ivy.core.settings.XmlSettingsParser.includeStarted(XmlSettingsParser.java:392) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:199) ... 47 more --- Nested Exception --- java.text.ParseException: failed to load settings from file:/d01/shawn/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml: io problem while parsing config file: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:153) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:138) at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:368) at org.apache.ivy.Ivy.configure(Ivy.java:411) at org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:298) at org.apache.ivy.ant.IvyAntSettings.execute(IvyAntSettings.java:277) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62) at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.io.FileNotFoundException: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:220) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:277) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:148) ... 34 more Caused by: java.io.FileNotFoundException: /d01/shawn/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.ivy.util.url.BasicURLHandler.openStream(BasicURLHandler.java:107) at org.apache.ivy.util.url.URLHandlerDispatcher.openStream(URLHandlerDispatcher.java:73) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:145) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:171) at org.apache.ivy.core.settings.XmlSettingsParser.includeStarted(XmlSettingsParser.java:392) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:199) ... 47 more Total time: 1 second was (Author: scastria): I could not reproduce on windows either. I can reproduce on Linux (RedHat EL5). Here is the ANT verbose: > latest development build of SVN repository number 663029 has error in > settings file include mechanism > ----------------------------------------------------------------------------------------------------- > > Key: IVY-827 > URL: https://issues.apache.org/jira/browse/IVY-827 > Project: Ivy > Issue Type: Bug > Reporter: Shawn Castrianni > > I just built the latest ivy code from the trunk and tried it out. There > appears to be a bug in the include mechanism for including one settings file > into another. Below is the bug I am getting. Notice how the "lgcbuild/ivy" > is repeated in the path to the file I am trying to include causing it to not > be found. If I revert back to the previous ivy jar I had (I think beta 2) > everything works fine. I need some of the latest fixes in ivy trunk. I > don't suppose anybody could fix this ASAP?? > /d01/devmani/lgcbuild/ivy/build/master.xml:443: impossible to configure > ivy:settings with given file: > /d01/devmani/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml > :java.text.ParseException: failed to load settings from > file:/d01/devmani/lgcbuild/ivy/release_specs/ivy-DS_5000_0_1_0.xml: io > problem while parsing config file: > /d01/devmani/lgcbuild/ivy/lgcbuild/ivy/release_specs/ivy-master.xml (No such > file or directory) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.