I am in the showcase example distributed in the SmartGWT 12.0p release dated 2018-11-30. In the samples/showcase/build.xml file.
I realize that this directive is probably the same in all releases. The build.xml contains:
<target name="libs" description="Copy libs to WEB-INF/lib">
<mkdir dir="war/WEB-INF/lib" />
<!-- Add any additional server libs that need to be copied -->
<copy todir="war/WEB-INF/lib">
<fileset dir="${basedir}/../../lib" includes="**/*.jar">
<exclude name="smartgwt*.jar"/>
<exclude name="asm-3.1.jar"/>
</fileset>
</copy>
Why is asm-3.1.jar excluded from the copy, and should we duplicate this removal in our project lib .jar copies? Why not exclude it from the distribution/zip file?
Are smartgwt*.jar are excluded because they are derived from the gwt2.8.2 Google distribution?
The background to these questions is that I'm having a hard time compiling the sources in Eclipse for debug, whereas our build and deploy ant script seems to work just finde, and I suspect that it is a difference between the Eclipse BuildPath libs for the project and what the ant deploy script is doing.
I realize that this directive is probably the same in all releases. The build.xml contains:
<target name="libs" description="Copy libs to WEB-INF/lib">
<mkdir dir="war/WEB-INF/lib" />
<!-- Add any additional server libs that need to be copied -->
<copy todir="war/WEB-INF/lib">
<fileset dir="${basedir}/../../lib" includes="**/*.jar">
<exclude name="smartgwt*.jar"/>
<exclude name="asm-3.1.jar"/>
</fileset>
</copy>
Why is asm-3.1.jar excluded from the copy, and should we duplicate this removal in our project lib .jar copies? Why not exclude it from the distribution/zip file?
Are smartgwt*.jar are excluded because they are derived from the gwt2.8.2 Google distribution?
The background to these questions is that I'm having a hard time compiling the sources in Eclipse for debug, whereas our build and deploy ant script seems to work just finde, and I suspect that it is a difference between the Eclipse BuildPath libs for the project and what the ant deploy script is doing.
Comment