[ 
https://issues.apache.org/struts/browse/WW-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46322#action_46322
 ] 

Wes Wannemacher commented on WW-3138:
-------------------------------------

Well, it's actually quite easy, you checkout the source from svn... If you have 
a command line svn client, you do - 

svn checkout http://svn.apache.org/repos/asf/struts/struts2/trunk struts2

That will pull everything down into a folder called 'struts2' 

Then, you go down into the source files you want and make your changes - 

notepad struts2/core/src/main/java/org/apache/struts2/... 

(Optional) Use maven to build and run unit tests - 

mvn clean install -Pall -DskipAssembly 

If you're happy, you can ask svn to generate the patch - 

svn diff . > /tmp/patchFile.patch

Then, you just take /tmp/patchFile.patch and upload it here.

Of course, you may not want to do it all on the command line, so you will have 
to lookup the specifics for making svn and mvn work in your IDE of choice. 

> DWRValidator not working
> ------------------------
>
>                 Key: WW-3138
>                 URL: https://issues.apache.org/struts/browse/WW-3138
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.6
>         Environment: Struts2.1.6, tested on Tomcat 6 and WAS 6.1
>            Reporter: J Alex
>             Fix For: 2.1.7
>
>
> There are 2 issues , first the DWR validator is not functional  - i.e it 
> fails with a NPE when creating the action proxy.
> ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, 
> mapping.getName(), mapping.getMethod(), true, true);
> This can be resolved by using : 
> ActionProxy proxy = actionProxyFactory.createActionProxy(namespace, 
> mapping.getName(), mapping.getMethod(), ctx); 
> instead.
> Second, the mapping.getMethod() in the above call returns null; shouldn't it 
> be the "method" attribute specified in Action Mapping? 
> Discussion on this issue is at 
> http://www.nabble.com/DWRValidator-not-working-in-Struts-2.1.6-to23215316.html#a23215316

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to