Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 2.4 does not compile: propertyregex is missing

closed-accepted
Paul Landes
Ant (4)
5
2009-08-06
2009-05-14
Daniel Clemente
No

GNU/Linux, Emacs from today.

I downloaded JDEE 2.4 from Svn, edited build.properties and ran „ant“. I got:


configure-ebuild:

BUILD FAILED
/home/dc/.emacs.d/jde-2.4-svn/build.xml:130: The following error occurred while executing this line:
/home/dc/.emacs.d/jde-2.4-svn/build.xml:242: Problem: failed to create task or type propertyregex
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

This is due to this code:

<!-- make windows paths "mixed" dos paths (cygwin term) -->
<macrodef name="mixed-path">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<propertyregex property="@{property}" input="@{value}" regexp="\\"
defaultValue="@{value}" replace="/" global="true"/>
</sequential>
</macrodef>

It seems I don't have propertyregex, which is in package ant-contrib. JDEE could either include it, tell about how to install it, or not use it.

Discussion

  • Paul Landes
    Paul Landes
    2009-08-06

    I agree. Ant 1.7 and the contrib binary tarball have been added in the source forge `Files' section here: https://sourceforge.net/projects/jdee/files.

    In addition, there is now a doc/install.html document that mentions ant as a dependency.

     
  • Paul Landes
    Paul Landes
    2009-08-06

    • assigned_to: nobody --> paullandes
    • status: open --> closed-accepted