AW: Gump build failure...
Yep - another time Gump has found the second between a commit and the forgotten add/commit :) Jan -Ursprüngliche Nachricht- Von: Stephen McConnell [mailto:[EMAIL PROTECTED] Gesendet am: Samstag, 10. Juli 2004 22:08 An: Ant Developers List Betreff: Re: Gump build failure... Ignore me - it was a missing class in CVS. Stephen McConnell wrote: Just did a build of ant (ant building ant) and that passed without problem so I took a look at the bootstrap.sh script and noticed that the package in question is not included in the build: ${JAVAC} $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \ ${TOOLS}/ant/util/regexp/RegexpMatcher.java \ ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \ ${TOOLS}/ant/types/*.java \ ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \ ${TOOLS}/ant/taskdefs/compilers/*.java \ ${TOOLS}/ant/taskdefs/condition/*.java Seems to me that ${TOOLS}/ant/types/selectors/** needs to be added to the list of sources - after all, .selectors is referenced in AbstractFileSet and defaults.properties. Steve. Adam R. B. Jack wrote: FYI: http://brutus.apache.org/~gump/public/ant/bootstrap-ant/index.htm which leads to : http://brutus.apache.org/~gump/public/ant/bootstrap-ant/gump_work/buildscrip t_ant_bootstrap-ant.html ... Bootstrapping Ant Distribution ... Compiling Ant Classes src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelec tor.java:390: cannot resolve symbol symbol : class ChecksumAlgorithm location: class org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector algorithm = new ChecksumAlgorithm(); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 1 error ... Failed compiling Ant classes ! regards Adam -- Experience the Unwired Enterprise: http://www.sybase.com/unwiredenterprise Try Sybase: http://www.try.sybase.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- |---| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org | |---| - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector ChecksumAlgorithm.java
bodewig 2004/07/12 01:16:36 Modified:src/main/org/apache/tools/ant/types/selectors/modifiedselector ChecksumAlgorithm.java Log: 2004 is enough for a new file Revision ChangesPath 1.2 +1 -1 ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ChecksumAlgorithm.java Index: ChecksumAlgorithm.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ChecksumAlgorithm.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ChecksumAlgorithm.java10 Jul 2004 17:22:21 - 1.1 +++ ChecksumAlgorithm.java12 Jul 2004 08:16:36 - 1.2 @@ -1,5 +1,5 @@ /* - * Copyright 2003-2004 The Apache Software Foundation + * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Ant Wiki] Updated: AntNewbies
Date: 2004-07-12T05:50:39 Editor: 212.34.160.66 Wiki: Ant Wiki Page: AntNewbies URL: http://wiki.apache.org/ant/AntNewbies no comment Change Log: -- @@ -36,6 +36,7 @@ /exec /target }}} + ```Question#2``` How do i use a different JAVA Compiler than javac. I tried to use the JDT to compile my Source but i don't know the right Syntax to start it correct in ANT. @@ -66,7 +67,7 @@ be used to set a default value for this attribute for all javac tasks. This is exactly what Answer #1 uses, you just don't need to write the compiler adapter since somebody else has already done so for you. - + ```Question#2,5``` It doesnt work... I don't find the Bug in my Script... :( No i tried as told with the Help from the Eclipse Page. I copied the directory $ECLIPSE_JDT_HOME/plugins/org.eclipse.jdt.core_2.1.3 to @@ -112,4 +113,54 @@ at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.resolveClassName(CompilerAdapterFactory.java:163) ... 13 more +}}} + +'''Answer #2,5''' + +I answer myself :-) I've found it. The JDT 2.1.3 could not be used as Standalone because of a Bug in it. Only Release 3.0 or higher could +be used. See also ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=37779]) + +```Question#3``` Simple Beginner Question about If-Usage. + +I have a new Problem. I sitt here and try to realise a Backuppart in my Tomcat-Application-Ant-Script (What a Word). I have the Book from Bernd Matzke from Addison-Wesly here and tried the Following Script: + +{{{ +?xml version=1.0 encoding=UTF-8? +project name=iftest default=main basedir=. + property name=dir.tomcat.webapps value=/usr/share/tomcat4/webapps/ + property name=tomcat.projectname value=myApplication/ + target name=main depends=doif + echo message=The first Statement would be the last Statement... ;-)/ + /target + target name=doif depends=checkFileExists, if_target/ + target name=checkFileExists + condition property=p + available file=web.xml filepath=${dir.tomcat.webapps}/${tomcat.projectname}/WEB-INF/ + /condition + echo message=The Property apos;papos; is ${p}/ + /target + target name=if_target if=${p} + echo message=Hello i'm here in the if_target/ + /target +/project +}}} + +If i run it the Answer is: + +{{{ [EMAIL PROTECTED] ant-enteich]# ant -f build_test.xml +Buildfile: build_test.xml + +checkFileExists: + [echo] The Property 'p' is true + +if_target: + +doif: + +main: + [echo] The first Statement would be the last Statement... ;-) + +BUILD SUCCESSFUL +Total time: 1 second }}} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTypes selectors.html
jhm 2004/07/12 08:04:13 Modified:.build.xml src/main/org/apache/tools/ant/types/selectors/modifiedselector ModifiedSelector.java src/testcases/org/apache/tools/ant/types/selectors ModifiedSelectorTest.java src/etc/testcases/types selectors.xml docs/manual/CoreTypes selectors.html Log: No more -lib needed. Revision ChangesPath 1.424 +6 -2 ant/build.xml Index: build.xml === RCS file: /home/cvs/ant/build.xml,v retrieving revision 1.423 retrieving revision 1.424 diff -u -r1.423 -r1.424 --- build.xml 25 Jun 2004 13:42:08 - 1.423 +++ build.xml 12 Jul 2004 15:04:13 - 1.424 @@ -85,6 +85,8 @@ property name=build.tests value=${build.dir}/testcases/ property name=build.tests.javadocs value=${build.dir}/javadocs.test// property name=manifest.tmp value=${build.dir}/optional.manifest/ + !-- the absolute path -- + property name=build.tests.value location=${build.tests}/ !-- === @@ -365,7 +367,7 @@ the java version === -- - + target name=javac.preset depends=javac.preset.1.5+,javac.preset.1.5-/ target name=javac.preset.1.5+ depends=check_for_optional_packages if=jdk1.5+ @@ -1455,6 +1457,7 @@ sysproperty key=ant.home value=${ant.home}/ sysproperty key=build.tests value=${build.tests}/ + sysproperty key=build.tests.value value=${build.tests.value}/ sysproperty key=tests-classpath.value value=${tests-classpath.value}/ @@ -1604,6 +1607,7 @@ !-- jvmarg value=-classic/ -- sysproperty key=ant.home value=${ant.home}/ sysproperty key=build.tests value=${build.tests}/ + sysproperty key=build.tests.value value=${build.tests.value}/ sysproperty key=tests-classpath.value value=${tests-classpath.value}/ classpath refid=tests-classpath/ @@ -1629,4 +1633,4 @@ description=-- creates a minimum distribution in ./dist depends=dist-lite/ -/project +/project \ No newline at end of file 1.8 +64 -17 ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java Index: ModifiedSelector.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ModifiedSelector.java 10 Jul 2004 17:15:37 - 1.7 +++ ModifiedSelector.java 12 Jul 2004 15:04:13 - 1.8 @@ -32,6 +32,7 @@ import org.apache.tools.ant.BuildEvent; import org.apache.tools.ant.types.EnumeratedAttribute; import org.apache.tools.ant.types.Parameter; +import org.apache.tools.ant.types.Path; import org.apache.tools.ant.types.selectors.BaseExtendSelector; @@ -82,6 +83,17 @@ * /copy * /pre/p * + * pIf you want to provide your own interface implementation you can do + * that via the *classname attributes. If the classes are not on Ant´s core + * classpath, you will have to provide the path via nested lt;classpathgt; + * element, so that the selector can find the classes. pre + * modified cacheclassname=com.mycompany.MyCache + * classpath + * pathelement location=lib/mycompony-antutil.jar/ + * /classpath + * /modified + * /p + * * pAll these three examples copy the files from isrc/i to idest/i * using the ModifiedSelector. The ModifiedSelector uses the iPropertyfileCache * /i, the iDigestAlgorithm/i and the iEqualComparator/i for its @@ -205,6 +217,8 @@ * /table * If another name is used a BuildException Invalid parameter is thrown. /p * + * pAdditionally this selector supports a nested lt;classpathgt;. /p + * * pThis selector uses reflection for setting the values of its three interfaces * (using org.apache.tools.ant.IntrospectionHelper) therefore no special * 'configuration interfaces' has to be implemented by new caches, algorithms or @@ -214,7 +228,7 @@ * a nested iparam name=algorithm.provider value=MyProvider//i. * * - * @version 2004-07-09 + * @version 2004-07-12 * @since Ant 1.6 */ public class ModifiedSelector extends BaseExtendSelector implements BuildListener { @@ -283,6 +297,12 @@ */ private Vector specialParameter = new Vector(); +/** The classloader of this class. */ +private ClassLoader myClassLoader = null; + +/** provided classpath for the
[VOTE] Release of ant 1.6.2
Hi, Let's vote concerning the release of ant 1.6.2 on Friday, July 16th. [ ] Yes, release ant 1.6.2 on July 16th [ ] No, make another release candidate I saw errors in tests sent by Jan Matèrne under Win/JDK 1.2 [1]. I am not sure whether these are showstoppers. Since there is a huge list of resolved issues/improvements in ant 1.6.2 compared to 1.6.1, I am eager to get it out. Cheers, Antoine [1] http://article.gmane.org/gmane.comp.jakarta.ant.devel/31349 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release of ant 1.6.2
[X] Yes, release ant 1.6.2 on July 16th [ ] No, make another release candidate Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release of ant 1.6.2
Antoine Levy-Lambert wrote: Hi, Let's vote concerning the release of ant 1.6.2 on Friday, July 16th. [X] Yes, release ant 1.6.2 on July 16th [ ] No, make another release candidate Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release of ant 1.6.2
--- Antoine Levy-Lambert [EMAIL PROTECTED] wrote: Hi, Let's vote concerning the release of ant 1.6.2 on Friday, July 16th. [ ] Yes, release ant 1.6.2 on July 16th [ ] No, make another release candidate I saw errors in tests sent by Jan Matèrne under Win/JDK 1.2 [1]. I am not sure whether these are showstoppers. Since there is a huge list of resolved issues/improvements in ant 1.6.2 compared to 1.6.1, I am eager to get it out. Not voting yet myself. Wanted to make everyone aware that since RC1 I have committed to the 1.6 branch a resolution for an issue with the apply testcases on Java 1.2, as well as the change to build.xml that disables AssertionsTest pre-Java 1.4. These were both discovered by Jan. It is my opinion that a release omitting these will not be fully 1.2-compatible. -Matt __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[GUMP@brutus]: ant/test-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 folk at [EMAIL PROTECTED] Project test-ant has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 2 runs. Project State : 'Failed', Reason 'Build Failed' The following are affected: - test-ant : Java based build tool Full details are available at: http://brutus.apache.org/gump/public/ant/test-ant/index.html That said, some snippets follow: The following annotations were provided: -INFO- Enable verbose output, due to 2 previous error(s). -INFO- Failed with reason build failed -INFO- Enable debug output, due to build failure. The following work was performed: http://brutus.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html Work Name: build_ant_test-ant (Type: Build) State: Failed Elapsed: 6 mins 15 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-xerces2/java/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar org.apache.tools.ant.Main -verbose -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dtest.haltonfailure=false -Dant.home=/usr/local/gump/public/workspace/ant/dist run-tests [Working Directory: /usr/local/gump/public/workspace/ant] CLASSPATH : /usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/ant/build/testcases:/usr/local/gump/public/workspace/ant/src/testcases:/usr/local/gump/public/workspace/ant/src/etc/testcases:/usr/local/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-javamail.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jsch.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-antlr.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-logging.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/usr/local/gump/public/workspace/ant/build/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jai.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar:/usr/local/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-20040712.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar:/usr/local/gump/public/workspace/jakarta-bcel/bin/bcel.jar:/usr/local/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-20040712.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-chainsaw-20040712.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-lf5-20040712.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-20040712.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-20040712.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/javamail-1.3/mail.jar:/usr/local/gump/packages/jdepend-2.6/lib/jdepend.jar:/usr/local/gump/packages/jsch-0.1.14/dist/lib/jsch-gump.jar:/usr/local/gump/public/workspace