[EMAIL PROTECTED]: Project dotnet-antlib-test (in module ant-antlibs) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project dotnet-antlib-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - dotnet-antlib-test : Task and Type Libraries for Apache Ant Full details are available at: http://vmgump.apache.org/gump/public/ant-antlibs/dotnet-antlib-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/ant-antlibs/dotnet-antlib-test/gump_work/build_ant-antlibs_dotnet-antlib-test.html Work Name: build_ant-antlibs_dotnet-antlib-test (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dant-testutil.jar=/srv/gump/public/workspace/ant/build/lib/ant-testutil.jar test [Working Directory: /srv/gump/public/workspace/ant-antlibs/dotnet] CLASSPATH: /usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/ant-antlibs/dotnet/build/test-classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-28122007.jar:/srv/gump/public/workspace/ant-antlibs/dotnet/build/ant-dotnet-28122007.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar - [au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.022 sec [au:antunit] Target: test-passing took 0.009 sec [au:antunit] Build File: /srv/gump/public/workspace/ant-antlibs/dotnet/src/tests/antunit/dir with spaces/wsdl-test.xml [au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.85 sec [au:antunit] Target: testWSDL took 0.834 sec [au:antunit] Build File: /srv/gump/public/workspace/ant-antlibs/dotnet/src/tests/antunit/dotnetexec-test.xml [au:antunit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.861 sec [au:antunit] Target: testCSC took 0.717 sec [au:antunit] Build File: /srv/gump/public/workspace/ant-antlibs/dotnet/src/tests/antunit/nunit/nunit-test.xml [au:antunit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.195 sec [au:antunit] Target: test-passing took 0.004 sec [au:antunit] Target: test-failing took 0.002 sec [au:antunit] Target: test-failing-errorproperty took 0.106 sec [au:antunit] Target: test-failing-with-fail took 0.002 sec [au:antunit] Target: test-no-assembly took 0.008 sec [au:antunit] Build File: /srv/gump/public/workspace/ant-antlibs/dotnet/src/tests/antunit/old-core-test.xml [au:antunit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 5.474 sec [au:antunit] Target: testCSCintrinsicFileset took 0.75 sec [au:antunit] Target: testCSCresponseFile took 0.607 sec [au:antunit] Target: testILASM took 0.732 sec [au:antunit] Target: testCSCdll took 0.644 sec [au:antunit] Target: testILDASM took 0.704 sec [au:antunit] Target: testILDASM_empty took 0.216 sec [au:antunit] Target: testJsharp took 0.019 sec [au:antunit] Target: testCSCResources took 0.749 sec [au:antunit] Target: testCSC took 0.763 sec [au:antunit] Build File: /srv/gump/public/workspace/ant-antlibs/dotnet/src/tests/antunit/wsdl2dotnet-test.xml [au:antunit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 3.551 sec [au:antunit] Target: testSchemaMustBeSet took 0.024 sec [au:antunit] Target: testLocalWsdlVB took 0.088 sec [au:antunit] Target: testInvalidExtraOps took 0.027 sec [au:antunit] Target: testSrcIsMissing took 0.04 sec [au:antunit] Target: testNoParams took 0.016 sec [au:antunit] Target: testBothSrc took 0.014 sec [au:antunit] Target: testSchemaFileMustHaveOneOptionOnly took 0.012 sec [au:antunit] Target: testLocalWsdl took 1.365 sec [au:antunit] Target: testSrcIsDir took 0.08 sec [au:antunit] Target: testLocalWsdlServerVB took 0.005 sec [au:antunit] Target: testLocalWsdlServer took 1.509 sec [au:antunit] Target: testNoSrc took 0.012 sec [au:antunit] Target: testSchema
[jira] Resolved: (IVY-685) Remove cache attribute on Ant tasks
[ https://issues.apache.org/jira/browse/IVY-685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xavier Hanin resolved IVY-685. -- Resolution: Fixed Fix Version/s: 2.0.0-beta-2 I've removed the cache attribute from Ant tasks, keeping the setter which raises an exception asking user to report problems on this issue. I've also removed this option from all engines options, so that now the cache managers are defined at only one location: - global in the settings for the resolution cache manager - per dependency resolver for the repository cache manager > Remove cache attribute on Ant tasks > --- > > Key: IVY-685 > URL: https://issues.apache.org/jira/browse/IVY-685 > Project: Ivy > Issue Type: Task > Components: Ant >Reporter: Xavier Hanin >Assignee: Xavier Hanin > Fix For: 2.0.0-beta-2 > > > Most tasks have a cache attribute (undocumented, but existing since very > first versions of Ivy) and so do all major services methods (like resolve, > publish, ...). This is a problem to address IVY-399, because it implies > defining a cache root (which wouldn't necessarily have a meaning with > IVY-399) from many different points. > After having asked on the mailing list, nobody seems opposed to remove this: > http://www.nabble.com/Cache-root-on-tasks-to14033823.html#a14033823 > Hence I will remove this attribute, and raise a specific error if used to ask > people to comment on this issue if they actually use this. > So if you are using this attribute, please comment on this issue and tell us > what you are using it for. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[EMAIL PROTECTED]: Project test-ant (in module ant) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project test-ant has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - test-ant : Java based build tool Full details are available at: http://vmgump.apache.org/gump/public/ant/test-ant/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html Work Name: build_ant_test-ant (Type: Build) Work ended in a state of : Failed Elapsed: 10 mins 59 secs Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtest.haltonfailure=false -Dant.home=/srv/gump/public/workspace/ant/dist run-tests [Working Directory: /srv/gump/public/workspace/ant] CLASSPATH: /usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/ant/build/testcases:/srv/gump/public/workspace/ant/src/tests/junit:/srv/gump/public/workspace/ant/src/etc/testcases:/srv/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/srv/gump/public/workspace/ant/build/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/build/lib/ant-swing.jar:/srv/gump/public/workspace/ant/build/lib/ant-junit.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/build/lib/ant-javamail.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/srv/gump/public/workspace/ant/build/lib/ant-trax.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/srv/gump/public/workspace/ant/build/lib/ant-jsch.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/srv/gump/public/workspace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/li b/ant-commons-logging.jar:/srv/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/srv/gump/public/workspace/ant/build/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/srv/gump/public/workspace/ant/build/lib/ant.jar:/srv/gump/public/workspace/ant/build/lib/ant-jai.jar:/srv/gump/packages/antlr-2.7.6/antlr.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-28122007.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-28122007.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-28122007.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-28122007.jar:/srv/gump/public/workspace/jakarta- oro/jakarta-oro-28122007.jar:/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-28122007.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jdepend-2.6/lib/jdepend.jar:/srv/gump/packages/jsch/jsch-0.1.28.jar:/srv/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-28122007.jar:/srv/gump/public/workspace/junit/dist/junit-28122007.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/srv/gump/public/workspace/xml-commons/java/build/which.jar:/srv/gump/public/workspace/rhino/build/rhino_28122007/js.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/srv/gump/packages/bsh- 2.0b4/bsh-classpath-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-core-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-util-2.0b4.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-28122007.jar -
svn commit: r607221 - in /ant/ivy/core/trunk: src/java/org/apache/ivy/ant/ src/java/org/apache/ivy/core/ src/java/org/apache/ivy/core/cache/ src/java/org/apache/ivy/core/event/download/ src/java/org/a
Author: xavier Date: Fri Dec 28 04:16:22 2007 New Revision: 607221 URL: http://svn.apache.org/viewvc?rev=607221&view=rev Log: - store module descriptor cache location in resolution report to avoid using cache manager for later use of this data - simplify ResolvedModuleRevision usage by making it a class, and putting some data separated in an ArtifactDownloadReport - create a constant for unknown ArtifactOrigin instead of using null, to distinguish between unknown location and not providing ArtifactOrigin in IvyPatternHelper methods (which avoid calling getSavedArtifactOrigin many times for nothing) Added: ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/MetadataArtifactDownloadReport.java (with props) Removed: ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/DefaultModuleRevision.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/util/ResolvedModuleRevisionProxy.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyArtifactReport.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/CacheManager.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/RepositoryCacheManager.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/event/download/EndArtifactDownloadEvent.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/install/InstallEngine.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/report/ArtifactDownloadReport.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNode.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/ResolvedModuleRevision.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/retrieve/RetrieveEngine.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/namespace/NameSpaceHelper.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportWriter.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/ChainResolver.java ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/DualResolver.java ant/ivy/core/trunk/test/java/org/apache/ivy/core/cache/CacheManagerTest.java ant/ivy/core/trunk/test/java/org/apache/ivy/plugins/resolver/MockResolver.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyArtifactReport.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyArtifactReport.java?rev=607221&r1=607220&r2=607221&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyArtifactReport.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyArtifactReport.java Fri Dec 28 04:16:22 2007 @@ -219,7 +219,7 @@ RepositoryCacheManager cache, TransformerHandler saxHandler, Artifact artifact) throws IOException, SAXException { ArtifactOrigin origin = cache.getSavedArtifactOrigin(artifact); -if (origin != null) { +if (origin != ArtifactOrigin.UNKNOWN) { String originName = origin.getLocation(); boolean isOriginLocal = origin.isLocal(); Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java?rev=607221&r1=607220&r2=607221&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java Fri Dec 28 04:16:22 2007 @@ -436,11 +436,15 @@ origin = cacheManager.getSavedArtifactOrigin(artifact); -if (origin == null) { +if (origin == ArtifactOrigin.UNKNOWN) { Message.debug("no artifact origin found for " + artifact + " in " + cacheManager); return null; } +} + +if (origin == ArtifactOrigin.UNKNOWN) { +return null; } // we assume that the original filename is the last part of the original file location Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java?rev=607221&r1=607220&r2=607221&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/ArtifactOrigin
[EMAIL PROTECTED]: Project test-ant-no-xerces (in module ant) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project test-ant-no-xerces has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - test-ant-no-xerces : Java based build tool Full details are available at: http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/gump_work/build_ant_test-ant-no-xerces.html Work Name: build_ant_test-ant-no-xerces (Type: Build) Work ended in a state of : Failed Elapsed: 10 mins 53 secs Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtest.haltonfailure=false -Dant.home=/srv/gump/public/workspace/ant/dist run-tests [Working Directory: /srv/gump/public/workspace/ant] CLASSPATH: /usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/ant/build/testcases:/srv/gump/public/workspace/ant/src/tests/junit:/srv/gump/public/workspace/ant/src/etc/testcases:/srv/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/srv/gump/public/workspace/ant/build/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/build/lib/ant-swing.jar:/srv/gump/public/workspace/ant/build/lib/ant-junit.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/build/lib/ant-javamail.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/srv/gump/public/workspace/ant/build/lib/ant-trax.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/srv/gump/public/workspace/ant/build/lib/ant-jsch.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/srv/gump/public/workspace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/li b/ant-commons-logging.jar:/srv/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/srv/gump/public/workspace/ant/build/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/srv/gump/public/workspace/ant/build/lib/ant.jar:/srv/gump/public/workspace/ant/build/lib/ant-jai.jar:/srv/gump/packages/antlr-2.7.6/antlr.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-28122007.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-28122007.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-28122007.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-28122007.jar:/srv/gump/public/workspace/jakarta- oro/jakarta-oro-28122007.jar:/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-28122007.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jdepend-2.6/lib/jdepend.jar:/srv/gump/packages/jsch/jsch-0.1.28.jar:/srv/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-28122007.jar:/srv/gump/public/workspace/junit/dist/junit-28122007.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/srv/gump/public/workspace/xml-commons/java/build/which.jar:/srv/gump/public/workspace/rhino/build/rhino_28122007/js.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-core-2.0b4.ja r:/srv/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-util-2.0b4.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-28122007.jar - at org.apache.tools.ant.Project.executeTargets(Project.java:1176) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.Main.start(Main.java:179) at org.apache.tools.ant.Main.m
svn commit: r607278 [2/2] - in /ant/ivy/core/trunk: ./ src/java/org/apache/ivy/ src/java/org/apache/ivy/core/ src/java/org/apache/ivy/core/cache/ src/java/org/apache/ivy/core/check/ src/java/org/apach
Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/publish/PublishEngineSettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/publish/PublishEngineSettings.java?rev=607278&r1=607277&r2=607278&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/publish/PublishEngineSettings.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/publish/PublishEngineSettings.java Fri Dec 28 08:11:26 2007 @@ -17,13 +17,13 @@ */ package org.apache.ivy.core.publish; -import org.apache.ivy.core.cache.CacheSettings; +import org.apache.ivy.plugins.parser.ParserSettings; import org.apache.ivy.plugins.resolver.DependencyResolver; /** * Settings specific to the publish engine */ -public interface PublishEngineSettings extends CacheSettings { +public interface PublishEngineSettings extends ParserSettings { String substitute(String srcIvyPattern); Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/repository/RepositoryManagementEngine.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/repository/RepositoryManagementEngine.java?rev=607278&r1=607277&r2=607278&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/repository/RepositoryManagementEngine.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/repository/RepositoryManagementEngine.java Fri Dec 28 08:11:26 2007 @@ -26,7 +26,6 @@ import java.util.Map; import java.util.TreeSet; -import org.apache.ivy.core.cache.CacheManager; import org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor; import org.apache.ivy.core.module.descriptor.DependencyDescriptor; import org.apache.ivy.core.module.descriptor.ModuleDescriptor; @@ -40,8 +39,8 @@ import org.apache.ivy.plugins.matcher.PatternMatcher; import org.apache.ivy.plugins.matcher.RegexpPatternMatcher; import org.apache.ivy.plugins.version.VersionMatcher; -import org.apache.ivy.util.Message; import org.apache.ivy.util.MemoryUtil; +import org.apache.ivy.util.Message; /** * The repository management can be used to load all metadata from a repository, analyze them, and @@ -113,7 +112,6 @@ /// private SearchEngine searchEngine; private ResolveEngine resolveEngine; -private CacheManager cacheManager; private RepositoryManagementEngineSettings settings; @@ -122,9 +120,6 @@ this.settings = settings; this.searchEngine = searchEngine; this.resolveEngine = resolveEngine; -// TODO: use a cache configured to avoid actual caching, -// when IVY-399 will be better implemented -this.cacheManager = CacheManager.getInstance(settings); } /** Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/retrieve/RetrieveEngineSettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/retrieve/RetrieveEngineSettings.java?rev=607278&r1=607277&r2=607278&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/retrieve/RetrieveEngineSettings.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/retrieve/RetrieveEngineSettings.java Fri Dec 28 08:11:26 2007 @@ -19,9 +19,9 @@ import java.util.Map; -import org.apache.ivy.core.cache.CacheSettings; +import org.apache.ivy.plugins.parser.ParserSettings; -public interface RetrieveEngineSettings extends CacheSettings { +public interface RetrieveEngineSettings extends ParserSettings { boolean isCheckUpToDate(); Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java?rev=607278&r1=607277&r2=607278&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java Fri Dec 28 08:11:26 2007 @@ -40,8 +40,8 @@ import org.apache.ivy.core.IvyPatternHelper; import org.apache.ivy.core.NormalRelativeUrlResolver; import org.apache.ivy.core.RelativeUrlResolver; -import org.apache.ivy.core.cache.CacheManager; -import org.apache.ivy.core.cache.CacheSettings; +import org.apache.ivy.core.cache.DefaultRepositoryCacheManager; +import org.apache.ivy.core.cache.DefaultResolutionCacheManager; import org.apache.ivy.core.cache.RepositoryCacheManager; import org.apache.ivy.core.cache.ResolutionCacheManager; import org.apache.ivy.core.check.CheckEngineSettings; @@ -99,24 +99,9 @@ import org.apache.ivy.util.url.URLHandlerRegistry; public class IvySettings implements SortEngineSetti
svn commit: r607313 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java
Author: maartenc Date: Fri Dec 28 11:15:35 2007 New Revision: 607313 URL: http://svn.apache.org/viewvc?rev=607313&view=rev Log: Removed the usage of the Boolean.parseBoolean(String) method which doesn't exist in JDK 1.4 Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java?rev=607313&r1=607312&r2=607313&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/report/XmlReportParser.java Fri Dec 28 11:15:35 2007 @@ -154,7 +154,7 @@ madr.setDownloadDetails(attributes.getValue("details")); madr.setSize(Long.parseLong(attributes.getValue("size"))); madr.setDownloadTimeMillis(Long.parseLong(attributes.getValue("time"))); - madr.setSearched(Boolean.parseBoolean(attributes.getValue("searched"))); + madr.setSearched(parseBoolean(attributes.getValue("searched"))); if (attributes.getValue("location") != null) { madr.setLocalFile(new File(attributes.getValue("location"))); } @@ -169,8 +169,7 @@ } else { madr.setArtifactOrigin( new ArtifactOrigin( -Boolean.parseBoolean( - attributes.getValue("origin-is-local")), + parseBoolean(attributes.getValue("origin-is-local")), attributes.getValue("origin-location"))); } } @@ -208,7 +207,7 @@ } else { aReport.setArtifactOrigin( new ArtifactOrigin( - Boolean.parseBoolean(attributes.getValue("is-local")), + parseBoolean(attributes.getValue("is-local")), attributes.getValue("location"))); } } else if ("info".equals(qName)) { @@ -254,6 +253,10 @@ .toArray()[revisionsMap.size() - 1]).intValue(); } }); +} + +private static boolean parseBoolean(String str) { +return (str != null) && str.equalsIgnoreCase("true"); } public List getArtifacts() {
svn commit: r607335 - in /ant/ivy/core/trunk/src/java/org/apache/ivy/core: cache/DefaultResolutionCacheManager.java check/CheckEngine.java
Author: maartenc Date: Fri Dec 28 13:20:18 2007 New Revision: 607335 URL: http://svn.apache.org/viewvc?rev=607335&view=rev Log: Removed unused imports Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultResolutionCacheManager.java ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultResolutionCacheManager.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultResolutionCacheManager.java?rev=607335&r1=607334&r2=607335&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultResolutionCacheManager.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/cache/DefaultResolutionCacheManager.java Fri Dec 28 13:20:18 2007 @@ -22,7 +22,6 @@ import org.apache.ivy.core.IvyPatternHelper; import org.apache.ivy.core.module.id.ModuleRevisionId; -import org.apache.ivy.core.settings.IvySettings; public class DefaultResolutionCacheManager implements ResolutionCacheManager { private static final String DEFAULT_CACHE_RESOLVED_IVY_PATTERN = Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java?rev=607335&r1=607334&r2=607335&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/check/CheckEngine.java Fri Dec 28 13:20:18 2007 @@ -25,7 +25,6 @@ import java.util.Iterator; import java.util.Set; -import org.apache.ivy.core.cache.DefaultResolutionCacheManager; import org.apache.ivy.core.module.descriptor.Artifact; import org.apache.ivy.core.module.descriptor.DependencyDescriptor; import org.apache.ivy.core.module.descriptor.ModuleDescriptor;