[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2319) searchparents="true" required to properly detect Groovy in build

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jun 2 07:56:23 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2319?page=all ]

Pete Muir closed JBSEAM-2319.
-----------------------------


> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list