You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ramiro Pereira de Magalhaes <rp...@yahoo.com.br> on 2009/05/30 19:27:22 UTC

Problems compiling a modified version Tomahawk for JSF 1.2

Guys,

I checked out Tomahawk (for JSF 1.2) from Subversion 
(http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk) to make some 
changes in the code and make an internal distribution of it to my 
company, since I have to comply with an internal policy that says that 
all applications must render XHTML 1.0 Transitional pages. I made some 
changes but when I run "mvn install" some plugin causes my modifications 
to be ignored. How can I create a customized Tomahawk package with maven?

RPM

Re: Problems compiling a modified version Tomahawk for JSF 1.2

Posted by Ramiro Pereira de Magalhaes <rp...@yahoo.com.br>.
Guys,

thanks for helping. It worked just fine.

Is this written somewhere? I can write about it if you point me where 
the appropriate place is.

RPM



Leonardo Uribe wrote:
> Hi
>
> This file is on shared project:
>
> svn repo: http://svn.apache.org/repos/asf/myfaces/shared/
> link to find site : http://myfaces.apache.org/otherProjects.html
>
> Tomahawk unpack shared code and add it, so if you want change this 
> file, you have to follow this steps:
>
> 1. Checkout, make the update and compile.
> 3. Change tomahawk shared related var to the version you are compiling 
> (if you are using the latest code 2.0.11-SNAPSHOT and 3.0.7-SNAPSHOT), 
> on its pom.xml (not core or core12 pom, the main pom).
> 3. Compile and the resulting artifacts should have the change.
>
> regards
>
> Leonardo Uribe
>
>
> 2009/6/9 Ramiro Pereira de Magalhaes <rpm_mailbox@yahoo.com.br 
> <ma...@yahoo.com.br>>
>
>     Ganesh,
>
>     I downgraded my maven to version 2.0.9 but I still can't have my
>     changes compiled. I'm trying to change the
>     org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils
>     class and package it with maven. This class is located in my
>     <WORKSPACE_ROOT>/core/target/shared_sources/org/apache/myfaces/shared_tomahawk/renderkit/html
>     folder. I am changing the correct file? I mean, this one is under
>     a "target" folder, and I could not locate anywhere else this class.
>
>     RPM
>
>
>
>
>     Ganesh wrote:
>
>         Hi Ramiro,
>
>         Please try downgrading maven to 2.0.9. It's either the
>         build-helper-maven-plugin or myfaces-builder-plugin that isn't
>         compatible with maven 2.1
>
>         Best regards,
>         Ganesh
>
>
>         Ramiro Pereira de Magalhaes schrieb:
>
>             Guys,
>
>             I checked out Tomahawk (for JSF 1.2) from Subversion
>             (http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk)
>             to make some changes in the code and make an internal
>             distribution of it to my company, since I have to comply
>             with an internal policy that says that all applications
>             must render XHTML 1.0 Transitional pages. I made some
>             changes but when I run "mvn install" some plugin causes my
>             modifications to be ignored. How can I create a customized
>             Tomahawk package with maven?
>
>             RPM
>
>
>


Re: Problems compiling a modified version Tomahawk for JSF 1.2

Posted by Leonardo Uribe <lu...@gmail.com>.
Hi

This file is on shared project:

svn repo: http://svn.apache.org/repos/asf/myfaces/shared/
link to find site : http://myfaces.apache.org/otherProjects.html

Tomahawk unpack shared code and add it, so if you want change this file, you
have to follow this steps:

1. Checkout, make the update and compile.
3. Change tomahawk shared related var to the version you are compiling (if
you are using the latest code 2.0.11-SNAPSHOT and 3.0.7-SNAPSHOT), on its
pom.xml (not core or core12 pom, the main pom).
3. Compile and the resulting artifacts should have the change.

regards

Leonardo Uribe


2009/6/9 Ramiro Pereira de Magalhaes <rp...@yahoo.com.br>

> Ganesh,
>
> I downgraded my maven to version 2.0.9 but I still can't have my changes
> compiled. I'm trying to change the
> org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils class
> and package it with maven. This class is located in my
> <WORKSPACE_ROOT>/core/target/shared_sources/org/apache/myfaces/shared_tomahawk/renderkit/html
> folder. I am changing the correct file? I mean, this one is under a "target"
> folder, and I could not locate anywhere else this class.
>
> RPM
>
>
>
>
> Ganesh wrote:
>
>> Hi Ramiro,
>>
>> Please try downgrading maven to 2.0.9. It's either the
>> build-helper-maven-plugin or myfaces-builder-plugin that isn't compatible
>> with maven 2.1
>>
>> Best regards,
>> Ganesh
>>
>>
>> Ramiro Pereira de Magalhaes schrieb:
>>
>>> Guys,
>>>
>>> I checked out Tomahawk (for JSF 1.2) from Subversion (
>>> http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk) to make some
>>> changes in the code and make an internal distribution of it to my company,
>>> since I have to comply with an internal policy that says that all
>>> applications must render XHTML 1.0 Transitional pages. I made some changes
>>> but when I run "mvn install" some plugin causes my modifications to be
>>> ignored. How can I create a customized Tomahawk package with maven?
>>>
>>> RPM
>>>
>>>
>>

Re: Problems compiling a modified version Tomahawk for JSF 1.2

Posted by Ramiro Pereira de Magalhaes <rp...@yahoo.com.br>.
Ganesh,

I downgraded my maven to version 2.0.9 but I still can't have my changes 
compiled. I'm trying to change the 
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils 
class and package it with maven. This class is located in my 
<WORKSPACE_ROOT>/core/target/shared_sources/org/apache/myfaces/shared_tomahawk/renderkit/html 
folder. I am changing the correct file? I mean, this one is under a 
"target" folder, and I could not locate anywhere else this class.

RPM



Ganesh wrote:
> Hi Ramiro,
>
> Please try downgrading maven to 2.0.9. It's either the 
> build-helper-maven-plugin or myfaces-builder-plugin that isn't 
> compatible with maven 2.1
>
> Best regards,
> Ganesh
>
>
> Ramiro Pereira de Magalhaes schrieb:
>> Guys,
>>
>> I checked out Tomahawk (for JSF 1.2) from Subversion 
>> (http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk) to make some 
>> changes in the code and make an internal distribution of it to my 
>> company, since I have to comply with an internal policy that says 
>> that all applications must render XHTML 1.0 Transitional pages. I 
>> made some changes but when I run "mvn install" some plugin causes my 
>> modifications to be ignored. How can I create a customized Tomahawk 
>> package with maven?
>>
>> RPM
>>
>

Re: Problems compiling a modified version Tomahawk for JSF 1.2

Posted by Ganesh <ga...@j4fry.org>.
Hi Ramiro,

Please try downgrading maven to 2.0.9. It's either the 
build-helper-maven-plugin or myfaces-builder-plugin that isn't 
compatible with maven 2.1

Best regards,
Ganesh


Ramiro Pereira de Magalhaes schrieb:
> Guys,
>
> I checked out Tomahawk (for JSF 1.2) from Subversion 
> (http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk) to make some 
> changes in the code and make an internal distribution of it to my 
> company, since I have to comply with an internal policy that says that 
> all applications must render XHTML 1.0 Transitional pages. I made some 
> changes but when I run "mvn install" some plugin causes my 
> modifications to be ignored. How can I create a customized Tomahawk 
> package with maven?
>
> RPM
>