You can refer to /framework/webapp/build.xml file.
<patternset id="src.exc.set">
<!-- JasperReports dependent files -->
<exclude
name="org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java"/>
<exclude
name="org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java"/>
<exclude
name="org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java"/>
<exclude
name="org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java"/>
<!-- JPublish/EdenLib dependent files -->
<exclude name="org/ofbiz/webapp/view/GenericViewRenderer.java"/>
<exclude name="org/ofbiz/webapp/view/JPublishViewHandler.java"/>
<exclude name="org/ofbiz/webapp/view/JPublishWrapper.java"/>
<exclude name="org/ofbiz/webapp/view/FopPdfViewHandler.java"/>
<exclude name="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java"/>
<exclude name="org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java"/>
</patternset>
You can compile JPublishWrapper.java, by removing it from <exclude/>,
but that would again have dependencies on some more java files to be
compiled, & packages to be included. For more information you can go
through the error log.
Thanks & Regards,
--
Ashish Nagar
Ashish Nagar wrote:
Hello Nachi,
I think the JPublishWrapper.java is not getting compiled, so the
symbol JPublishWrapper is undefined. I found that after running ant
command this file is not compiled.
Thanks & Regards,
--
Ashish Nagar
nachi19 wrote:
Hi,
I am integrating the world pay with the ofbiz application at the
time of
compiling i am getting these errors regarding the JPublishWrapper...
Compiling 29 source files to
E:\pradeep\ofbiz-trunk\applications\accounting\build\classes
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62:
cannot find symbol
symbol : class JPublishWrapper
location: class
org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
protected JPublishWrapper jp = null;
^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77:
cannot find symbol
symbol : class JPublishWrapper
location: class
org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
this.jp = (JPublishWrapper)
context.getAttribute("jpublishWrapper");
^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79:
cannot find symbol
symbol : class JPublishWrapper
location: class
org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
this.jp = new JPublishWrapper(context);
^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225:
cannot find symbol
symbol : variable UtilValidate
location: class
org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
if (UtilValidate.isNotEmpty(paymentPrefs)) {
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
Can anyone tell me where is the problem...