My favorites | Sign in
Project Home Downloads Wiki Issues Source
Details: Show all Hide all

Older

  • Jul 11, 2011
    issue 18 (Examples in manual for defining flaka task) commented on by gilbert....@googlemail.com   -   P.S. : it's mainly an Eclipse/Rad issue but some note in the manual won't hurt.. Gilbert
    P.S. : it's mainly an Eclipse/Rad issue but some note in the manual won't hurt.. Gilbert
  • Jul 11, 2011
    issue 18 (Examples in manual for defining flaka task) commented on by gilbert....@googlemail.com   -   Hi, Pete as RAD is based upon Eclipse you have the same possibilities to adjust the ant settings to your liking = Use Window | Preferences | Ant | Runtime and its subsections 1. Ant Home Entries By default it points to the ant version RAD/Eclipse ships with, but you're free to use whatever version you like, f.e. the latest ant 1.8.2 or ant 1.8.3 nightly build 2. Global Entries By default it has only one entry for the tools.jar from your jdk, because it's needed for the ant javac task. Use this to bring your extralibs - f.e. flaka - into the game. It's similar to the -lib parameter when running ant from the commandline Gilbert
    Hi, Pete as RAD is based upon Eclipse you have the same possibilities to adjust the ant settings to your liking = Use Window | Preferences | Ant | Runtime and its subsections 1. Ant Home Entries By default it points to the ant version RAD/Eclipse ships with, but you're free to use whatever version you like, f.e. the latest ant 1.8.2 or ant 1.8.3 nightly build 2. Global Entries By default it has only one entry for the tools.jar from your jdk, because it's needed for the ant javac task. Use this to bring your extralibs - f.e. flaka - into the game. It's similar to the -lib parameter when running ant from the commandline Gilbert
  • Jul 11, 2011
    issue 18 (Examples in manual for defining flaka task) reported by boredbyp...@gmail.com   -   Can I suggest that the following example (or something similar) is included in section 2.2 of the manual, as it will save a prospective user time if they're unable to use the -lib option or the usual directories are not examined for extra libs (as is the case for me, running a customised ant 1.7.0 that comes with IBM's Rational Application Developer for Websphere). <project xmlns:c="antlib:it.haefelinger.flaka"> <taskdef uri="antlib:it.haefelinger.flaka" resource="it/haefelinger/flaka/antlib.xml" classpath="${basedir}/libs/flaka/ant-flaka-1.02.02.jar" /> </project> Many thanks. Pete
    Can I suggest that the following example (or something similar) is included in section 2.2 of the manual, as it will save a prospective user time if they're unable to use the -lib option or the usual directories are not examined for extra libs (as is the case for me, running a customised ant 1.7.0 that comes with IBM's Rational Application Developer for Websphere). <project xmlns:c="antlib:it.haefelinger.flaka"> <taskdef uri="antlib:it.haefelinger.flaka" resource="it/haefelinger/flaka/antlib.xml" classpath="${basedir}/libs/flaka/ant-flaka-1.02.02.jar" /> </project> Many thanks. Pete
  • Jun 30, 2011
    issue 17 (Clarify that property lookup does not work as expected if pr...) commented on by whaefeli...@gmail.com   -   Hi Ruerd, rather a problem of explaining EL syntax properly I' afraid. The base problem is that character dot (.) has no operational meaning in properties and is used to make "readable" identifiers. This is different from EL where character dot means "lookup something". In EL, "xx.yy.zz" translates into lookup('zz', lookup('yy',xx)), i.e. get EL-property 'yy' on EL-object 'xx', then get EL-property 'zz' on the returned object. So all works fine as long as a property name is dot-less. Otherwise disasters strikes. Have a look at your modified example: <project xmlns:fl="antlib:it.haefelinger.flaka"> <property name="my" value="xx"/> <property name="xx.yy.zz" value="123"/> <fl:properties> my.property = #{ property['${my}.yy.zz'] } my.my = #{ my } </fl:properties> <echo> My property = ${my.property} ; expected output 'My property = 123' My my = ${my.my} ; expected output 'My my = xx' </echo> </project> If you run this, you should get $ ant -lib ~/lib/flaka/ant-flaka.jar Buildfile: /Users/geronimo/exp/flaka-issue/build.xml [echo] [echo] My property = 123 ; expected output 'My property = 123' [echo] My my = xx ; expected output 'My my = xx' [echo] BUILD SUCCESSFUL Total time: 0 seconds Agreed, it's a confusing issue cause we got used to use '.' in properties. However, one could have implemented something like 'if there is no object named "xx" then try property "xx.yy.zz" instead. That's all fine but what if there is an EL object named "xx" and properties starting with "xx." ..?? // Wolfgang
    Hi Ruerd, rather a problem of explaining EL syntax properly I' afraid. The base problem is that character dot (.) has no operational meaning in properties and is used to make "readable" identifiers. This is different from EL where character dot means "lookup something". In EL, "xx.yy.zz" translates into lookup('zz', lookup('yy',xx)), i.e. get EL-property 'yy' on EL-object 'xx', then get EL-property 'zz' on the returned object. So all works fine as long as a property name is dot-less. Otherwise disasters strikes. Have a look at your modified example: <project xmlns:fl="antlib:it.haefelinger.flaka"> <property name="my" value="xx"/> <property name="xx.yy.zz" value="123"/> <fl:properties> my.property = #{ property['${my}.yy.zz'] } my.my = #{ my } </fl:properties> <echo> My property = ${my.property} ; expected output 'My property = 123' My my = ${my.my} ; expected output 'My my = xx' </echo> </project> If you run this, you should get $ ant -lib ~/lib/flaka/ant-flaka.jar Buildfile: /Users/geronimo/exp/flaka-issue/build.xml [echo] [echo] My property = 123 ; expected output 'My property = 123' [echo] My my = xx ; expected output 'My my = xx' [echo] BUILD SUCCESSFUL Total time: 0 seconds Agreed, it's a confusing issue cause we got used to use '.' in properties. However, one could have implemented something like 'if there is no object named "xx" then try property "xx.yy.zz" instead. That's all fine but what if there is an EL object named "xx" and properties starting with "xx." ..?? // Wolfgang
  • Jun 30, 2011
    issue 17 (Clarify that property lookup does not work as expected if pr...) reported by whaefeli...@gmail.com   -   Hello, I found a problem in the ant-flaka expression evaluation. The following won't work as expected: <property name="my" value="xx"/> <property name="xx.yy.zz" value="123"/> <fl:properties> my.property=#{${my}.yy.zz} </fl:properties> <echo>My property = ${my_property} ; expected output 'My property = 123' but output will be 'My property = '</echo> See also my blog page on this issue: https://www.factsandpeople.com/facts-mainmenu-5/23-other-software-technologies/203-recursive-evaluation-of-ant-properties-in-flaka Regards, Ruerd
    Hello, I found a problem in the ant-flaka expression evaluation. The following won't work as expected: <property name="my" value="xx"/> <property name="xx.yy.zz" value="123"/> <fl:properties> my.property=#{${my}.yy.zz} </fl:properties> <echo>My property = ${my_property} ; expected output 'My property = 123' but output will be 'My property = '</echo> See also my blog page on this issue: https://www.factsandpeople.com/facts-mainmenu-5/23-other-software-technologies/203-recursive-evaluation-of-ant-properties-in-flaka Regards, Ruerd
  • Jun 27, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r402
    Revision r402
  • Jun 27, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r401
    Revision r401
  • Jun 27, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r400
    Revision r400
  • Jun 27, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r399
    Revision r399
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r398
    Revision r398
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r397
    Revision r397
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r396
    Revision r396
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r395
    Revision r395
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r394
    Revision r394
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r392
    Revision r392
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r391
    Revision r391
  • Jun 25, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r390
    Revision r390
  • Jun 24, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r389
    Revision r389
  • Jun 24, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r388
    Revision r388
  • Jun 24, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r387
    Revision r387
  • Jun 24, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r386
    Revision r386
  • Jun 24, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page edited by   -   Revision r385
    Revision r385
  • Jun 23, 2011
    FlakaExamples (Snippets, Flaka in the wild, Ant problems and solutions) Wiki page added by   -   Revision r383
    Revision r383
  • Jun 16, 2011
    r379 (deleting recovery branch) committed by whaefeli...@gmail.com   -   deleting recovery branch
    deleting recovery branch
  • Jun 16, 2011
    r378 (poor mans merge completed) committed by whaefeli...@gmail.com   -   poor mans merge completed
    poor mans merge completed
  • Jun 16, 2011
    r377 (removing any traces of ELFunction) committed by whaefeli...@gmail.com   -   removing any traces of ELFunction
    removing any traces of ELFunction
  • Jun 16, 2011
    r376 (those are the files added to whanno372) committed by whaefeli...@gmail.com   -   those are the files added to whanno372
    those are the files added to whanno372
  • Jun 16, 2011
    r375 (applied changes of whanno372 - bypassing any Subversion crap...) committed by whaefeli...@gmail.com   -   applied changes of whanno372 - bypassing any Subversion crap to get going, cause I have better things to do than playing around with SCM giving you so much trouble
    applied changes of whanno372 - bypassing any Subversion crap to get going, cause I have better things to do than playing around with SCM giving you so much trouble
  • Jun 16, 2011
    r374 (restoring deleted branch - I beginning to hate Subversion an...) committed by whaefeli...@gmail.com   -   restoring deleted branch - I beginning to hate Subversion and I believe we should switch to Mercurial.
    restoring deleted branch - I beginning to hate Subversion and I believe we should switch to Mercurial.
  • Jun 16, 2011
    r373 (deleting reintegrated branch) committed by whaefeli...@gmail.com   -   deleting reintegrated branch
    deleting reintegrated branch
  • Jun 16, 2011
    AddingELFunctions (How to add Functions and Variables to EL) Wiki page edited by whaefeli...@gmail.com   -   Revision r372 Edited wiki page AddingELFunctions through web user interface.
    Revision r372 Edited wiki page AddingELFunctions through web user interface.
  • Jun 16, 2011
    r371 (Binding.Type defined as Java5 enums rather than just using a...) committed by whaefeli...@gmail.com   -   Binding.Type defined as Java5 enums rather than just using an int for the Binding's type.
    Binding.Type defined as Java5 enums rather than just using an int for the Binding's type.
  • Jun 16, 2011
    r370 (minor changes) committed by whaefeli...@gmail.com   -   minor changes
    minor changes
  • Jun 15, 2011
    issue 16 (Incorrect example in manual) reported by gilbert....@googlemail.com   -   What steps will reproduce the problem? see last example in section 7.3.3, p.35 in flaka-1.2.2.pdf : 1. <c:choose> 2. <when test=" true == false" > 3. <echo>new boolean logic detected ..</echo> 4. </when> 5. <unless test=" 'mydir'.tofile.isdir "> 6. <echo> directory mydir exists already </echo> 7. </when> 8. <otherwise> 9. <echo> Hello,</echo> 10. <echo>World</echo> 11. </otherwise> 12.</c:choose> 1. Syntax error on line 7 closing </unless> missing, </when> instead 2. Logical error on line 5+6
    What steps will reproduce the problem? see last example in section 7.3.3, p.35 in flaka-1.2.2.pdf : 1. <c:choose> 2. <when test=" true == false" > 3. <echo>new boolean logic detected ..</echo> 4. </when> 5. <unless test=" 'mydir'.tofile.isdir "> 6. <echo> directory mydir exists already </echo> 7. </when> 8. <otherwise> 9. <echo> Hello,</echo> 10. <echo>World</echo> 11. </otherwise> 12.</c:choose> 1. Syntax error on line 7 closing </unless> missing, </when> instead 2. Logical error on line 5+6
  • Jun 15, 2011
    AddingELFunctions (How to add Functions and Variables to EL) Wiki page edited by whaefeli...@gmail.com   -   Revision r369 Edited wiki page AddingELFunctions through web user interface.
    Revision r369 Edited wiki page AddingELFunctions through web user interface.
  • Jun 15, 2011
    AddingELFunctions (How to add Functions and Variables to EL) Wiki page edited by whaefeli...@gmail.com   -   Revision r368 Edited wiki page AddingELFunctions through web user interface.
    Revision r368 Edited wiki page AddingELFunctions through web user interface.
  • Jun 15, 2011
    AddingELFunctions (How to add Functions and Variables to EL) Wiki page edited by whaefeli...@gmail.com   -   Revision r367 Edited wiki page AddingELFunctions through web user interface.
    Revision r367 Edited wiki page AddingELFunctions through web user interface.
  • Jun 15, 2011
    AddingELFunctions (How to add Functions and Variables to EL) Wiki page added by whaefeli...@gmail.com   -   Revision r366 Created wiki page through web user interface.
    Revision r366 Created wiki page through web user interface.
  • Jun 14, 2011
    r365 (removed Functions.java) committed by whaefeli...@gmail.com   -   removed Functions.java
    removed Functions.java
  • Jun 14, 2011
    r364 (worked on issue 9 - where evaulation of string #{ 'foo'} ......) committed by whaefeli...@gmail.com   -   worked on issue 9 - where evaulation of string #{ 'foo'} ... #{ nohave() } is aborted due to non existent 'nohave()'
    worked on issue 9 - where evaulation of string #{ 'foo'} ... #{ nohave() } is aborted due to non existent 'nohave()'
  • Jun 14, 2011
    r363 (groovy-all 1.8.0 as compile time dependency added; other min...) committed by whaefeli...@gmail.com   -   groovy-all 1.8.0 as compile time dependency added; other minor configuration changes.
    groovy-all 1.8.0 as compile time dependency added; other minor configuration changes.
  • Jun 14, 2011
    r362 (Continued attempt of loading (additional) EL functions - wor...) committed by whaefeli...@gmail.com   -   Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Unit test passed.
    Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Unit test passed.
  • Jun 14, 2011
    r361 (Continued attempt of loading (additional) EL functions - wor...) committed by whaefeli...@gmail.com   -   Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Supports import of arbitrary variables and 3rdparty functions.
    Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Supports import of arbitrary variables and 3rdparty functions.
  • Jun 14, 2011
    issue 15 (Document dependencies) reported by whaefeli...@gmail.com   -   Which dependencies do we need? Runtime: (a) jdom-1.0.jar (b) commons-httpclient-3.1.jar (c) juel-2.2.1.jar
    Which dependencies do we need? Runtime: (a) jdom-1.0.jar (b) commons-httpclient-3.1.jar (c) juel-2.2.1.jar
  • Jun 14, 2011
    issue 14 (Add announcement template to project) reported by whaefeli...@gmail.com   -   Instantiated template like June 13th, 2011 - The Flaka project is pleased to announce the release of Flaka 1.2.2. What's new ? Flaka 1.2.2 is a maintenance release, that tackles some minor issues : <let/> to overwrite userproperties EL functions matches() and glob() added Work to allow users to plug in their own EL functions is underway.. Flaka is an extension for Ant that runs with Ant versions 1.7.x and 1.8.x. A main project goal of Flaka is the simplification of writing a build script. Flaka requires: Ant >= 1.7.x Java >= 1.5 Flaka provides: 1. An expression language (Java Unified Expression Language) allowing access to data objects, many scripting parts become obsolete 2. Conditional and repetitive control structures like when, unless, while, for, choose, switch .. 3. Exception handling 4. Additional types, tasks and macros 5. A comprehensive documentation Flaka appetizer: <project xmlns:fl="antlib:it.haefelinger.flaka" name="World"> <!-- make ant core tasks aware of EL references --> <fl:install-property-handler /> <fl:logo width="20"> Hello #{ project.name ? project.name : ''}! </fl:logo> <fl:for var="f" in=" file(project).list "> <fl:when test=" f.isfile "> <!-- report basename and modification time --> <echo> file: #{f.name} last modified: #{ format('%tD',f.mtime) } </echo> </fl:when> </fl:for> </project> [fl:logo] :::::::::::::::::::: [fl:logo] : Hello World! : [fl:logo] :::::::::::::::::::: [echo] file: demo.xml last modified: 06/13/11 [echo] [echo] file: build.xml last modified: 05/13/11 [echo] [echo] file: foobar.xml last modified: 06/09/11 [echo] BUILD SUCCESSFUL Flaka's Google Project Page is http://code.google.com/p/flaka Manual http://code.google.com/p/flaka/wiki/Manual Jar ready to be used - no additional dependencies required http://flaka.googlecode.com/files/ant-flaka-1.02.02.jar Jar requires additional dependencies http://flaka.googlecode.com/files/ant-flaka-bare-1.02.02.jar Development Package (rebuild from scratch) http://flaka.googlecode.com/files/flaka-1.02.02.zip Javadocs http://flaka.googlecode.com/files/flaka-javadoc-1.02.02.zip Sources http://flaka.googlecode.com/files/flaka-sources-1.02.02.zip Issues should be reported to http://code.google.com/p/flaka/issues/list More information on Flaka at http://code.google.com/p/flaka http://workbench.haefelinger.it/flaka Enjoy !! Wolfgang Haefelinger Gilbert Rebhan
    Instantiated template like June 13th, 2011 - The Flaka project is pleased to announce the release of Flaka 1.2.2. What's new ? Flaka 1.2.2 is a maintenance release, that tackles some minor issues : <let/> to overwrite userproperties EL functions matches() and glob() added Work to allow users to plug in their own EL functions is underway.. Flaka is an extension for Ant that runs with Ant versions 1.7.x and 1.8.x. A main project goal of Flaka is the simplification of writing a build script. Flaka requires: Ant >= 1.7.x Java >= 1.5 Flaka provides: 1. An expression language (Java Unified Expression Language) allowing access to data objects, many scripting parts become obsolete 2. Conditional and repetitive control structures like when, unless, while, for, choose, switch .. 3. Exception handling 4. Additional types, tasks and macros 5. A comprehensive documentation Flaka appetizer: <project xmlns:fl="antlib:it.haefelinger.flaka" name="World"> <!-- make ant core tasks aware of EL references --> <fl:install-property-handler /> <fl:logo width="20"> Hello #{ project.name ? project.name : ''}! </fl:logo> <fl:for var="f" in=" file(project).list "> <fl:when test=" f.isfile "> <!-- report basename and modification time --> <echo> file: #{f.name} last modified: #{ format('%tD',f.mtime) } </echo> </fl:when> </fl:for> </project> [fl:logo] :::::::::::::::::::: [fl:logo] : Hello World! : [fl:logo] :::::::::::::::::::: [echo] file: demo.xml last modified: 06/13/11 [echo] [echo] file: build.xml last modified: 05/13/11 [echo] [echo] file: foobar.xml last modified: 06/09/11 [echo] BUILD SUCCESSFUL Flaka's Google Project Page is http://code.google.com/p/flaka Manual http://code.google.com/p/flaka/wiki/Manual Jar ready to be used - no additional dependencies required http://flaka.googlecode.com/files/ant-flaka-1.02.02.jar Jar requires additional dependencies http://flaka.googlecode.com/files/ant-flaka-bare-1.02.02.jar Development Package (rebuild from scratch) http://flaka.googlecode.com/files/flaka-1.02.02.zip Javadocs http://flaka.googlecode.com/files/flaka-javadoc-1.02.02.zip Sources http://flaka.googlecode.com/files/flaka-sources-1.02.02.zip Issues should be reported to http://code.google.com/p/flaka/issues/list More information on Flaka at http://code.google.com/p/flaka http://workbench.haefelinger.it/flaka Enjoy !! Wolfgang Haefelinger Gilbert Rebhan
  • Jun 14, 2011
    issue 13 (Problems in EL-reference not to impact whole echo message) reported by whaefeli...@gmail.com   -   What steps will reproduce the problem? 1. <echo>|#{ foobar() }| |#{ 3 * 4 }|</echo> Notice that foobar() is not a EL-function. What is the expected output? What do you see instead? expect: [fl:echo] || |12| seen : [fl:echo] Please use labels and text to provide additional information. Evaluating one EL-reference should not impact the second one or have an impact on the evaluated string (other than replacing #{..} with it's evaluated content. If a reference fails to be evaluated - because of syntax errors for example - then #{..} should evaluate to the empty string. In addition, some logging/warnings to be reported on Ant's log stream (or on standard error stream).
    What steps will reproduce the problem? 1. <echo>|#{ foobar() }| |#{ 3 * 4 }|</echo> Notice that foobar() is not a EL-function. What is the expected output? What do you see instead? expect: [fl:echo] || |12| seen : [fl:echo] Please use labels and text to provide additional information. Evaluating one EL-reference should not impact the second one or have an impact on the evaluated string (other than replacing #{..} with it's evaluated content. If a reference fails to be evaluated - because of syntax errors for example - then #{..} should evaluate to the empty string. In addition, some logging/warnings to be reported on Ant's log stream (or on standard error stream).
  • Jun 14, 2011
    issue 12 (Update Copyright in all relevant project files) reported by whaefeli...@gmail.com   -   Copyright note to start with /* * Copyright (c) 2009-2011 häfelinger IT * .. */ Note the a-umlaut, the lowercase 'häfelinger' and the time range.
    Copyright note to start with /* * Copyright (c) 2009-2011 häfelinger IT * .. */ Note the a-umlaut, the lowercase 'häfelinger' and the time range.
  • Jun 14, 2011
    r360 (Continued attempt of loading (additional) EL functions - wor...) committed by whaefeli...@gmail.com   -   Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Looking good.
    Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Looking good.
  • Jun 14, 2011
    r359 (Continued attempt of loading (additional) EL functions - wor...) committed by whaefeli...@gmail.com   -   Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Looking good but depends on Groovy runtime.
    Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Looking good but depends on Groovy runtime.
  • Jun 14, 2011
    r358 (Continued attempt of loading (additional) EL functions - wor...) committed by whaefeli...@gmail.com   -   Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Also supports loading Groovy files.
    Continued attempt of loading (additional) EL functions - working fine, see test/tryme.xml. Also supports loading Groovy files.
 
Powered by Google Project Hosting