searchparents="true" required to properly detect Groovy in
build
----------------------------------------------------------------
Key: JBSEAM-2319
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2319
Project: Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.1.0.A1
Reporter: Dan Allen
Assigned To: Pete Muir
Priority: Minor
Fix For: The future, 2.0.2.CR2
Attachments: JBSEAM-2319-v1.txt
Original Estimate: 1 hour
Remaining Estimate: 1 hour
If you are using Ant >= 1.7.0, the check to determine if there are Groovy files
present on the classpath will not work unless the attribute
searchparents="true" is added to the <available> element that performs the
check. This is an API change in Ant. Unfortunately, this attribute is not present in
earlier versions of Ant and therefore throws an error.
Can we just require Ant 1.7.0 or is there some way to work around an attribute that an
older version of Ant does not recognize?
Here is the check:
<!-- if a .groovy file is in model or action, set groovy.present -->
<available property="groovy.present" value="true"
file="" searchparents="true">
<filepath>
<fileset dir="${src.action.dir}">
<include name="**/*.groovy"/>
</fileset>
</filepath>
</available>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: