[ http://jira.codehaus.org/browse/MNG-821?page=all ]

Brett Porter updated MNG-821:
-----------------------------

    Reporter: Jesse McConnell  (was: Jesse McConnell)

> file existence profile activation patch
> ---------------------------------------
>
>          Key: MNG-821
>          URL: http://jira.codehaus.org/browse/MNG-821
>      Project: Maven 2
>         Type: New Feature

>   Components: Inheritence and Interpolation, POM
>     Versions: 2.0-beta-1
>     Reporter: Jesse McConnell
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-1
>  Attachments: file-existence-profile-activation.patch, 
> file-profile-activation.patch
>
>
> <profile>
>          <id>classnames</id>
>          <activation>
>             <file>
>                
> <missing>target/generated-sources/classname-generator/com/stuff/util/GClassnameProvider.java</missing>
>             </file>
>          </activation>
>          <build>
> <exists> also is a valid tag inside that <file> as well.
> The problem with this patch atm is that it ceases to work outside of the 
> context of the subproject it exists in..
> this is because in the FileExistenceProfileActivator we have no mechanism of 
> getting the absolute path for that file string.
> I looked into BuildBase object that you can get from the Profile passed in 
> but it is empty (null) and the string doesn't resolve expressions either...
> so...if I can get pointed in the right direction for adding that expression 
> resolution in there I'll put that in...talked to kenney about this a bit on 
> irc this morning as well and he seemed to think that was probably the way to 
> go.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to