Defining format for Property
We have a task in ANT to update propertyfile with format like And this can change the pattern in property file, now I do not want to change/update property file but still I want that, if the value of key is 1 lets say proper.name=1 then my target should read it as "01" and NOT "1". Now can I do that without updating the propertyfile ? THanks -- View this message in context: http://www.nabble.com/Defining-format-for-Property-tp16897959p16897959.html Sent from the Ant - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [g...@vmgump]: Project test-ant-no-xerces (in module ant) failed
This is due to: [au:antunit] Build File: /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml [au:antunit] Tests run: 16, Failures: 0, Errors: 14, Time elapsed: 0.316 sec [au:antunit] Target: testBeanshellReturnTrue caused an ERROR [au:antunit]at line 100, column 42 [au:antunit]Message: The following error occurred while executing this line: [au:antunit] /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml:25: Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager) [au:antunit]took 0.013 sec [au:antunit] Target: testNolanguage took 0.006 sec [au:antunit] Target: testBeanshellReturnFalse caused an ERROR [au:antunit]at line 108, column 43 [au:antunit]Message: The following error occurred while executing this line: [au:antunit] /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml:35: Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager) [au:antunit]took 0.01 sec On Fri, Apr 25, 2008 at 3:32 PM, Gump Integration Build <[EMAIL PROTECTED]> wrote: > 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 25 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- Optional dependency jakarta-tomcat-4.0 prerequisite failed with > reason build failed > -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: 11 mins 44 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/src/etc/testcases/taskdefs/optional/out:/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/wor ksp > > ace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/lib/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:commons-logging-gump-23042008.jar:commons-logging-api-gump-23042008.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-25042008.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:bsf-gump-23042008.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-25042008.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-25042008.jar:/srv/gump/public/workspace/jakarta-r ege > > xp/build/jakarta-regexp-25042008.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/gum
Re: [g...@vmgump]: Project test-ant-no-xerces (in module ant) failed
I think I was going to revert these... in fact, I thought I already did it. :( -Matt --- Peter Reilly <[EMAIL PROTECTED]> wrote: > This is due to: > [au:antunit] Build File: > /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml > [au:antunit] Tests run: 16, Failures: 0, Errors: 14, > Time elapsed: 0.316 sec > [au:antunit] Target: testBeanshellReturnTrue caused > an ERROR > [au:antunit] at line 100, column 42 > [au:antunit] Message: The following error occurred > while executing this line: > [au:antunit] > /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml:25: > Unable to load a script engine manager > (org.apache.bsf.BSFManager or > javax.script.ScriptEngineManager) > [au:antunit] took 0.013 sec > [au:antunit] Target: testNolanguage took 0.006 sec > [au:antunit] Target: testBeanshellReturnFalse > caused an ERROR > [au:antunit] at line 108, column 43 > [au:antunit] Message: The following error occurred > while executing this line: > [au:antunit] > /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml:35: > Unable to load a script engine manager > (org.apache.bsf.BSFManager or > javax.script.ScriptEngineManager) > [au:antunit] took 0.01 sec > > > > On Fri, Apr 25, 2008 at 3:32 PM, Gump Integration > Build > <[EMAIL PROTECTED]> wrote: > > 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 25 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- Optional dependency jakarta-tomcat-4.0 > prerequisite failed with reason build failed > > -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: 11 mins 44 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/src/etc/testcases/taskdefs/optional/out:/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/wor > ksp > > > ace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/lib/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:commons-logging-gump-23042008.jar:commons-logging-api-gump-23042008.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-25042008.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:bsf-gump-23042008.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-25042008.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-25042008.jar:/srv/gump/public/w
Re: [g...@vmgump]: Project test-ant-no-xerces (in module ant) failed
On Fri, 25 Apr 2008, Peter Reilly <[EMAIL PROTECTED]> wrote: > This is due to: [au:antunit] Build File: > /srv/gump/public/workspace/ant/src/tests/antunit/types/scriptcondition-test.xml BSF didn't build and the test is still executed. "All we need to do" is to detect the absence of BSF or javax.script and skip the test. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]