You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org> on 2008/06/09 11:07:13 UTC

[jira] Created: (ARCHETYPE-183) Problem with #{ in filtered files

Problem with #{ in filtered files
---------------------------------

                 Key: ARCHETYPE-183
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-183
             Project: Maven Archetype
          Issue Type: Bug
    Affects Versions: 2.0-alpha-3
            Reporter: Dominique Jean-Prost


I have files I want to copy in when generating a projet.
Those files contains a #{whateverhere} because they are jsf el.
Those files are copied using 
<fileSet filtered="true" packaged="false">
  <directory>src/main/webapp</directory>
  <includes>
	<include>**/*</include>
  </includes>
</fileSet>

After the generation step, I get for instance :
<ui:define name="zone-logo">
		<img src="#themePrefixWithContextRoot/images/logo.gif"
			width="99" height="50" />
	</ui:define>

instead of <ui:define name="zone-logo">
		<img src="#{themePrefixWithContextRoot}/images/logo.gif"
			width="99" height="50" />
	</ui:define>

of 
<ui:define name="zone-posts-techniques">
		<input type="hidden" name="_flowExecutionKey"
			value="#flowExecutionKey" />
	</ui:define>

instead of 
<ui:define name="zone-posts-techniques">
		<input type="hidden" name="_flowExecutionKey"
			value="#{flowExecutionKey}" />
	</ui:define>



-- 
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

        

[jira] Commented: (ARCHETYPE-183) Problem with #{ in filtered files

Posted by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138128#action_138128 ] 

Dominique Jean-Prost commented on ARCHETYPE-183:
------------------------------------------------

Sorry for opening a duplicate bug. I did look for #{ in the jira, but the search didn't work; and I don't know the literal for it.
My page belongs to a group of pages, where some have to filtered and some don't. I didn't want to create several filesets.

> Problem with #{ in filtered files
> ---------------------------------
>
>                 Key: ARCHETYPE-183
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-183
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-3
>            Reporter: Dominique Jean-Prost
>             Fix For: 2.0-alpha-4
>
>
> I have files I want to copy in when generating a projet.
> Those files contains a #{whateverhere} because they are jsf el.
> Those files are copied using 
> <fileSet filtered="true" packaged="false">
>   <directory>src/main/webapp</directory>
>   <includes>
> 	<include>**/*</include>
>   </includes>
> </fileSet>
> After the generation step, I get for instance :
> <ui:define name="zone-logo">
> 		<img src="#themePrefixWithContextRoot/images/logo.gif"
> 			width="99" height="50" />
> 	</ui:define>
> instead of <ui:define name="zone-logo">
> 		<img src="#{themePrefixWithContextRoot}/images/logo.gif"
> 			width="99" height="50" />
> 	</ui:define>
> of 
> <ui:define name="zone-posts-techniques">
> 		<input type="hidden" name="_flowExecutionKey"
> 			value="#flowExecutionKey" />
> 	</ui:define>
> instead of 
> <ui:define name="zone-posts-techniques">
> 		<input type="hidden" name="_flowExecutionKey"
> 			value="#{flowExecutionKey}" />
> 	</ui:define>

-- 
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

        

[jira] Closed: (ARCHETYPE-183) Problem with #{ in filtered files

Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raphaël Piéroni closed ARCHETYPE-183.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-4

Fixed since revision 665879
If the offending jsf file dones not contain any 'required property' it may worth defining a filtered=false fileset

> Problem with #{ in filtered files
> ---------------------------------
>
>                 Key: ARCHETYPE-183
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-183
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-3
>            Reporter: Dominique Jean-Prost
>             Fix For: 2.0-alpha-4
>
>
> I have files I want to copy in when generating a projet.
> Those files contains a #{whateverhere} because they are jsf el.
> Those files are copied using 
> <fileSet filtered="true" packaged="false">
>   <directory>src/main/webapp</directory>
>   <includes>
> 	<include>**/*</include>
>   </includes>
> </fileSet>
> After the generation step, I get for instance :
> <ui:define name="zone-logo">
> 		<img src="#themePrefixWithContextRoot/images/logo.gif"
> 			width="99" height="50" />
> 	</ui:define>
> instead of <ui:define name="zone-logo">
> 		<img src="#{themePrefixWithContextRoot}/images/logo.gif"
> 			width="99" height="50" />
> 	</ui:define>
> of 
> <ui:define name="zone-posts-techniques">
> 		<input type="hidden" name="_flowExecutionKey"
> 			value="#flowExecutionKey" />
> 	</ui:define>
> instead of 
> <ui:define name="zone-posts-techniques">
> 		<input type="hidden" name="_flowExecutionKey"
> 			value="#{flowExecutionKey}" />
> 	</ui:define>

-- 
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