Hi Sanika, I'm not sure what you are asking for, but anyway:
- You can find the PRDB source code at sandbox: sandbox/src/org/springframework/web/bind/PortletRequestDataBinder.java
The build script of Spring doesn't have the needed tasks to package the Portlet MVC in its own jar file. We have added those tasks to our local copy, I have pasted them below.
Code:
<!--
- TARGETS FOR PORTLET MVC RELEASE GENERATION
-->
<target name="portlet.jar" depends="sandbox.build,initdist"
description="Create jar with Portlet MVC classes only">
<delete file="${dist.dir}/spring-portletmvc.jar"/>
<jar jarfile="${dist.dir}/spring-portletmvc.jar">
<fileset dir="${sandbox.target.classes.dir}">
<include name="META-INF/**"/>
<include name="org/springframework/web/portlet/**"/>
</fileset>
<manifest>
<attribute name="Implementation-Title" value="${spring-webflow-title}"/>
<attribute name="Implementation-Version" value="${spring-version}"/>
<attribute name="Spring-Version" value="${spring-version}"/>
</manifest>
</jar>
</target>
<target name="portlet.support.jar" depends="sandbox.build,initdist"
description="Create jar with Portlet MVC support classes">
<delete file="${dist.dir}/spring-portletmvc-support.jar"/>
<jar jarfile="${dist.dir}/spring-portletmvc-support.jar">
<fileset dir="${sandbox.target.classes.dir}">
<include name="META-INF/**"/>
<include name="org/springframework/web/bind/**"/>
<include name="org/springframework/web/multipart/**"/>
</fileset>
<manifest>
<attribute name="Implementation-Title" value="${spring-webflow-title}"/>
<attribute name="Implementation-Version" value="${spring-version}"/>
<attribute name="Spring-Version" value="${spring-version}"/>
</manifest>
</jar>
</target>